On Thursday, May 13, 2010, Frank Kober wrote:
I would like the following order to be maintained to
have
desktop applications adress a working soundcard and to have the UA-25
always at the same index for JACK.
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfbff8000 irq 32
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfde7c000 irq 16
2 [UA25 ]: USB-Audio - UA-25
EDIROL UA-25 at usb-0000:00:1d.0-1, full speed
3 [nanoKONTROL ]: USB-Audio - nanoKONTROL
KORG INC. nanoKONTROL at usb-0000:00:1d.0-2, full
speed
The way I found after some trials with module inits was:
1) in /etc/modprobe.conf:
options snd-hda-intel index=0
options snd-usb-audio index=2
This fortunately always puts the UA-25 at index 2. However, the first
option does not work, since the nanokontrol seems to get recognized before
the HDA device and it is often sitting on index 0.
You can specify the order of the two USB audio devices adding to the options
line the 'vid' and 'pid' arguments, which are arrays like 'index',
up to 8
elements. The 'vid' argument corresponds to the idVendor and 'pid' to the
idProduct hex numbers shown by lsusb. For instance, I have this line:
options snd-usb-audio index=1,2,3 vid=0x0763,0x0582,0x0582
pid=0x1110,0x0005,0x00a3
idVendor = 0x0763 is Midiman and idVendor = 0x0582 is Roland.
Regards,
Pedro