Thanks a lot,
it now works fine..

The two problems were 
1: I didn't know the options to add more than one device for a driver.
2: I forgot to load the Keystation firmware, therefore I got the
keystation working only after booting windows and I thought after having
seen it work once I thought that it wouldn't need a firmware..

(I think I'll start to use the hotplug package with a firmware to make
it fully plug&play)

> You have to load the snd-usb-audio driver for both devices.

Well,
Right now i just use one and it works for the two devices..

alias snd-card-0 snd-usb-audio

(I pasted my entire /etc/modutils/alsa file at the end of this mail)

> The syntax
> to specify options for more than one device isn't documented anywhere
> AFAIK.

Thanks for that, where could I submit the information ?
If i just leave a note on the Keystation page or the Quattro page in the
alsa-doc website (both actually point to the same page), it wouldn't be
read by owners of other sound devices. so where could I leave it ? Alsa
wiki ?


> 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
> 

Exactly, actually 1015 is the Oxygen8 after loading the windows
firmware, and 1014 is the Oxygen8 without loading any firmware.
But you'd probably know that since you wrote the firmware extract
program for those devices :P

> 
> 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.

Well, I think i'll go first for the manual option, then maybe I could
modify the hotplug scripts to do the job, but it's not that necessary in
fact, and there could be 3 combinations if I take into account whether
the Keystation is connected or not, whether it's connected to the
quattro midi-in port etc ..

> 
> HTH
> Clemens
> 

Thanks again, 

Regards,

Florent,

----
my actual & working /etc/modutils/alsa file 
(if some ppl have the same or a comparable setup)

alias char-major-116 snd
alias char-major-14 soundcore
options snd major=116 cards_limit=3
 
alias snd-card-0 snd-usb-audio
alias snd-card-2 snd-via82xx
options snd-usb-audio index=0,1 pid=0x2001,0x1015
options snd-via82xx index=2 dxs_support=3
 
alias sound-slot-0  snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-12 snd-pcm-oss
 
alias sound-slot-1  snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
 
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


-- 
Florent Le Gall <[EMAIL PROTECTED]>



-------------------------------------------------------
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