summaryrefslogtreecommitdiff
path: root/src/71-seat.rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-05-26 02:21:16 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-21 19:29:44 +0200
commit3f49d45a45c6c585098590174c3245d2d9bdde0a (patch)
treea932ff68def9c8ec6d9152e0e5eb47b98f832052 /src/71-seat.rules
parentbd253d1b910a003c1d87f1f58a6afabd4f946ce5 (diff)
logind: implement D-Bus properties
Diffstat (limited to 'src/71-seat.rules')
-rw-r--r--src/71-seat.rules20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/71-seat.rules b/src/71-seat.rules
new file mode 100644
index 0000000000..396983798e
--- /dev/null
+++ b/src/71-seat.rules
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+ACTION=="remove", GOTO="seat_end"
+
+TAG=="uaccess", 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"
+
+LABEL="seat_end"