Andrew Farris (fedora(a)andrewfarris.com) said:
alias snd-card-0 snd_emu10k1
Fine...
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
Overkill; this is in modprobe.conf.dist.
install snd-card-0 /sbin/modprobe --ignore-install snd-card-0
&& \
{ /sbin/modprobe snd_emu10k1 && /usr/sbin/alsactl restore 0 > /dev/null\
2>&1 || :; }
You don't need to explicitly load snd_emu10k1 here.
remove snd-card-0 { /usr/sbin/alsactl store 0 > /dev/null
2>&1\
|| :; }; /sbin/modprobe -r snd_emu10k1 && /sbin/modprobe -r\
--ignore-remove snd-card-0
Simliarly, the extra remove here is superfluous.
Bill