Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2007 16:47:40 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: mixer levels on boot
Message-ID:  <200709181647.41133.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <46EEE1E2.7080106@xxiii.com>
References:  <950c85d80709171222o596ef293p75a793d87b45f38b@mail.gmail.com> <46EEE1E2.7080106@xxiii.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 17 September 2007 22:21:54 Rob wrote:
> Harry Doyle wrote:
> > however whenever i reboot the machine the mixer command always shows the
> > default level of 90 which clips pretty hard.
>
> My 6.2 system saves and restores the mixer settings across boots. 
> Apparently in the file /var/db/mixer0-state   However, the file is root
> owned and 644;  perhaps if you create the  file and chmod it writable, your
> settings will stick?

Nope. These are saved by /etc/rc.d/mixer. Adjust the mixer under root account 
to your desired values and call `/etc/rc.d/mixer stop'. This will save the 
state. Reboot to test.

If this doesn't work, then somehow, the mixer is set to different values 
during shutdown and before /etc/rc.d/mixer is called and that's tricky to 
find out -but a desktop mixer like kmix can be the cause of that if you're 
running a desktop environment via xdm/kdm/gdm.
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709181647.41133.fbsd.questions>