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-55411-garchives=archives.gentoo.org@gentoo.org>)
	id 1GowOX-0003CY-VS
	for garchives@archives.gentoo.org; Tue, 28 Nov 2006 06:24:42 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAS6MFlK023208;
	Tue, 28 Nov 2006 06:22:15 GMT
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173])
	by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAS6KEOG027453
	for <gentoo-user@lists.gentoo.org>; Tue, 28 Nov 2006 06:20:14 GMT
Received: by ug-out-1314.google.com with SMTP id z38so1380440ugc
        for <gentoo-user@lists.gentoo.org>; Mon, 27 Nov 2006 22:20:14 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
        b=WdAbBYinWjD3iofA26yrUkDv8H8OeNcQVEcaPTUwSpnHQ+prg4/91qtBbKUvEHD0Mu+dxPpM0V+F6Q3CHS+cElZcB4eZ7LJ7KAs0QIFS2y0fmBT993eIdMH4VCibnuqMrmA1Ai1v/bNAkcK9bbMm5jHNRdhfTQqRpT6xxfkMd1Y=
Received: by 10.66.239.18 with SMTP id m18mr884292ugh.1164694814038;
        Mon, 27 Nov 2006 22:20:14 -0800 (PST)
Received: by 10.67.23.17 with HTTP; Mon, 27 Nov 2006 22:20:13 -0800 (PST)
Message-ID: <f05c493b0611272220y68b7e415y54f652c4f3d12efc@mail.gmail.com>
Date: Tue, 28 Nov 2006 01:20:13 -0500
From: "Jason Weisberger" <jbdubbs@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] udev 103, alsa dual soundcard problem
In-Reply-To: <Pine.LNX.4.64.0611280011390.20138@iabervon.org>
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: multipart/alternative; 
	boundary="----=_Part_2094_3773635.1164694813978"
References: <456B5EC7.4060105@xs4all.nl>
	 <Pine.LNX.4.64.0611280011390.20138@iabervon.org>
X-Archives-Salt: 6e20ad9e-e6ee-429b-98e8-7b657e644b95
X-Archives-Hash: 68857bb28f4d8963ef2f3584c718e89f

------=_Part_2094_3773635.1164694813978
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Dave,

Alsasound init script does not require coldplug.  Remove coldplug, then
recompile your ALSA installation if it complains about it.  Don't forget to
etc-update or dispatch-conf to update the init scripts.  As far as them
loading in reverse order, see the gentoo-wiki for information on forcing
module loading with regard to multiple card setups:
http://gentoo-wiki.com/HOWTO_ALSA_Complete_%28includes_dmix%29#Post-Installation_Configuration

On 11/28/06, Daniel Barkalow <barkalow@iabervon.org> wrote:
>
> 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
>
>


-- 
Jason Weisberger
jbdubbs@gmail.com

------=_Part_2094_3773635.1164694813978
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Dave,<br><br>Alsasound init script does not require coldplug.&nbsp; Remove coldplug, then recompile your ALSA installation if it complains about it.&nbsp; Don't forget to etc-update or dispatch-conf to update the init scripts.&nbsp; As far as them loading in reverse order, see the gentoo-wiki for information on forcing module loading with regard to multiple card setups: 
<a href="http://gentoo-wiki.com/HOWTO_ALSA_Complete_%28includes_dmix%29#Post-Installation_Configuration">http://gentoo-wiki.com/HOWTO_ALSA_Complete_%28includes_dmix%29#Post-Installation_Configuration</a><br><br><div><span class="gmail_quote">
On 11/28/06, <b class="gmail_sendername">Daniel Barkalow</b> &lt;<a href="mailto:barkalow@iabervon.org">barkalow@iabervon.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 27 Nov 2006, Dave Jones wrote:<br><br>&gt; Even worse is that udev seems to discover the sound cards in the reverse<br>&gt; order to coldplug.&nbsp;&nbsp;My Audigy card becomes /dev/dsp1 and the Intel card<br>&gt; is /dev/dsp0.
<br><br>You should be able to force them to get the names you want with a couple<br>of sufficiently specific udev rules. The whole point of udev is that this<br>sort of policy is up to you, rather than being chosen by the system using
<br>black magic. Look at the manpage for udev and the rules in<br>/etc/udev/rules.d/, and write rules for NAME=&quot;sound/dsp0&quot; and<br>NAME=&quot;sound/dsp1&quot; which match the cards you want to have those names.<br>
<br>&gt; Unfortunately,&nbsp;&nbsp;Audacious, my music player of choice, doesn't seem to<br>&gt; offer any choice of which dsp to use.<br><br>Assuming you've emerged audacious-plugins the &quot;alsa&quot; USE flag, go to<br>Audacious's preferences, Audio, and select &quot;ALSA 
1.2.2 output plugin&quot;<br>instead of &quot;OSS Output Plugin&quot;, to actually use ALSA natively for it<br>(which lets ALSA do software mixing, among other benefits).<br><br>In any case, under Audio, Output Plugin Preferences for either of these
<br>plugins will let you select a card arbitrarily.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Daniel<br>*This .sig left intentionally blank*<br>--<br><a href="mailto:gentoo-user@gentoo.org">gentoo-user@gentoo.org</a> mailing list<br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Jason Weisberger<br><a href="mailto:jbdubbs@gmail.com">jbdubbs@gmail.com</a>

------=_Part_2094_3773635.1164694813978--
-- 
gentoo-user@gentoo.org mailing list