disinclined.org
/
git
/
powermate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99da2e0
)
Added udev rule for device access
author
Dylan Lloyd
<dylan@dylansserver.com>
Mon, 12 Mar 2012 23:28:23 +0000
(19:28 -0400)
committer
Dylan 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]
patch
|
blob
diff --git a/99-powermate.rules
b/99-powermate.rules
new file mode 100644
(file)
index 0000000..
dbf3665
--- /dev/null
+++ b/
99-powermate.rules
@@ -0,0
+1
@@
+KERNEL=="event*", MODE="660", GROUP="input"