Re: [LAU] Many identical cards - how to keep them straight

From: drew Roberts <zotz@email-addr-hidden>
Date: Tue Mar 11 2008 - 20:30:10 EET

Paul,

thank you so much for those links.

The first looks like it may solve my issue so long as I (or other parties
really) don't rearrange the hookups.

all the best,

drew

On Tuesday 11 March 2008 13:19:24 Adam Sampson wrote:
> Paul Davis <paul@email-addr-hidden> writes:
> > The usual ALSA mechanism relies on PCI id and other stuff that,
> > IIRC, is not going to distinguish between 3 identical cards.
>
> If you're using udev, you can distinguish between the cards using the
> device path, since that'll include the PCI slot number (which
> shouldn't change unless you're hotplugging PCI devices, I assume).
>
> There's a script to do it for USB devices here:
> http://alsa.opensrc.org/index.php/Udev
>
> I've adapted it to just match regexps against the device path, so you
> can use it for PCI devices too. It seems to work for me, but I haven't
> tested it thoroughly. (In particular, I'm sitting a few miles away
> from the machine I'm testing on, so I haven't actually tried *doing*
> anything with the sound devices yet...)
>
> The script I'm using is here:
> http://offog.org/darcs/misccode/alsa-name

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Wed Mar 12 00:15:01 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 12 2008 - 00:15:02 EET