From owner-freebsd-current@FreeBSD.ORG Tue Aug 5 10:25:14 2003 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 61BF537B401 for ; Tue, 5 Aug 2003 10:25:14 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 12A6C43F3F for ; Tue, 5 Aug 2003 10:25:13 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 27906 invoked by uid 65534); 5 Aug 2003 17:25:11 -0000 Received: from dsl-cust-145.openweb.ca (EHLO [64.39.186.145]) (64.39.186.145) by mail.gmx.net (mp027) with SMTP; 05 Aug 2003 19:25:11 +0200 From: Adam To: Mathew Kanner In-Reply-To: <20030805171706.GC34329@cnd.mcgill.ca> References: <1060103212.565.11.camel@jake> <20030805171706.GC34329@cnd.mcgill.ca> Content-Type: text/plain Message-Id: <1060104307.565.13.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Tue, 05 Aug 2003 13:25:07 -0400 Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Specifying default alternate sound device? 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: Tue, 05 Aug 2003 17:25:14 -0000 On Tue, 2003-08-05 at 13:17, Mathew Kanner wrote: > With devfs, the default sound unit is tunable by a sysctl. > > tube# sysctl hw.snd.unit=0 ; ls -l dsp dsp0.0 dsp1.0 ; sysctl hw.snd.unit=1 ; ls -l dsp dsp0.0 dsp1.0 > hw.snd.unit: 1 -> 0 > crw-rw-rw- 1 root wheel 30, 3 Aug 5 11:24 dsp > crw-rw-rw- 1 root wheel 30, 3 Aug 5 11:24 dsp0.0 > crw-rw-rw- 1 root wheel 30, 19 Aug 5 11:24 dsp1.0 > hw.snd.unit: 0 -> 1 > crw-rw-rw- 1 root wheel 30, 19 Aug 5 11:24 dsp > crw-rw-rw- 1 root wheel 30, 3 Aug 5 11:24 dsp0.0 > crw-rw-rw- 1 root wheel 30, 19 Aug 5 11:24 dsp1.0 Thanks! Is there a similar trick for specifying mixer1 instead of the default mixer? -Adam