Am Sa, den 03.07.2004 schrieb Hans Deragon um 14:53: > Upgraded RHL9 to FC2. One thing that bothers me is that the PCM setting of > the mixer is always at zero after a reboot. The volume control is restored > corectly, but not the PCM value. > > I noticed that /etc/init.d/halt runs 'alsactl store'. It works, because > when I run manually 'alsactl restore', PCM value is returned where I left it off. > > But nowhere do I find a 'alsactl restore' under /etc/init.d/*. Off course, > I could add a script, but that is not the point. I want to know how FC2 is > officially supposed to call 'alsactl restore'. In the /etc/modprobe.conf. > I defined the following in my /etc/modprobe.conf: > > --> > alias sound-slot-0 snd_emu10k1 > alias sound-slot-1 off > > install sound-slot-0 /sbin/modprobe sound-slot-0; /usr/sbin/alsactl restore > install sound-slot-* /sbin/modprobe snd-card-${MODPROBE_MODULE##sound[_-]slot[_-]} > <-- > > The last line was already there and I am not sure what it does. 'alsactl > restore' does not seam to work here. Following was put into my /etc/modprobe.conf by the system itself during fresh installation of FC2: alias snd-card-0 snd-emu10k1 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 And it is working as it should. > Best regards, > Hans Deragon Alexander -- Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435.2.1 Serendipity 15:16:30 up 1 day, 18:40, load average: 0.15, 0.32, 0.32
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil