Date: Thu, 3 Jan 2008 13:21:28 -0600 From: "Rick C. Petty" <rick-freebsd@kiwi-computer.com> To: Jouke Witteveen <j.witteveen@gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: Mixer default values not restored Message-ID: <20080103192128.GA90170@keira.kiwi-computer.com> In-Reply-To: <200801031837.m03IbBrd005387@fire.js.berklix.net> References: <3993a4980801020535h4ef4d3ebr461892baa4e39082@mail.gmail.com> <200801031837.m03IbBrd005387@fire.js.berklix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080103192128.GA90170>