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

jmk jmk at foofus.net
Fri Sep 3 20:17:53 UTC 2010


On Fri, 2010-09-03 at 20:57 +0200, Wayne Thomas wrote:
> 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).

hexdump /dev/usb/hiddev0
0000000 0000 000c 0000 0000 0041 000c 0001 0000
0000010 0041 000c 0000 0000 0000 000c 0001 0000
0000020 0020 000c 0053 0000 

hexdump -e '1/1 "%2.2x" "\n"' /dev/usb/hiddev0
00*0c00*41000c000100*41000c00*0c000100*20000c005300*

This is for the "Select" key (0x41). Unfortunately, I'm not seeing any
instances of 0xffbc. I'm skeptical of 0x000c being its usage page --
each device type should have a unique one, correct?

Thanks,
Joe




More information about the mythtv-users mailing list