diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-22 18:20:42 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-22 18:32:13 +0100 |
commit | 131a4dcfd4375f235a1f512339c0909e8bcc730b (patch) | |
tree | 7c8410f02ea7b5834a6d53248d4c9ad72bc351c3 /src/login/71-seat.rules | |
parent | 8f2d43a0121bc9a57ba8b79b33d5ac87d36ca2f2 (diff) |
login: move seat udev rules to login subdir
Diffstat (limited to 'src/login/71-seat.rules')
-rw-r--r-- | src/login/71-seat.rules | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/login/71-seat.rules b/src/login/71-seat.rules new file mode 100644 index 0000000000..99425adfb7 --- /dev/null +++ b/src/login/71-seat.rules @@ -0,0 +1,22 @@ +# 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", SUBSYSTEM!="sound", TAG+="seat" +SUBSYSTEM=="sound", KERNEL=="card*", TAG+="seat" +SUBSYSTEM=="input", KERNEL=="input*", TAG+="seat" +SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat" +SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat" + +# 'Plugable' USB hub, sound, network, graphics adapter +SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="000[13]", ENV{ID_AUTOSEAT}="1" + +TAG=="seat", ENV{ID_PATH}=="", IMPORT{program}="path_id %p" +TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH_TAG}!="", ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$env{ID_PATH_TAG}" + +LABEL="seat_end" |