From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-user+bounces-55410-garchives=archives.gentoo.org@gentoo.org>)
	id 1GovgU-0003lW-2i
	for garchives@archives.gentoo.org; Tue, 28 Nov 2006 05:39:10 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAS5av7M003617;
	Tue, 28 Nov 2006 05:36:57 GMT
Received: from iabervon.org (iabervon.org [66.92.72.58])
	by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAS5YqqY010223
	for <gentoo-user@lists.gentoo.org>; Tue, 28 Nov 2006 05:34:52 GMT
Received: (qmail 12828 invoked by uid 1000); 28 Nov 2006 00:34:51 -0500
Received: from localhost (sendmail-bs@127.0.0.1)
  by localhost with SMTP; 28 Nov 2006 00:34:51 -0500
Date: Tue, 28 Nov 2006 00:34:50 -0500 (EST)
From: Daniel Barkalow <barkalow@iabervon.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] udev 103, alsa dual soundcard problem
In-Reply-To: <456B5EC7.4060105@xs4all.nl>
Message-ID: <Pine.LNX.4.64.0611280011390.20138@iabervon.org>
References: <456B5EC7.4060105@xs4all.nl>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Archives-Salt: 129037b8-0232-4e38-a3e7-ec6654388125
X-Archives-Hash: 4d63b3249507b0df4a94bb525c64351e

On Mon, 27 Nov 2006, Dave Jones wrote:

> Even worse is that udev seems to discover the sound cards in the reverse
> order to coldplug.  My Audigy card becomes /dev/dsp1 and the Intel card
> is /dev/dsp0.  

You should be able to force them to get the names you want with a couple 
of sufficiently specific udev rules. The whole point of udev is that this 
sort of policy is up to you, rather than being chosen by the system using 
black magic. Look at the manpage for udev and the rules in 
/etc/udev/rules.d/, and write rules for NAME="sound/dsp0" and 
NAME="sound/dsp1" which match the cards you want to have those names.

> Unfortunately,  Audacious, my music player of choice, doesn't seem to 
> offer any choice of which dsp to use.

Assuming you've emerged audacious-plugins the "alsa" USE flag, go to 
Audacious's preferences, Audio, and select "ALSA 1.2.2 output plugin" 
instead of "OSS Output Plugin", to actually use ALSA natively for it 
(which lets ALSA do software mixing, among other benefits).

In any case, under Audio, Output Plugin Preferences for either of these 
plugins will let you select a card arbitrarily.

	-Daniel
*This .sig left intentionally blank*
-- 
gentoo-user@gentoo.org mailing list