chiark / gitweb /
sound: include ALSA sound card id in /dev/snd/by-id/ links
authorLennart Poettering <lennart@poettering.net>
Mon, 9 Nov 2009 21:11:29 +0000 (22:11 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 9 Nov 2009 21:11:29 +0000 (22:11 +0100)
commit68bffc607f7f0414fee77fa481d9c133ce0798e9
treec443025b3b57cffb2b78cb32abe67199aadc8fff
parent4e3664f22b39c3efa33f5778a651a083b5e1f544
sound: include ALSA sound card id in /dev/snd/by-id/ links

If two USB sound cards that have the same serial number are plugged in
make sure the by-id/ device node symlink is unique at least during
runtime, by including the ALSA card id in the symlink name.

This is a followup to ed1b2d9fc7.
rules/rules.d/60-persistent-alsa.rules