I have evrouter set up for the few extra multimedia keys on my keyboard. Works great, only way it could be better is if Firefox would title its window so I could set up specifics for that. Anyway, I have one of those little usb nuberpad things that are designed for notebooks. I have it hooked up and it works fine, for what its intended. However, I want it to only be acknowledged by the usbevent layer so that I can turn the 18 keys on that numberpad into hotkeys. I can get evrouter to acknowledge and even tie things to the keys there, but I want it to be ignored as a keyboard. So when I hit the '1' key on the usb pad, instead of getting a 1 and the programs tied to it launching just having it launch the app.
cat /proc/bus/input/devices produces this:
I: Bus=0003 Vendor=0a81 Product=0101 Version=0110 N: Name="CHESEN USB Keyboard" P: Phys=usb-0000:02:00.0-1.1/input0 H: Handlers=kbd event1 B: EV=12000b B: KEY=10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe B: ABS=100 0 B: LED=1f07
I: Bus=0003 Vendor=0a81 Product=0101 Version=0110 N: Name="CHESEN USB Keyboard" P: Phys=usb-0000:02:00.0-1.1/input1 H: Handlers=kbd event4 B: EV=10000b B: KEY=1f0000 20000 3878 d801d101 1e0000 0 0 0 B: ABS=100 0
Now I'm far from a guru, and I really dont know what I'm doing here, but to me, if I can get the kbd driver to ignore this usbpad, then all my problems will be fixed. I just dont know how to get the system to NOT to tie the kbd driver to it and leave the event handler there.
Any help, maybe even a link to where I need to go, I've been googling for a while, and found a lot of really neat things about dual headed/legged computers, but I need it to not register as a keyboard and have it register as just a usb device.
Thanks -Matt
I havn't tested the idea, but you should be able to set the handlers variable to nothing and it should ignore anything from the keyboard, hopefully that will not stop evrouter from receiving the commands. I'm going to test it right now, I'll reply later tonight if it works.
David
removing the handler kbd on any device should stop the keys from being sent to the user. I don't know how to remove that from the file because it just shows what is being done, its not a config file. Does anyone know what file will control the keyboard event handlers? I've been trying to setup evrouter but when I run "evrouter -D /dev/input/event*" it gives me this error:
evrouter: error querying device /dev/input/event0: Invalid argument evrouter: error querying device /dev/input/event1: Invalid argument evrouter: error querying device /dev/input/event2: Invalid argument evrouter: error querying device /dev/input/event3: Invalid argument evrouter: no input devices were opened. Exiting.
David
On Sat, 1 Jan 2005 20:56:26 -0800, David Corrigan lightingisfun@gmail.com wrote:
I havn't tested the idea, but you should be able to set the handlers variable to nothing and it should ignore anything from the keyboard, hopefully that will not stop evrouter from receiving the commands. I'm going to test it right now, I'll reply later tonight if it works.
David