chiark / gitweb /
sound: include ALSA sound card id in ID_ID property
authorLennart Poettering <lennart@poettering.net>
Thu, 5 Nov 2009 03:32:41 +0000 (04:32 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 5 Nov 2009 03:32:41 +0000 (04:32 +0100)
commited1b2d9fc7d5c5bfe2a67b0b8ff9e5ea8694268e
tree2dbf93a9c1559cb17c29f4e59ebe0cf3555b77f8
parent081be002eae9bc7fc03dbfd7b99b4d28a7c98f9d
sound: include ALSA sound card id in ID_ID property

If two USB sound cards that have the same serial number are plugged in
make sure ID_ID is unique at least during runtime, by including the ALSA
card id in the ID_ID string.

Fixes issues like this one:
http://pulseaudio.org/ticket/661
rules/rules.d/78-sound-card.rules