Added udev rule for device access
authorDylan Lloyd <dylan@dylansserver.com>
Mon, 12 Mar 2012 23:28:23 +0000 (19:28 -0400)
committerDylan Lloyd <dylan@dylansserver.com>
Mon, 12 Mar 2012 23:28:23 +0000 (19:28 -0400)
I originally wanted to match only the PowerMate device. Unfortunately,
due to the way the the PowerMate library searches for the device, any
/dev/input/event* without proper permissions generates an fatal error.

Therefore, the following does NOT work:

ENV{ID_MODEL}=="Griffin_PowerMate", MODE="660", GROUP="input"

This forces us to use the vaguer committed rule to match all
/dev/input/event* to group input and perm 660. :-/

99-powermate.rules [new file with mode: 0644]

diff --git a/99-powermate.rules b/99-powermate.rules
new file mode 100644 (file)
index 0000000..dbf3665
--- /dev/null
@@ -0,0 +1 @@
+KERNEL=="event*", MODE="660", GROUP="input"