From owner-freebsd-stable@FreeBSD.ORG Thu Oct 14 17:40:27 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0926016A4D7 for ; Thu, 14 Oct 2004 17:40:27 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56E4E43D3F for ; Thu, 14 Oct 2004 17:40:24 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 5BCBB72DD4; Thu, 14 Oct 2004 10:40:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 568A672DCB; Thu, 14 Oct 2004 10:40:24 -0700 (PDT) Date: Thu, 14 Oct 2004 10:40:24 -0700 (PDT) From: Doug White To: Daniel O'Connor In-Reply-To: <200410140937.33044.doconnor@gsoft.com.au> Message-ID: <20041014103844.B62841@carver.gumbysoft.com> References: <51977.213.112.198.199.1097594508.squirrel@mail.hackunite.net> <50689.213.112.198.199.1097681441.squirrel@mail.hackunite.net> <200410140937.33044.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Jesper Wallin cc: freebsd-stable@freebsd.org Subject: Re: How do I change so pcm1 is pcm0 and vice versa? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 17:40:27 -0000 On Thu, 14 Oct 2004, Daniel O'Connor wrote: > If you're running 5.x you can set the sysctl hw.snd.unit. > If you're running 4.x you can do > cd /dev > sh ./MAKEDEV snd0 > sh ./MAKEDEV snd1 To explain what happens here in the 4.x case ... The /dev/audio and /dev/dsp symlinks get pointed to the last device created. So when running MAKEDEV in this order snd0/pcm0's devices get made first and the symlinks pointed to them, then snd1/pcm1's devices get created and the symlinks repointed to snd1's devices. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org