From owner-freebsd-questions@FreeBSD.ORG Tue Sep 18 21:18:25 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F14B16A417 for ; Tue, 18 Sep 2007 21:18:25 +0000 (UTC) (envelope-from harrydoyle@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.231]) by mx1.freebsd.org (Postfix) with ESMTP id EF92113C442 for ; Tue, 18 Sep 2007 21:18:24 +0000 (UTC) (envelope-from harrydoyle@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1059171nzf for ; Tue, 18 Sep 2007 14:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=wIiWMUXRcGp1F7GpH4sRogm28qxCdHNEmlr01Q1Zw1g=; b=f6s8YDDw9EiiakQDuM8qcZSH2PCaiUcZViGQ5/IqVNz1XpiwrKmDBvEXGF5P6MXL3muLGp4ZQjyyjaLOZts0PGJZozDyXI2NIIgKk7mP6eFqk4eEXTSwnguZW8sG9EJeolJkVgTAVvX4kMCNp3VMBou98AHa22Jh01L/5sCIGsg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=G/50PD69pFLcPMahFHVcH9tH10Vfu8DIv/RacnnQbhZl4Mkajwb7XEuGHeGtRF3D+d77Ch/9hkgAm4Zk2z2ZisFy2b/tt4kM3F+fcqNkK4ZvOPASkkdh8s2xRwx4BTyI9R7/YbbZ7eU+Ughp8HvIbVEvBVzlffahBHcNee/h5LA= Received: by 10.114.199.1 with SMTP id w1mr1587813waf.1190150303331; Tue, 18 Sep 2007 14:18:23 -0700 (PDT) Received: by 10.114.136.10 with HTTP; Tue, 18 Sep 2007 14:18:23 -0700 (PDT) Message-ID: <950c85d80709181418qce86478ya5f00d3f9ddebd8b@mail.gmail.com> Date: Tue, 18 Sep 2007 18:18:23 -0300 From: "Harry Doyle" Sender: harrydoyle@gmail.com To: freebsd-questions@freebsd.org In-Reply-To: <200709181647.41133.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 References: <950c85d80709171222o596ef293p75a793d87b45f38b@mail.gmail.com> <46EEE1E2.7080106@xxiii.com> <200709181647.41133.fbsd.questions@rachie.is-a-geek.net> X-Google-Sender-Auth: a888434649a6c6db Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: mixer levels on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 21:18:25 -0000 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" >