PDA

View Full Version : Enable alsa soundcard always on


Finalzone
2004-04-13, 03:17 PM CDT
Each time I reboot, the sound is always muted. Unfortunately, FC2 mute the sound configuration each time I shut down the computer. How can I leave the alsa soundcard unmuted?

mars_hall
2004-04-13, 07:33 PM CDT
are you using core 2 test 1? or core 2 test 2?

Finalzone
2004-04-14, 12:39 AM CDT
FC2 Test 2. It also happened with Test 1. It could be a minor issue.

foolish
2004-04-14, 07:39 AM CDT
You have to set the volumes once, then as root do :

alsactl store


You have to run alsactl restore sometime during boot, one way is to have it run as soon as you load the modules. You can also tell alsactl to store the volumes when the modules are unloaded, so that the volume will always be like they were the last time you shut down your computer.

My example uses the snd-emu10k1 module, as I have a sblive card. Replace this with the name of your module. Which you can find in your /etc/modprobe.conf. But I'm sure you know this, you are using a test release after all.

Add this to /etc/modprobe.conf


install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-emu10k1



This should be in there already, I don't know why it isn't, as a tester it is your responsiblity to investigate and report issues like this.

Ug
2004-04-14, 09:23 AM CDT
Moved.

Finalzone
2004-04-14, 11:45 AM CDT
Here is the source code from /etc/modprobe.conf

nstall sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

Using aumix command, I found out the volume was minimal and muted. I set it to max and save it. Since then, the issue is solved. Thanks for the tip about /etc/modprobe.conf.