On 2/16/07, Jean-Michel Pouré <jmpoure@xxxxxxx> wrote: > Would it be possible to address devices using product IDs directly. I > know this sounds incredible, but each device usually has a unique ID > somewhere. > > So in place of writing plughw:x,y, we would write productid:xyzzer. This > would allow plughw:x,y to continue to behave like today. The only > difference is that users would really have a unique way of naming > hotplugable devices. Yes - cards are already addressable by name. So if /proc/asound/cards contains: 0 [Audigy2 ]: Audigy2 - Audigy 2 ZS [SB0350] Audigy 2 ZS [SB0350] (rev.4, serial:0x20021102) at 0xe800, irq 10 You would use "plughw:Audigy2" rather than "plughw:x,y". I believe USB devices have a hardware GUID that the other OS uses to distinguish multiple devices of the same type. If ALSA were to expose this in the card name then persistent device naming should be possible. Lee ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel