You are not logged in.

#1 2011-08-26 14:50:23

Army
Member
Registered: 2007-12-07
Posts: 1,784

[solved] question about two soundcards which use the same module

Hi

I have two external soundcards, an Edirol UA-25 and a MAudio Transit. Both use the snd_usb_audio kernel driver. When I only had the MAudio, I configured it to be soundcard number 2 with the following in /etc/modprobe/modprobe.conf

options snd-usb-audio index=2

Now I'd like to have one be soundcard number 2 and the other one soundcard number 3. The internal soundcard is number 0, my tv card is number 1, I don't want to change that.

How can I do this?

Last edited by Army (2011-08-26 16:31:10)

Offline

#2 2011-08-26 15:13:07

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [solved] question about two soundcards which use the same module

You might want to try to use the snd-usb-audio's vid, pid and index parameters together, that or remove all audio drivers and load them in the "right" order in /etc/rc.local.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2011-08-26 15:48:09

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [solved] question about two soundcards which use the same module

Those are good keywords, I think I'll solve it with http://alsa.opensrc.org/MultipleCards, so thanks so far smile

Offline

#4 2011-08-26 16:30:53

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [solved] question about two soundcards which use the same module

Ok, works. For documention, here's what I did:

If you have two (or more) soundcards, which use the same kernel module, this is what you need in your modprobe.conf (or call this file just like you want, it only has to be in /etc/modprobe.d and has to be called *.conf)

options snd-usb-audio index=2,3 vid=0x0582,0x0763 pid=0x0074,0x2006

This is what I have now. Index is the number of the card, e.g. you see those numbers in alsamixer when you press F6. The vids and pids you can get with

lsusb -v|grep idVendor # this is for the idv
lsusb -v|grep idProduct # this is for the idp

Just pick the line which stands for the soundcard, put these ids into the *.conf file and you're done. Now it doesn't matter in which order you plugin the soundcards, they get the right index.

Quite easy after all smile

Offline

Board footer

Powered by FluxBB