Comment 7 for bug 45786

Revision history for this message
Ambimom (ambimom-yahoo) 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

Someone in the forums shared this with me and it seems to fix the problem:

Locate the module names of your sound cards with:

less /proc/asound/modules

mine was:

0 snd_emu10k1
1 snd_ice1712

In /etc/modprobe.d/alsa-base replace:

install sound-slot-0 modprobe snd-card-0
install sound-slot-1 modprobe snd-card-1

with:

install sound-slot-0 modprobe snd_ice1712
install sound-slot-1 modprobe snd_emu10k1

or the other way depending on which card you want as the default (sound-slot-0)