Logitech UltraX Media Remote
Peter Dey
hal at realmtech.net
Sat May 16 19:26:08 PDT 2009
Hi guys,
I've got a Logitech UltraX Media Remote. It's basically a remote control that
talks to a little USB dongle over RF (instead of IR). The USB dongle identifies
itself as a keyboard.
As you can probably guess, most of the keys on the remote are multimedia keys.
Unfortunately, these keys map to scancodes above 255.
Before moving over to hal+evdev, a hack in Xorg.conf would make all the keys
visible (link here: http://www.mythtv.org/wiki/Logitech_UltraX_Media_Remote).
As far as I can tell, what was happening was that the scancodes above 255 were
being blindly remapped using some funky modular arithmetic.
I don't get any unrecognised scancodes being reported in dmesg when I press
keys, which seems to indicate (to me) that the keycodes are being picked up by
hal fine, and just need to be remapped to something sane for evdev to work with.
I've been playing around with adding key maps in input.keymap.data, but I can't
figure out what should go on the left-hand-side of the colon (since nothing's
being reported in dmesg).
running `input-events 5` shows that the keypresses are being picked up. Taking
the "Channel down" key, for example, I've tried adding
<append key="input.keymap.data" type="strlist">0x193:pagedown</append>
(0x193 is from linux/input.h; since input-events is reporting that "EV_KEY
KEY_CHANNELDOWN pressed"). No luck. (Yes, it does show in lshal).
I've been trying for about two weeks (on and off) to make my keys work again.
Any assistance would be greatly appreciated...
Cheers,
Peter
More information about the hal
mailing list