Gentoo Archives: gentoo-user

From: Jason Weisberger <jbdubbs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev 103, alsa dual soundcard problem
Date: Tue, 28 Nov 2006 06:24:42
Message-Id: f05c493b0611272220y68b7e415y54f652c4f3d12efc@mail.gmail.com
In Reply to: Re: [gentoo-user] udev 103, alsa dual soundcard problem by Daniel Barkalow
1 Dave,
2
3 Alsasound init script does not require coldplug. Remove coldplug, then
4 recompile your ALSA installation if it complains about it. Don't forget to
5 etc-update or dispatch-conf to update the init scripts. As far as them
6 loading in reverse order, see the gentoo-wiki for information on forcing
7 module loading with regard to multiple card setups:
8 http://gentoo-wiki.com/HOWTO_ALSA_Complete_%28includes_dmix%29#Post-Installation_Configuration
9
10 On 11/28/06, Daniel Barkalow <barkalow@××××××××.org> wrote:
11 >
12 > On Mon, 27 Nov 2006, Dave Jones wrote:
13 >
14 > > Even worse is that udev seems to discover the sound cards in the reverse
15 > > order to coldplug. My Audigy card becomes /dev/dsp1 and the Intel card
16 > > is /dev/dsp0.
17 >
18 > You should be able to force them to get the names you want with a couple
19 > of sufficiently specific udev rules. The whole point of udev is that this
20 > sort of policy is up to you, rather than being chosen by the system using
21 > black magic. Look at the manpage for udev and the rules in
22 > /etc/udev/rules.d/, and write rules for NAME="sound/dsp0" and
23 > NAME="sound/dsp1" which match the cards you want to have those names.
24 >
25 > > Unfortunately, Audacious, my music player of choice, doesn't seem to
26 > > offer any choice of which dsp to use.
27 >
28 > Assuming you've emerged audacious-plugins the "alsa" USE flag, go to
29 > Audacious's preferences, Audio, and select "ALSA 1.2.2 output plugin"
30 > instead of "OSS Output Plugin", to actually use ALSA natively for it
31 > (which lets ALSA do software mixing, among other benefits).
32 >
33 > In any case, under Audio, Output Plugin Preferences for either of these
34 > plugins will let you select a card arbitrarily.
35 >
36 > -Daniel
37 > *This .sig left intentionally blank*
38 > --
39 > gentoo-user@g.o mailing list
40 >
41 >
42
43
44 --
45 Jason Weisberger
46 jbdubbs@×××××.com