]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/login/71-seat.rules
udev: update some rules
[thirdparty/systemd.git] / src / login / 71-seat.rules
CommitLineData
3f49d45a
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
3f49d45a
LP
6# (at your option) any later version.
7
8ACTION=="remove", GOTO="seat_end"
9
bbd43881
LP
10TAG=="uaccess", SUBSYSTEM!="sound", TAG+="seat"
11SUBSYSTEM=="sound", KERNEL=="card*", TAG+="seat"
33fd6472 12SUBSYSTEM=="input", KERNEL=="input*", TAG+="seat"
3f49d45a
LP
13SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat"
14SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat"
4091baaa 15
fb922d4f
KS
16# 'Plugable' USB hub, sound, network, graphics adapter
17SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="000[13]", ENV{ID_AUTOSEAT}="1"
4091baaa 18
fa734f4d
SL
19# Mimo 720, with integrated USB hub, displaylink graphics, and e2i touchscreen
20SUBSYSTEM=="usb", ATTR{idVendor}=="058f", ATTR{idProduct}=="6254", ENV{ID_AUTOSEAT}="1"
21
378f2e07 22TAG=="seat", ENV{ID_PATH}=="", IMPORT{builtin}="path_id"
4d44e4f0 23TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH_TAG}!="", ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$env{ID_PATH_TAG}"
3f49d45a
LP
24
25LABEL="seat_end"