From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anssi Hannula Date: Mon, 27 Jul 2009 20:59:44 +0000 Subject: [patch] Add joystick devices to 70-acl.rules Message-Id: <4A6E1540.5060106@iki.fi> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org User needs read-write access to joystick devices in order to use force feedback features. Add joystick devices to 70-acl.rules. --- extras/udev-acl/70-acl.rules | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules index f41bb66..1222513 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}" -- 1.6.2.4