BedroomLANTilde~A: Alexios' HomepageSearch |
![]() |
||
EvRouter: act on unhandled Linux HID events
Posted February 18th, 2009 by alexios
For a few years, back in simpler times, I used Jon Atkins' Unfortunately, my input devices seem to have outgrown imwheel. I now have a Logitech USB keyboard and USB mouse, both with extra buttons, wheels, knobs et cetera. None of them would work with X11 out of the box, and many weren't even detected. This is where evrouter comes in useful. It performes the following following closely allied tasks:
As of 2008 and 2009, many of these tasks are obsolete, but old software and old input devices are still around, and evrouter can make your input devices do things programmers of device drivers and application software never intended (or, in some cases, never had enough imagination to anticipate). All this is accomplished thanks to the Linux 2.4 (and above) Event Interface (
What's New?Version 0.4: I've incorporated a patch found on this page that adds support for Version 0.3.4: I've finally found the time to fix an annoying bug whereby removing a USB device Known IssuesIf you have Ubuntu's Intrepid Ibex distribution, evrouter won't work. Nothing else which accesses event devices will, either — as long as you're running an X server. The X server acquires exclusive access to the event devices, precluding any other process from using them concurrently. I'm working on this one (in a way, I've been working on this one for a while. A couple of the enhancements I've been thinking about could fix this issue). You may want to peruse Ubuntu support tickets 298963 and 267682. Many thanks to Dominik Ałaszewski for the heads-up and the links. DownloadThe tool is available as source, Debian and RPM packages. It's provided under the terms of the GNU General Public License, version 2. An old version of evrouter is still hosted on Freshmeat, but this page offers the latest versions for the most architectures. evrouter
|
|
|
|
Comments
This program is just great. It's the only program that can access all my netbook keys and still capture them when some app is running fullscreen. There is no other program that can do this so it rocks!
I have Ubuntu 8.10, downloaded and installed latest evrouter deb package. But "sudo evrouter -d /dev/input/event1" shows only the name of keyboard, but no button press is dumped.
I have found thread confirming that: http://ubuntuforums.org/showthread.php?t=991170&highlight=evrouter
but maybe I am doing something wrong?
Regards,
Dominik
I see it's affected by a switch to Intrepid (?). Go figure. Would you be able to test this out for me using od? To repeat our email conversation (for the benefit of anyone else reading), try using this command on an event device that doesn't work with evrouter:
And operate the input device (press keys, etc). If you get rows of octal numbers whenever you use the device, it proves that evrouter is ignoring them (maybe they're not key, switch or rel(ative) events). If you don't, there's something else wrong. Either the device just doesn't send such events, or Intrepid has some change in the event interface.
What version of evrouter and what kernel version are you using? As far as I know, the event structure format has never changed, but the binaries for version 0.4 are compiled on fairly recent kernels (e.g. 2.6.26 for amd64).
Hi,
Is there anyway to get evrouter to work on Intrepid? I have a remote where scancodes with 0xc00nn are showing up, and so they are not captured by xev. I'd like to use evrouter to solve this, but it doesn't work on Intrepid!!! Grrr....
Please let me know if there is any progress on making it work on Intrepid.
thx andrew