On 9/19/07, Miroslav Puda <[EMAIL PROTECTED]> wrote:
> On 17:34 Tue 18 Sep     , Mark Knecht wrote:
> >    I don't see anything in /etc/modules.d/alsa that defines the second
> >    card as default. Does anyone know how Alsa does that?
>
> I think you need alsa support through modules for this but I am not
> sure. First card is default one. To figure out index of your sound cards do
> this:
> $ cat /proc/asound/modules
> 0 cx88_alsa
> 1 snd_via82x
> 2 snd_mpu401
>
> Now write this to /etc/modprobe.d/sound:
> options snd_via82xx index=0
> options snd_mpu401 index=1
> options cx88_alsa index=2
>
> Card with index zero will be default. Then run:
> # update-modules
> After next boot, order of your sound cards should be ok.
>
> Note: I have this problem without any HW or SW changes. I don't know
> what triger this.

Hi Miroslav,
   Yes, I think I already have all that set up correctly. See the
following info:

dragonfly ~ # cat /proc/asound/modules
 0 snd_intel8x0
 1 snd_usb_audio
dragonfly ~ # cat /etc/modules.d/alsa | grep options
options snd-intel8x0 index=0
options snd-usb-audio index=1
options snd cards_limit=2
dragonfly ~ # cat /etc/modprobe.conf | grep options
options snd-intel8x0 index=0
options snd-usb-audio index=1
options snd cards_limit=2
dragonfly ~ #

   The Intel HDA card is default. The USB device is an external USB to
Optical spdif converter that runs to the external home theater
receiver.

   All audio applications EXCEPT xine use the internal Intel card.
ONLY xine is using the external USB device. (Card 1 instead of Card 0)

   Keep in mind that one my Gentoo-based AMD64 machine I have two
audio cards as shown here and xine is working fine. Audio goes to card
0 exactly as it should. It gets mixed into the HDSP later but I can
tell that xine audio is going through the 8X0 driver as it responds to
the Gnome volume control and shows p on the correct input in
hdspmixer.

[EMAIL PROTECTED] ~ $ cat /proc/asound/modules
 0 snd_intel8x0
 1 snd_hdsp
[EMAIL PROTECTED] ~ $

   Note that you might want to add the options snd cards_limit=3 to
your config file.

Thanks,
Mark
-- 
[EMAIL PROTECTED] mailing list

Reply via email to