From owner-freebsd-current@FreeBSD.ORG Wed Mar 10 10:54:58 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 1A45216A4CE; Wed, 10 Mar 2004 10:54:58 -0800 (PST) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0FDA43D1D; Wed, 10 Mar 2004 10:54:55 -0800 (PST) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id i2AIvoK0030476; Wed, 10 Mar 2004 13:57:50 -0500 (EST) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id i2AIvoLl030475; Wed, 10 Mar 2004 13:57:50 -0500 (EST) Date: Wed, 10 Mar 2004 13:57:50 -0500 From: Mathew Kanner To: John Baldwin Message-ID: <20040310185750.GC20090@cnd.mcgill.ca> References: <200403101329.59106.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403101329.59106.jhb@FreeBSD.org> User-Agent: Mutt/1.4.1i Organization: I speak for myself, operating in Montreal, CANADA X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.62 X-Spam-Checker-Version: SpamAssassin 2.62 (2004-01-11) on hak.cnd.mcgill.ca 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 18:54:58 -0000 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 --Mat -- The state has no business in the bedrooms of the nation. - Pierre Elliott Trudeau