Linux Lite A.I. Services are now live! https://www.linuxliteos.com/shop.html


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reboot needed to restore USB audio
#1
Hi everyone,

I am new to Linux Lite. I have it installed on a Asus laptop and I am using USB out to a Emotiva XDA-2 DAC for music. It works well but in the evening I turn off the DAC and  in the morning I need to reboot in order to get the OS to find the USB audio channel.

Is there a CMD I can use to re-scan for the USB audio output? I have tried re-plugging the USB cable but that does not work.

Any input is greatly appreciated.

Thanks
Reply
#2
Try 3rd post - https://ubuntuforums.org/archive/index.p...64576.html
Reply
#3
Thanks Jerry I stored the setting so I will try to restore in the morning and let you know how it works.

Happy New Year

Gerry
Reply
#4
I tried to restore the ALSA but it did not restore the USB DAC as a sound option.

I was able to replug the USB cable to the DAC and that did restore the option.

I would like to be able to restore without re-plugging just to prevent wear and tear on the cable and port.

I have attached the screenshot of the terminal. It is a png file so the ext needs changing.


Attached Files
.txt   Screenshot_2021-01-02_04-06-00.txt (Size: 141.08 KB / Downloads: 2,099)
Reply
#5
I have not checked if 5.x still uses pulseaudio and could be unrelated but just in case...

Before opening any apps, open a terminal and enter the command :

sudo pulseaudio --kill

Then check if the audio workz! Wink
- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
Reply
#6
I will give that a try. It is odd because sometimes I can re-plug the USB to the DAC and it pops up while other times it needs a reboot. I have tried turning the DAC off and back on but that does not do anything.

Thanks,
Gerry
Reply
#7
[quote author=TheDead link=topic=7887.msg54634#msg54634 date=1609764021]
I have not checked if 5.x still uses pulseaudio and could be unrelated but just in case...

Before opening any apps, open a terminal and enter the command :

sudo pulseaudio --kill

Then check if the audio workz! Wink

I gave this a try and get the response, failed to kill daemon: no such process.

In ALSAMIXER pulse audio is listed so maybe I am doing something wrong?
Reply
#8
So I am still trying to get the OS to see the Emotiva USB DAC on resume from sleep. Sometimes re-plugging works sometimes it does not, sometimes a re-boot works and sometimes it does not.

I tried alsactl restore and got a more informative output but it does not connect the DAC. I have attached the screenshot, it is a png file.

I have a Asus Xonar U7 mk2 DAC and it is found and is connected on resume from sleep but I would like to use the Emotiva DAC if possible. The Xonar USB is USB powered so maybe that is why it is seen and connected on resume?

I don't know what triggers the connection of the USB DAC or if I can force it to re-scan and connect.

Any and all suggestions are welcomed.

Thanks,
Gerry


Attached Files
.txt   alsa restore Screenshot_2021-01-07_06-41-47.txt (Size: 341.72 KB / Downloads: 2,093)
Reply
#9
Hi,

Your problem seems "deeper" than just the sound engine.
Maybe a Linux guru (or a web search?) could tell you how reset a linux "device" and not just the sound engine.

Maybe activating the "Plug and play" function in the BIOS? but that seems like a shot in the dark.
- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
Reply
#10
So I might have found a solution. I think the problem is related to USB auto suspend. I disabled auto suspend by following this guide.

https://ywjheart.wordpress.com/2018/07/1...tu-debian/

I will post back after a while when I know if it stays connected.

Thanks guys for your suggestions.

Gerry
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)