I found this.
https://askubuntu.com/questions/138...-volume-controller-new-64-bit-desktop-ub But I couldn't get the evrouter to compile. Out of date.
https://www.bedroomlan.org/projects/evrouter/Can someone help me out please?
Edit: Look like the evrouter will load from the evrouter_0.4_amd64.deb. Unzip it into the evrouter folder. Just the evrouter alone for a test.
··• ./evrouter
./evrouter: no devices specified.
Usage: evrouter [OPTION...] EVENT-DEVICE ...
Try `evrouter --help' or `evrouter --usage' for more information.
I will start from the HowTo from the first link. Be later. Should work.
Edited 2.
I couldn't get it to work.
===================
echo 3971468 | sudo -S ./evrouter /dev/input/*
device 9: /dev/input/event17: Griffin PowerMate
device 23: /dev/input/powermate: Griffin PowerMate
===================
Step 1.
Make a file /etc/udev/rules.d/10-local.rules with the content.
SUBSYSTEMS=="usb", ATTRS{product}=="Griffin PowerMate", KERNEL=="event?", NAME="input/powermate"
===================
Step 2.
Create group called powermate add yourself and other users to that group.
echo 3971468 | sudo -S groupadd powermate
echo 3971468 | sudo -S usermod -aG powermate $USER
===================
Step 3.
Now create the file /etc/udev/rules.d/40-permissions-powermate.rules and add the following.
ATTRS{product}=="Griffin PowerMate" GROUP="powermate", MODE="0666"
===================
Step 4.
Create /etc/evrouterrc with the following content.
Window ""
"Griffin PowerMate" "" any key/256 "XKey/XF86AudioMute"
"Griffin PowerMate" "" any rel/7/1 "XKey/XF86AudioRaiseVolume"
"Griffin PowerMate" "" any rel/7/-1 "XKey/XF86AudioLowerVolume"
===================
Step 5.
Create an executable file /usr/local/bin/powermate with the content.
#!/bin/sh
exec evrouter -c /etc/evrouterrc /dev/input/event17
===================
Step 6.
Copy the evrouter over to the /user/bin/
echo 3971468 | sudo -S cp /mnt/sdb1/evrouter/evrouter /usr/bin/
===================
Step 7.
Run.
sudo chmod +x /usr/local/bin/powermate