summaryrefslogtreecommitdiff
path: root/src/71-seat.rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-28 21:54:52 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-28 21:54:52 +0200
commitc28fa3d32fe0989c286d04406414bb7ef58dab9a (patch)
tree14bb268a026c8ff1a75d02dd5161202d58942d94 /src/71-seat.rules
parent47a2669062882d1b4ed6ae3c7b8926e09f2a978e (diff)
logind: include subsystem name in device id for assigning seats
Diffstat (limited to 'src/71-seat.rules')
-rw-r--r--src/71-seat.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/71-seat.rules b/src/71-seat.rules
index d6437b024c..c564bac3f1 100644
--- a/src/71-seat.rules
+++ b/src/71-seat.rules
@@ -16,5 +16,6 @@ SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat"
SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="0001", ENV{ID_AUTOSEAT}="1"
TAG=="seat", ENV{ID_PATH}=="", IMPORT{program}="path_id %p"
+TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH}!="", ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$env{ID_PATH}"
LABEL="seat_end"