Mixer default values not restored
Rick C. Petty
rick-freebsd at kiwi-computer.com
Thu Jan 3 11:48:10 PST 2008
"Jouke Witteveen" wrote:
> Hello,
>
> I'm running FreeBSD 7.0 RC1 with the following in my kernel configuration:
> ---
> device sound
> device snd_emu10kx
> ---
> My soundcard is a Soundblaster Live!
>
> In trying to make the rear-channel volume default to "100" I added the
> following to my /boot/device.hints:
> ---
> hint.pcm.1.vol="100"
> hint.pcm.1.pcm="100"
> ---
> This method is suggested on page 164 (section 7.2.4) of the Handbook.
>
> The problem is that these mixer levels do not apply:
> ---
> $ mixer -f /dev/mixer1
> Mixer vol is currently set to 75:75
> Mixer pcm is currently set to 75:75
> ---
My guess is that the kernel sets those values while booting, but when
coming up multi-user, /etc/rc.d/mixer tries to reset them to the values at
the last shutdown time. Why don't you just add an rc.d script which fires
after mixer (by using a "# REQUIRE: mixer" line)??
-- Rick C. Petty
More information about the freebsd-multimedia
mailing list