Previous Thread
Next Thread
Print Thread
Joined: Apr 2006
Posts: 820
Likes: 3
D
Senior Member
Senior Member
D Offline
Joined: Apr 2006
Posts: 820
Likes: 3
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

Last edited by Dullaron; 03/02/25 05:18 PM. Reason: Didn't work. Might be missing something or I'm not doing it right.

W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
Joined: Apr 2006
Posts: 820
Likes: 3
D
Senior Member
Senior Member
D Offline
Joined: Apr 2006
Posts: 820
Likes: 3
I got it to work.

Be sure to unzip to get the evrouter file from the evrouter_0.4_amd64.deb. Open the Konsole from your evrouter folder after that. Leave it open.

Step 1.

Find event number.

sudo ./evrouter /dev/input/*

Here is mine.

device 9: /dev/input/event17: Griffin PowerMate
device 23: /dev/input/powermate: Griffin PowerMate

Step 2.

Create .evrouterrc with the following content. Save it into the HOME folder.

This is for my spinner devuice.

Window ""
"Griffin PowerMate" "" any key/256 "XButton/2" # click
"Griffin PowerMate" "" any rel/7/1 "XButton/5" # scroll >
"Griffin PowerMate" "" any rel/7/-1 "XButton/4" # scroll <

Step 3.

Run the command with your event number from your spinner. Note: Won't work using the sudo.

./evrouter /dev/input/event22

Look like this running.

··• ./evrouter /dev/input/event22
device 0: /dev/input/event22: Griffin PowerMate
Display name: :0
Parsed 3 rules, 216 bytes

When you run it again on the second time. You will get this.

./evrouter: error creating /tmp/.evrouter:0: File exists

Please make sure this file can be created, no other instance of
this program is running on X display :0. Remove the file
/tmp/.evrouter:0 if no other instance is running.

You have to kill it from running. Delete it after that. sudo rm -rf /tmp/.evrouter:0 Then run it again.

Last edited by Dullaron; 03/08/25 02:23 AM. Reason: Fixed the settings.

W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
3 members (exidyboy, robcfg, 1 invisible), 132 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,356
Posts122,431
Members5,082
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0