Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2007 18:18:23 -0300
From:      "Harry Doyle" <harry@locals.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: mixer levels on boot
Message-ID:  <950c85d80709181418qce86478ya5f00d3f9ddebd8b@mail.gmail.com>
In-Reply-To: <200709181647.41133.fbsd.questions@rachie.is-a-geek.net>
References:  <950c85d80709171222o596ef293p75a793d87b45f38b@mail.gmail.com> <46EEE1E2.7080106@xxiii.com> <200709181647.41133.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
hi guys,
i've tried a couple suggestions, but nothing is working for me. here is a
few things from the console that might be helpful. no xwindows on this
machine, it's just a base freebsd network install with  only the necessary
packages installed to do the audio stuff it needs to do.

radio# mixer
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to   0:0
Mixer speaker  is currently set to  75:75
Mixer mic      is currently set to   0:0
Mixer cd       is currently set to  75:75
Mixer rec      is currently set to   7:7
Recording source: mic

radio# uname -a
FreeBSD radio 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC
2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386

when i issue /etc/rc.d/mixer stop then reboot, the mixer shows set to 7:7,
but then  it still clips like it does on 90. then i set mixer to 7 and it
says setting mixer fro 90 to  7.

i am thinking that /etc/rc.d/mixer gets invoked before kldload loads the
driver because both dmesg and mixer tell me there is no mixer device till
the machine is up for around 2 minutes. maybe i will try the hda enable in
rc.conf, but it doesn't seem ac97 on unix is as well supported as the
windows drivers so i need the particular driver i downloaded (i might be
wrong).

cheers,
harry



On 9/18/07, Mel < fbsd.questions@rachie.is-a-geek.net> wrote:
>
> 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
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



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