]> err.no Git - systemd/commitdiff
udev: only tag the main card device of a sound card with 'seat'
authorLennart Poettering <lennart@poettering.net>
Tue, 28 Jun 2011 17:23:38 +0000 (19:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 28 Jun 2011 17:25:08 +0000 (19:25 +0200)
src/71-seat.rules

index 396983798ed730cceecf9226dd464ac7f1cb6aaf..c13bf08d08a6bb1b4e2d10f6bcf89d50e21d8ced 100644 (file)
@@ -7,7 +7,8 @@
 
 ACTION=="remove", GOTO="seat_end"
 
-TAG=="uaccess", TAG+="seat"
+TAG=="uaccess", SUBSYSTEM!="sound", TAG+="seat"
+SUBSYSTEM=="sound", KERNEL=="card*", TAG+="seat"
 SUBSYSTEM=="input", TAG+="seat"
 SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat"
 SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat"