From: Lennart Poettering Date: Tue, 28 Jun 2011 17:23:38 +0000 (+0200) Subject: udev: only tag the main card device of a sound card with 'seat' X-Git-Tag: v30~120 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=bbd4388153bde7b7fdb39ce5c88dd92f7b8a4d2d udev: only tag the main card device of a sound card with 'seat' --- diff --git a/src/71-seat.rules b/src/71-seat.rules index 396983798..c13bf08d0 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"