You are Here:
Download Linux Lite 5.6 Final today - See Release Announcements



X Close Ad
X Close Ad
Reboot needed to restore USB audio

Author (Read 6001 times)

0 Members and 2 Guests are viewing this topic.

Reboot needed to restore USB audio
« on: December 31, 2020, 10:52:41 AM »
 

oldwood

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
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
« Reply #1 on: December 31, 2020, 04:23:01 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8136
    Posts
  • Country: nz
  • Reputation: 759
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.6 64bit

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
 

Re: Reboot needed to restore USB audio
« Reply #2 on: December 31, 2020, 06:32:14 PM »
 

oldwood

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
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
« Reply #3 on: January 02, 2021, 08:23:51 AM »
 

oldwood

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
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
« Reply #4 on: January 04, 2021, 07:40:21 AM »
 

TheDead

  • Gold Level Poster
  • *******
  • 914
    Posts
  • Country: ca
  • Reputation: 79
  • Linux Lite Worshipper
    • My OpenDesktop Projects

  • Linux Lite: 4.8 64bit

  • CPU: HAL9000

  • MEMORY: 2Gb

  • VIDEO CARD: Quantum State VR v.3

  • Kernel: 4.x
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! ;)
Last Edit: January 05, 2021, 07:36:30 AM by TheDead
- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
 

Re: Reboot needed to restore USB audio
« Reply #5 on: January 04, 2021, 09:31:42 AM »
 

oldwood

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
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
« Reply #6 on: January 05, 2021, 09:40:16 AM »
 

oldwood

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
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! ;)

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
« Reply #7 on: January 07, 2021, 09:51:25 AM »
 

oldwood

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
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
« Reply #8 on: January 08, 2021, 09:01:30 AM »
 

TheDead

  • Gold Level Poster
  • *******
  • 914
    Posts
  • Country: ca
  • Reputation: 79
  • Linux Lite Worshipper
    • My OpenDesktop Projects

  • Linux Lite: 4.8 64bit

  • CPU: HAL9000

  • MEMORY: 2Gb

  • VIDEO CARD: Quantum State VR v.3

  • Kernel: 4.x
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.
 

Re: Reboot needed to restore USB audio
« Reply #9 on: January 09, 2021, 08:33:58 AM »
 

oldwood

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
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
 

Re: Reboot needed to restore USB audio
« Reply #10 on: January 10, 2021, 09:24:44 AM »
 

oldwood

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
While that did not work! when I resume from suspend there is no connection to the USB DAC and it is hard to get it back, so no change.

I might need to give up and just use a different DAC.

Gerry

 

Re: Reboot needed to restore USB audio
« Reply #11 on: January 11, 2021, 09:06:52 AM »
 

TheDead

  • Gold Level Poster
  • *******
  • 914
    Posts
  • Country: ca
  • Reputation: 79
  • Linux Lite Worshipper
    • My OpenDesktop Projects

  • Linux Lite: 4.8 64bit

  • CPU: HAL9000

  • MEMORY: 2Gb

  • VIDEO CARD: Quantum State VR v.3

  • Kernel: 4.x
Maybe unpluging the DAC before going in suspend?
Not really a solution but... it's better than buyng a horseshoe and a four-leaf clover. ;)
- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
 

Re: Reboot needed to restore USB audio
« Reply #12 on: January 11, 2021, 04:28:21 PM »
 

Jacob Pertou

  • KoFi Supporter
  • New to Forums
  • *****
  • 28
    Posts
  • Country: 00
  • Reputation: 1

  • Linux Lite: 5.4 64bit

  • CPU: Intel Core i7-8565U

  • MEMORY: 16Gb

  • VIDEO CARD: Mesa Intel UHD Graphics 620 (WHL GT2)

  • Kernel: 5.x
I might need to give up and just use a different DAC.

I use the ifi Audio nano iOne DAC. It performs really well in Linux Lite, but I do not recommend it for Windows.
 

Re: Reboot needed to restore USB audio
« Reply #13 on: January 12, 2021, 12:57:22 PM »
 

oldwood

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
Maybe unpluging the DAC before going in suspend?
Not really a solution but... it's better than buyng a horseshoe and a four-leaf clover. ;)

We stream a radio station and like to listen at night while drifting off to sleep. The amp and the laptop are set to sleep but the Amp/DAC goes to sleep before the laptop. The amp triggers the DAC to shutdown so the OS sees it drop out and this is probably why I need to reboot to get it back.

Tonight I am going to unplug the trigger so the DAC will not shut off when the amp shuts off. Not a great solution but I think the power usage is pretty low.

If this works I could set it up so the Amp/DAC go down after the laptop and that should work?

Thanks for the help.

 

Re: Reboot needed to restore USB audio
« Reply #14 on: January 12, 2021, 04:47:39 PM »
 

oldwood

  • New to Forums
  • *
  • 15
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
I might need to give up and just use a different DAC.

I use the ifi Audio nano iOne DAC. It performs really well in Linux Lite, but I do not recommend it for Windows.

Hi Jacob,

I will give it a look. No worries about windows I switched all my systems to Linux and have no intention of ever going back ;)

Thanks,
Gerry
 


Tags:
 

X Close Ad
X Close Ad

Download Linux Lite 5.6 Final today - See Release Announcements