<div class="gmail_quote">On Sun, Sep 4, 2011 at 14:33, Ingo <span dir="ltr">&lt;<a href="mailto:ingo@miamiwave.com">ingo@miamiwave.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Has anybody had any success with udev?<br>
<br>
I need to use oss and have tried to create a udev.rule to connect two<br>
identical usb midi interfaces and identify them by the usb port.<br>
<br>
I ended up creating the devices in /dev/ and /dev/snd/ and named them<br>
/dev/midi1, /dev/midi2 and/or /dev/snd/midiC1D0, /dev/snd/C2D0.<br>
<br>
They show up correctly in the folder /dev/ but I don&#39;t know how to assign<br>
them to anything alsa-base.conf can use.<br>
<br>
The first one that gets plugged in is always midi1 no matter where I plug it<br>
in. If I plug only one of them into the second usb port it will create midi1<br>
and midi2. alsa-base.conf cannot seem to use the udev rules.<br>
It looks like something is assigning the soundcard numbers before or after<br>
udev.<br>
<br>
Any ideas?<br>
<font color="#888888"><br>
Ingo<br>
</font><div><div></div><div class="h5"><br></div></div></blockquote><div><br>More than udev it might be a modprobe thing.<br>I have these rules in /etc/modprobe.d/alsa-base.conf :<br> <br>options snd-emu10k1 index=0<br>options snd_intel8x0 index=1<br>

<br>...which make my Soundblaster card always be hw:0 and the motherboard sound card be hw:1.<br><br><br></div></div>Andras<br>