You are not logged in.

#1 2017-03-18 03:09:06

devux
Member
Registered: 2017-03-17
Posts: 5

[SOLVED] ALSA how to set my default sound card to usb?

So I tried the whole

> cat /etc/modprobe.d/alsa-base.conf 
options snd_hda_intel index=1
options snd_hda_intel index=2
options snd_usb_audio index=0

Rebooted, this did absolutely nothing, well actually it did. it removed my usb audio...

So then I looked at

 cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xdf080000 irq 17
 2 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xdf320000 irq 321

here i notice, my usb isn't even showing up. I ran:

cat /proc/asound/modules
 0 snd_hda_intel
 2 snd_hda_intel

it wasn't there either.

Before messing with this I ran alsamixer and hit F6 and I could select it. Now it is not showing up, and my sound doesn't work.  How can I fix this?


[EDIT]
I edited the alsa-base.conf to

options snd slots=snd-usb-audio,snd-hda-intel,snd-hda-intel

and that seemed to fix it.

Last edited by devux (2017-03-18 04:55:10)

Offline

#2 2017-03-18 11:08:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: [SOLVED] ALSA how to set my default sound card to usb?

Just for some closure, your original method would work as well, but you can't pass multiple option lines to the same module, it would have to look like this

options snd_hda_intel index=1,2
options snd_usb_audio index=0

(in a similar vein adding the snd-hda-intel module twice to the slots definition should also not be needed.

Offline

Board footer

Powered by FluxBB