Comment 2 for bug 45786

Revision history for this message
Nespa (nespa) wrote : Re: default sound card is randomly set on boot, settting default sound card through gnome-sound-properties did not work correctly, changing volume through hotkeys (on logitech multimedia keyboard) is bind with card0, not with default card

I've pinned the index of sound devices down in /etc/modprobe.b/alsa-base by adding something like:

options snd-usb-audio index=0
options snd_intel8x0 index=1
options snd-mpu401 index=2

and running sudo update-modules
This allows for /etc/asound.conf to use a fixed index number ( index as found in /proc/asound/cards ).