From 86d37eb6d13abcaa358e51556876afa0d44fbede Mon Sep 17 00:00:00 2001 From: Dylan Lloyd Date: Mon, 12 Mar 2012 19:28:23 -0400 Subject: [PATCH] Added udev rule for device access 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 | 1 + 1 file changed, 1 insertion(+) create mode 100644 99-powermate.rules diff --git a/99-powermate.rules b/99-powermate.rules new file mode 100644 index 0000000..dbf3665 --- /dev/null +++ b/99-powermate.rules @@ -0,0 +1 @@ +KERNEL=="event*", MODE="660", GROUP="input" -- 2.30.2