Relative Linux newb here. Been trying to figure this problem out. Not really finding anything that has been able to help me resolve this issue.
The problem: I have a USB DAC that is not being recognized when booting up the OS. After boot up, I have to unplug the DAC and plug it back in and everything works perfectly fine. I also have an other issue, that after a certain period of time <30 minutes, if audio has been idle then the DAC is becoming uninstalled? I have to unplug and re-plug it in to get it working again.
This is various diag outputs before I unplug and re-plug the DAC.
[odin@valhalla ~]$ uname -r
5.6.15-arch1-1
[odin@valhalla ~]$ aplay -L | grep :CARD
default:CARD=PCH
sysdefault:CARD=PCH
front:CARD=PCH,DEV=0
surround21:CARD=PCH,DEV=0
surround40:CARD=PCH,DEV=0
surround41:CARD=PCH,DEV=0
surround50:CARD=PCH,DEV=0
surround51:CARD=PCH,DEV=0
surround71:CARD=PCH,DEV=0
usbstream:CARD=PCH
hdmi:CARD=NVidia,DEV=0
hdmi:CARD=NVidia,DEV=1
hdmi:CARD=NVidia,DEV=2
hdmi:CARD=NVidia,DEV=3
hdmi:CARD=NVidia,DEV=4
hdmi:CARD=NVidia,DEV=5
hdmi:CARD=NVidia,DEV=6
usbstream:CARD=NVidia
default:CARD=v2
sysdefault:CARD=v2
front:CARD=v2,DEV=0
surround21:CARD=v2,DEV=0
surround40:CARD=v2,DEV=0
surround41:CARD=v2,DEV=0
surround50:CARD=v2,DEV=0
surround51:CARD=v2,DEV=0
surround71:CARD=v2,DEV=0
iec958:CARD=v2,DEV=0
usbstream:CARD=v2
[odin@valhalla ~]$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7210000 irq 31
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
3 [v2 ]: USB-Audio - RODE Podcaster v2
RODE Podcaster v2 at usb-0000:00:14.0-10, full speed
[odin@valhalla ~]$ lsmod | grep snd
snd_usb_audio 299008 4
snd_usbmidi_lib 40960 1 snd_usb_audio
snd_rawmidi 45056 1 snd_usbmidi_lib
snd_seq_device 16384 1 snd_rawmidi
mc 61440 5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_hda_codec_realtek 135168 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_codec_hdmi 73728 1
snd_hda_intel 57344 5
snd_intel_dspcfg 28672 1 snd_hda_intel
snd_hda_codec 167936 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 106496 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
snd_pcm 147456 8 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer 45056 1 snd_pcm
snd 114688 27 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
soundcore 16384 1 snd
And this is what those same commands look like after unplug/re-plug of the DAC
[odin@valhalla ~]$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7210000 irq 31
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
2 [SDAC ]: USB-Audio - SDAC
Grace Design SDAC at usb-0000:00:14.0-9, full speed
3 [v2 ]: USB-Audio - RODE Podcaster v2
RODE Podcaster v2 at usb-0000:00:14.0-10, full speed
[odin@valhalla ~]$ aplay -L | grep :CARD
default:CARD=PCH
sysdefault:CARD=PCH
front:CARD=PCH,DEV=0
surround21:CARD=PCH,DEV=0
surround40:CARD=PCH,DEV=0
surround41:CARD=PCH,DEV=0
surround50:CARD=PCH,DEV=0
surround51:CARD=PCH,DEV=0
surround71:CARD=PCH,DEV=0
usbstream:CARD=PCH
hdmi:CARD=NVidia,DEV=0
hdmi:CARD=NVidia,DEV=1
hdmi:CARD=NVidia,DEV=2
hdmi:CARD=NVidia,DEV=3
hdmi:CARD=NVidia,DEV=4
hdmi:CARD=NVidia,DEV=5
hdmi:CARD=NVidia,DEV=6
usbstream:CARD=NVidia
default:CARD=SDAC
sysdefault:CARD=SDAC
front:CARD=SDAC,DEV=0
surround21:CARD=SDAC,DEV=0
surround40:CARD=SDAC,DEV=0
surround41:CARD=SDAC,DEV=0
surround50:CARD=SDAC,DEV=0
surround51:CARD=SDAC,DEV=0
surround71:CARD=SDAC,DEV=0
iec958:CARD=SDAC,DEV=0
usbstream:CARD=SDAC
default:CARD=v2
sysdefault:CARD=v2
front:CARD=v2,DEV=0
surround21:CARD=v2,DEV=0
surround40:CARD=v2,DEV=0
surround41:CARD=v2,DEV=0
surround50:CARD=v2,DEV=0
surround51:CARD=v2,DEV=0
surround71:CARD=v2,DEV=0
iec958:CARD=v2,DEV=0
usbstream:CARD=v2
Looking forward to getting some help resolving this. Trying to complete my transition from using windows for the majority of my work.