On Wed, Nov 08, 2006 at 10:17:27AM +0100, Atte André Jensen wrote: > David Causse wrote: > > >IMHO card number should be static and setup by system conf (index=xx > >module option), that sounds much cleaner to me. > > This is not possible in this case as far as I understood it. It's a > decision from the kernel guys to change device number of practically > everything. It includes stuff like "Midi Through". > > I use (or used to use) static device numbers setup via > /etc/modprobe.d/alsa-base, but in my scripting I now totally avoid > devise numbers (for instance when connecting alsa clients). Using names > or program some logic that looks for substrings in names instead, have > proven to be much more robust. What about the usb-audio vid/pid options to determine the devices order? David.