I'm looking for pointers to modify the kernel to support keys on my USB keyboard that don't seem to even make it to the /dev/input/event device associated with the keyboard. Does anyone have good references on how to modify the drivers/input, drivers/usb/input, or other kernel locations needed to make these key events available.
I don't receive events for these keys when I cat(or evtest) /dev/input/eventX where X is each of the event devices, run showkey, or when I check the logs/dmesg for any errors. But, I do get events for most of the other keys on the keyboard. In case you have specific recommendations, the keyboard is a Logitech S510 media keyboard, mouse, and remote: http://www.logitech.com/index.cfm/products/details/US/EN,CRID=2162,CONTENTID=10711 Most of the keys work including most of the extra media keys. In particular, these are the keys that do not work: 1. the shuffle key 2. the zoom in and zoom out keys 3. the zoom to 100% key 4. the rotate key 5. mode key and the f1 keys after mode is pressed 6. some keys on the media remote (most of the keys on the remote work as they act like mouse events and keyboard events) I've snooped the keys in windows to get an idea of where they map and then ran a perl script on the results to create a pretty simple rep of the data coming from the keyboard. If anyone wants the raw logs or more key info, you can have it. The main goal of my post is for pointers on where I can learn to make these changes myself. :) ---- Here is two of the working keys: "Audio Mute" Button Down: ************************************** {times : 14638, URB -> down, N 26} data send : data received: 03 e2 00 00 00 "Audio Mute" Button Up: ************************************** {times : 17518, URB -> down, N 27} data send : data received: 03 00 00 00 00 "Volume Down" Button Down: ************************************** {times : 62, URB -> down, N 8} data send : data received: 03 ea 00 00 00 "Volume Down" Button Up: ************************************** {times : 6567, URB -> down, N 9} data send : data received: 03 00 00 00 00 Here is one of the non-working keys: "Zoom Out" Down: ************************************** {times : 37918, URB -> down, N 46} data send : data received: 03 29 10 00 00 "Zoom Out" Up: ************************************** {times : 40302, URB -> down, N 47} data send : data received: 03 00 00 00 00 Thanks. -- Luke Anthony Olbrish <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
