<div class="gmail_quote">Sorry, I haven&#39;t read your message completely and I thought it was a reiteration of Tim&#39;s original question. I think Tim will be alrite with the alsa-base.conf solution, but your problem is trickier.<br>

<br>Andras<br><br>2011/9/5 Ingo <span dir="ltr">&lt;<a href="mailto:ingo@miamiwave.com">ingo@miamiwave.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

That&#39;s what I was thinking, too. But it doesn&#39;t work like this.<br>
The devices I create with udev show up in /dev.<br>
But the devices used by /etc/modprobe.d/alsa-base.conf :<br>
<br>
snd-emu10k1<br>
snd_intel8x0<br>
<br>
do not show up in /dev.<br>
<br>
That means the sound device names are created somewhere else. Names that I<br>
create with udev in /dev seem to be ignored by modprobe.d/alsa-base.conf.<br>
<br>
So the question is where are these sound card IDs generated and how could I<br>
create such an ID with udev?<br>
<font color="#888888"><br>
Ingo<br>
</font><div><div></div><div class="h5"><br>
<br>
&gt;&gt;On Sun, Sep 4, 2011 at 14:33, Ingo &lt;<a href="mailto:ingo@miamiwave.com">ingo@miamiwave.com</a>&gt; wrote:<br>
&gt;&gt;Has anybody had any success with udev?<br>
&gt;&gt;<br>
&gt;&gt;I need to use oss and have tried to create a udev.rule to connect two<br>
&gt;&gt;identical usb midi interfaces and identify them by the usb port.<br>
&gt;&gt;<br>
&gt;&gt;I ended up creating the devices in /dev/ and /dev/snd/ and named them<br>
&gt;&gt;/dev/midi1, /dev/midi2 and/or /dev/snd/midiC1D0, /dev/snd/C2D0.<br>
&gt;&gt;<br>
&gt;&gt;They show up correctly in the folder /dev/ but I don&#39;t know how to assign<br>
&gt;&gt;them to anything alsa-base.conf can use.<br>
&gt;&gt;<br>
&gt;&gt;The first one that gets plugged in is always midi1 no matter where I plug<br>
it<br>
&gt;&gt;in. If I plug only one of them into the second usb port it will create<br>
&gt;&gt;midi1 and midi2. alsa-base.conf cannot seem to use the udev rules.<br>
&gt;&gt;It looks like something is assigning the soundcard numbers before or after<br>
&gt;&gt;udev.<br>
&gt;&gt;<br>
&gt;&gt;Any ideas?<br>
&gt;&gt;<br>
&gt;&gt;Ingo<br>
<br>
<br>
&gt;More than udev it might be a modprobe thing.<br>
&gt;I have these rules in /etc/modprobe.d/alsa-base.conf :<br>
&gt; <br>
&gt;options snd-emu10k1 index=0<br>
&gt;options snd_intel8x0 index=1<br>
&gt;<br>
&gt;...which make my Soundblaster card always be hw:0 and the motherboard sound<br>
&gt;card be hw:1.<br>
&gt;<br>
&gt;Andras<br>
<br>
</div></div></blockquote></div><br><br>