C-NET :: PROJECTS

cat switching-alsa-sound-cards-around.md

Switching alsa sound cards around

Posted
Updated
Filed under
Linux · Reference

Short reference on switching around alsa sound cards, making another one the default. Needed to do this since my computer has 3 sound cards (M-Audio, SoundBlaster and the G35 headset)

List alsa modules:

cat /proc/asound/modules
0 snd_ice1724
1 snd_ctxfi
2 snd_usb_audio
bash

Edit /etc/modprobe.d/alsa-base.conf, adding the following lines (note the underscores from above are now dashes):

options snd-ctxfi index=-2
options snd-usb-audio index=-2
options snd-ice1724 index=-1
text

Done. If you're reading this, and you're not me, customize the above to match your settings, and the priorities you want for your modules.

Comments