[alsa-devel] Getting stable PCM device id

Alexandre Bique bique.alexandre at gmail.com
Wed Jul 8 18:55:12 CEST 2015


On Wed, Jul 8, 2015 at 6:23 PM, Clemens Ladisch <clemens at ladisch.de> wrote:
> Alexandre Bique wrote:
>> I wonder how to get a PCM identifier that would be stable if you
>> reboot or plug/unplug sound cards in a random order.
>>
>> I'm not an expert in hardware ids, yet I imagine that we could use the
>> hardware serial number or equivalent?
>
> The most detailed identification is likely to show up in the card's longname.

This is the identifier - name - longname:

Found card: hw:1 - HDA Intel PCH - HDA Intel PCH at 0xf7c30000 irq 26

Pointer and irq does not really help :)

-- 
Alexandre Bique


More information about the Alsa-devel mailing list