chiark / gitweb /
udev: only tag the main card device of a sound card with 'seat'
[elogind.git] / 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"