Using Griffin Powermate in Linux
I've got my Griffin Powermate working under Linux it was pretty easy. Here is the procedure. If files don't exists already create them.
1) Add correct permissions for the new device. Add this to /etc/udev/rules.d/40-permissions.rules.
Make sure you add the specified group to /etc/group and add yourself and other X users to it. Otherwise use some group all GUI users are a member of.
Code:
ATTRS{product}=="Griffin PowerMate" GROUP="powermate", MODE="0666"
2) Install .deb or build source from
http://www.bedroomlan.org/projects/evrouter
3) Add ~/.evrouterrc to your home dir with the following contents
Code:
Window ""
"Griffin PowerMate" "" any key/256 "XKey/XF86AudioMute"
"Griffin PowerMate" "" any rel/7/1 "XKey/XF86AudioRaiseVolume"
"Griffin PowerMate" "" any rel/7/-1 "XKey/XF86AudioLowerVolume"
4) Start evrouter when users log into X by adding this to /etc/X11/xinit.d/evrouter
Code:
evrouter /dev/input/by-id/usb-Griffin_Technology__Inc._Griffin_PowerMate-event-if00
Of course this requires the knob to be attached at login time. A hotplug script would be necessary to load evrouter on demand.