From 2a0c6867cb0c8120cc1b8f48b755abb2a405fef7 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Mon, 27 Jul 2009 23:59:44 +0300 Subject: [PATCH] udev-acl: add joystick devices User needs read-write access to joystick devices in order to use force feedback features. --- extras/udev-acl/70-acl.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index f41bb66f..12225136 100644 --- a/extras/udev-acl/70-acl.rules +++ b/extras/udev-acl/70-acl.rules @@ -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}" -- 2.39.5