From owner-freebsd-multimedia@FreeBSD.ORG Thu Jan 3 19:48:10 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EF2316A46C for ; Thu, 3 Jan 2008 19:48:10 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 0162613C459 for ; Thu, 3 Jan 2008 19:48:09 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 90217 invoked by uid 2001); 3 Jan 2008 19:21:28 -0000 Date: Thu, 3 Jan 2008 13:21:28 -0600 From: "Rick C. Petty" To: Jouke Witteveen Message-ID: <20080103192128.GA90170@keira.kiwi-computer.com> References: <3993a4980801020535h4ef4d3ebr461892baa4e39082@mail.gmail.com> <200801031837.m03IbBrd005387@fire.js.berklix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200801031837.m03IbBrd005387@fire.js.berklix.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@freebsd.org Subject: Re: Mixer default values not restored X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 19:48:10 -0000 "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