* [patch] Add joystick devices to 70-acl.rules
@ 2009-07-27 20:59 Anssi Hannula
0 siblings, 0 replies; only message in thread
From: Anssi Hannula @ 2009-07-27 20:59 UTC (permalink / raw)
To: linux-hotplug
User needs read-write access to joystick devices in order to use force
feedback features. Add joystick devices to 70-acl.rules.
---
| 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
--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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-27 20:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-27 20:59 [patch] Add joystick devices to 70-acl.rules Anssi Hannula
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).