[mythtv-users] TiVo Slide Remote, Linux and Scan Codes

Wayne Thomas waynethomas69 at gmail.com
Fri Sep 3 18:57:27 UTC 2010


> Are there any tricks to hexdump? "hexdump /dev/hidraw5" for two presses
> of "5" returns:
>
> 0000000 0100 0000 001e 0000 0000 0100 0000 0000
> 0000010 0000 0000 1300 0052 0001 1e00 0000 0000

Sorry, put you slightly wrong.  Have a look at the output of hexdump
for /dev/usb/hiddev0

I didn't find any documentation (short of learning the entire
architecture) either so just looked at existing drivers and
eavesdropped on various devices until I was able to spot the patterns
I was looking for from the appropriate device.  If you use hexdump on
/dev/usb/hiddev0 you should hopefully see something like...

0000030 005c ffbc 0001 0000 005c ffbc 0000 0000

...for each press of a key that currently doesn't work.  From the
example above (Green button on the Emprex) the usage page appears
twice (ffbc) as does the output for that key (005c).  If the usage
page is also ffbc you are in luck and should be able to add all of the
keys to the topseed driver (assuming they aren't already covered).

Cheers
Wayne


More information about the mythtv-users mailing list