chiark / gitweb /
logind: implement basic version of AttachDevice() D-Bus call
[elogind.git] / src / 71-seat.rules
index c13bf08d08a6bb1b4e2d10f6bcf89d50e21d8ced..d6437b024ca4baa66c9d903002f48ca352aaeff9 100644 (file)
@@ -12,10 +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_SEAT}="seat-foo"
-ENV{ID_SEAT}!="", TAG+="seat-foo"
+TAG=="seat", ENV{ID_PATH}=="", IMPORT{program}="path_id %p"
 
 LABEL="seat_end"