Hi

I'm pretty "new" to LIRC, but I did yet manage to get working an IR remote with an homemade serial receiver.

For my new "HTPC", I've bought on Ebay a RF remote control with his USB receiver.

The remote is seens as an "HID Devide", a mouse and a keyboard (the upper part of the remote is the "mouse" part, with about 10 buttons seens by the system, and a cursor pad to move the mouse on screen, the lower part is seen as keyboard with some keys emulation...)

I've managed to make it work with "evrouter", which intercepts Events and emulate keypress instead, but the cursor is not catched...

Well, this setup is not flexible enought for me, and I prefer to use LIRC.

I've tried to use "irrecord" to learn the remote, but all the results I get are not correct. Here is the contets of the file I get :

# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.6(devinput) on Wed Dec 30 07:43:49 2009
#
# contributed by
#
# brand:                       test3.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  test3.conf
  bits           24
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   8
  pre_data       0x0
  gap          111975
  toggle_bit_mask 0x0

      begin codes
          UP                       0x020001
          DOWN                     0x020001
          LEFT                     0x020000
          RIGHT                    0x020000
          BTLEFT                   0x040004
          BTRIGHT                  0x040004
          HOME                     0x040004
          BACKWARD                 0x040004
          FORWARD                  0x040004
          POWER                    0x040004
          FAVORITE                 0x040004
          SEARCH                   0x040004
          REFRESH                  0x040004
          EMAIL                    0x040004
          FB                       0x040004
          PLAYPAUSE                0x040004
          FF                       0x040004
          PREV                     0x040004
          STOP                     0x040004
          NEXT                     0x040004
          VOL+                     0x040004
          VOL-                     0x040004
          MUTE                      0x040004
      end codes

end remote



As you can see, many buttons are seen with the same code, as they don't !

I can make an "hexdump" of the corresponding /dev/input/event*, which shows that every keycode is different. What I understand is that irrecord throws the rest of the code, and doesn't take enought bits of it :(

Is there a way to make it recognize it correctly ? What am I doing wrong ??

Thanks for your help :)