Logitech UltraX Media Remote

Andrey Borzenkov arvidjaar at mail.ru
Sat May 16 22:32:05 PDT 2009


On Sunday 17 of May 2009 06:26:08 Peter Dey wrote:
> 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).

But this page describes exactly how to setup it up using evdev. The only 
difference when using HAL is that evdev now auto-detects it (hopefully). 
So I really do not see how HAL by itself can change anything.

What of course could happen - distributions may run arbitrary scripts as 
part of HAL detection which may remap keys etc. Check with lshal if you 
have any of them; try to add FDI to turn all these scripts off for your 
device to see of it helps. If it works, this may need to be added to 
standard FDI set.

> 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
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/hal/attachments/20090517/05bb87e1/attachment.pgp 


More information about the hal mailing list