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

Gavin Hurlbut gjhurlbu at gmail.com
Fri Sep 3 18:45:29 UTC 2010


On Fri, Sep 3, 2010 at 11:11 AM, jmk <jmk at foofus.net> wrote:

> 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
>
> It appears to not be printing the entire code, only 16 bytes at a time.
> Some of the byte pairs are also flipped and some are shuffled in a
> nonsensical manner. For example, "0001" vs "0100" at the start of the
> two responses for the "5" key (Perl method vs. hexdump).
>

The 00 01 vs 0100 is because you are on a little-endian box. If you want
hexdump to output in a different than default format, try "man hexdump".

I think the hexdump -C format is more likely what you'd want to see.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100903/4773ef2a/attachment.htm>


More information about the mythtv-users mailing list