From owner-freebsd-current@FreeBSD.ORG Wed Mar 10 14:33:11 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 763FC16A4CE for ; Wed, 10 Mar 2004 14:33:11 -0800 (PST) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D75A43D41 for ; Wed, 10 Mar 2004 14:33:11 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 2105 invoked from network); 10 Mar 2004 22:33:10 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 10 Mar 2004 22:33:10 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i2AMWt2C031666; Wed, 10 Mar 2004 17:33:06 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Mathew Kanner Date: Wed, 10 Mar 2004 17:31:15 -0500 User-Agent: KMail/1.6 References: <200403101329.59106.jhb@FreeBSD.org> <20040310185750.GC20090@cnd.mcgill.ca> In-Reply-To: <20040310185750.GC20090@cnd.mcgill.ca> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403101731.15772.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: current@freebsd.org Subject: Re: /etc/rc.d/mixer script for review.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 22:33:11 -0000 On Wednesday 10 March 2004 01:57 pm, Mathew Kanner wrote: > On Mar 10, John Baldwin wrote: > > The default volume levels on my laptop (75:75) are rather loud when using > > headphones, and I found myself constantly having to pop up a terminal > > window to run mixer before listening to mp3's, etc. So, during a fit of > > boredom, I wrote a simple mixer rc.d script that adjusts mixer values > > based on an optional /etc/mixer.conf. It only works with /dev/mixer > > though and doesn't support multiple sound cards, mostly because I > > couldn't think of a sane but simple syntax for mixer.conf. The script > > and a sample mixer.conf are below. I'm not sure where to send this for > > review (moving the rc list to @FreeBSD.org would be helpful perhaps) so > > I'm splatting it here. > > ports/sysutils/mixer Then why not stick that in the base system and convert it to rc.d? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org