Linux Lite Forums
Reboot needed to restore USB audio - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Sound (https://www.linuxliteos.com/forums/forumdisplay.php?fid=23)
+--- Thread: Reboot needed to restore USB audio (/showthread.php?tid=7551)

Pages: 1 2


Reboot needed to restore USB audio - oldwood - 12-31-2020

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


Re: Reboot needed to restore USB audio - Valtam - 12-31-2020

Try 3rd post - https://ubuntuforums.org/archive/index.php/t-764576.html


Re: Reboot needed to restore USB audio - oldwood - 12-31-2020

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


Re: Reboot needed to restore USB audio - oldwood - 01-02-2021

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.


Re: Reboot needed to restore USB audio - TheDead - 01-04-2021

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


Re: Reboot needed to restore USB audio - oldwood - 01-04-2021

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


Re: Reboot needed to restore USB audio - oldwood - 01-05-2021

[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?



Re: Reboot needed to restore USB audio - oldwood - 01-07-2021

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


Re: Reboot needed to restore USB audio - TheDead - 01-08-2021

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.


Re: Reboot needed to restore USB audio - oldwood - 01-09-2021

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/17/disable-usb-auto-suspend-in-ubuntu-debian/

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

Thanks guys for your suggestions.

Gerry