Florent Le Gall wrote:
> Since both of those devices a controled by the snd-usb-audio driver,
> I only can get access to one of those with my actual /etc/modutils/alsa,

You have to load the snd-usb-audio driver for both devices. The syntax
to specify options for more than one device isn't documented anywhere
AFAIK.

> alias char-major-116 snd
> alias char-major-14 soundcore
> options snd major=116 cards_limit=4

You have 3 cards AFAICS, so use "cards_limit=3".

> alias snd-card-0 snd-usb-audio
> alias snd-card-1 snd-via82xx

For the third card, add "alias snd-card-2 snd-usb-audio".

> options snd-via82xx index=1 dxs_support=3

The "index=1" tells the snd-via82xx driver to always load as sound
card 1. Add the following to load the Quattro as card 0, and the
Oxygen as card 2:

  # Quattro is 2001
  # Oxygen8 is 1015 (???)
  options snd-usb-audio index=0,2 pid=0x2001,0x1015

> alias sound-slot-1  snd-card-1
> alias sound-service-1-0 snd-mixer-oss
> alias sound-service-1-3 snd-pcm-oss
> alias sound-service-1-12 snd-pcm-oss

And the same for card 2:

  alias sound-slot-2 snd-card-2
  alias sound-service-2-0 snd-mixer-oss
  alias sound-service-2-3 snd-pcm-oss
  alias sound-service-2-12 snd-pcm-oss

> Furthermore, is it possible, to make the quattro work as the first
> device when it's connected, and fall back to the via8233 chipset when
> not ?

If you omit the index= parameters, the first driver which finds a
device will get the first card number. But this won't work in your
case because the first device found may be the Oxygen.

It would be possible to change the destination of the /dev/dsp
symlink, and/or to modify the "default" pcm in .asoundrc. This could
be automated by a script. Speak up if you want to know details.


HTH
Clemens





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to