mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
udev-acl: add joystick devices
User needs read-write access to joystick devices in order to use force feedback features.
This commit is contained in:
parent
d256454415
commit
2a0c6867cb
@ -44,6 +44,9 @@ SUBSYSTEM=="misc", KERNEL=="kvm", ENV{ACL_MANAGE}="1"
|
||||
# smart-card readers
|
||||
ENV{ID_SMARTCARD_READER}=="*?", ENV{ACL_MANAGE}="1"
|
||||
|
||||
# joysticks
|
||||
SUBSYSTEM=="input", ENV{ID_CLASS}=="joystick", ENV{ACL_MANAGE}="1"
|
||||
|
||||
# apply ACL for all locally logged in users
|
||||
LABEL="acl_apply", ENV{ACL_MANAGE}=="?*", TEST=="/var/run/ConsoleKit/database", \
|
||||
RUN+="udev-acl --action=$env{ACTION} --device=$env{DEVNAME}"
|
||||
|
Loading…
Reference in New Issue
Block a user