summaryrefslogtreecommitdiff
path: root/src/71-seat.rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-28 20:50:43 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-28 20:50:43 +0200
commit47a2669062882d1b4ed6ae3c7b8926e09f2a978e (patch)
tree81f51cd728d961b90a4213c02b3ce5eeed4f5d17 /src/71-seat.rules
parent4091baaaf421c8199430bceae0485044b74754bd (diff)
logind: implement basic version of AttachDevice() D-Bus call
Diffstat (limited to 'src/71-seat.rules')
-rw-r--r--src/71-seat.rules8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/71-seat.rules b/src/71-seat.rules
index 636cafd394..d6437b024c 100644
--- a/src/71-seat.rules
+++ b/src/71-seat.rules
@@ -12,13 +12,9 @@ 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"
-SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="0001", ENV{ID_AUTOSEAT}="1"
-
-IMPORT{parent}="ID_SEAT"
-ENV{ID_AUTOSEAT}=="1", ENV{ID_SEAT}=="", ENV{ID_PATH}=="", IMPORT{program}="path_id %p"
-ENV{ID_AUTOSEAT}=="1", ENV{ID_SEAT}=="", ENV{ID_PATH}!="", ENV{ID_SEAT}="seat-$env{ID_PATH}"
+SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="0001", ENV{ID_AUTOSEAT}="1"
-ENV{ID_SEAT}!="", TAG+="$env{ID_SEAT}"
+TAG=="seat", ENV{ID_PATH}=="", IMPORT{program}="path_id %p"
LABEL="seat_end"