summaryrefslogtreecommitdiff
path: root/src/71-seat.rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-28 19:23:38 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-28 19:25:08 +0200
commitbbd4388153bde7b7fdb39ce5c88dd92f7b8a4d2d (patch)
tree74b68e1f252b6ef88ee8f2fa57d64038cc2debec /src/71-seat.rules
parent38f3fc7da74d5d82cd0e4282e45bac32152ea076 (diff)
udev: only tag the main card device of a sound card with 'seat'
Diffstat (limited to 'src/71-seat.rules')
-rw-r--r--src/71-seat.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/71-seat.rules b/src/71-seat.rules
index 396983798e..c13bf08d08 100644
--- a/src/71-seat.rules
+++ b/src/71-seat.rules
@@ -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"