[pvrusb2] Trouble with lirc

Mike Isely isely at isely.net
Tue May 9 08:16:17 CDT 2006


On Tue, 9 May 2006, Frans Meulenbroeks wrote:

    [...]

>
> I happen to know my way around remotes and found some
> more info. The hauppauge remote uses the RC5 protocol.
> This sends 1 toggle bit, 6 bits of system code (tv,
> vcr, cd, ...) and 7 bits of command code.
>
> When I repeatedly press key 1 I get as data either
> 0x1781 or 0x1f81. So it seems the high order bit of
> the  2nd byte (the one being 7 or f) is the toggle
> bit.
> the leftmost 1 is the command code (if I press 2 I get
> 1782 or 1f82). the command code for digit 1 is 1, for
> digit 2 is 2 etc.
> The odd thing is that the rest does not look like the
> system code. It seems to be mostly ones, whereas the
> system code for tv is 0 (vcr = 3, btw if I use a vcr
> remote pressing 3 gives me either 1143 or 1943).
> no output for a dvd remote.
>
> I haven't had time yet to enable debug in the driver
> to see what is happening, and I probably won't have
> time before the weekend.
>
> If you happen to have thoughts about this, please
> share them.
>
> Also I am interested to hear from people who have the
> remote running with lirc (even if it is 0.7.0).
> Especially I am interested in the output of mode2 when
> the "1" key on the remote is pressed. (mode2 needs to
> be run when lircd is not active), and in the output of
> irw for that key (needs a running lircd).
>
> Apart from that I am interested in the actual lirc
> conf file (mine was the one for a standard rc5 control
> which is supplied with lirc 0.8.0).
> Here the scancode for key 1 is 0x1001 (which seems
> sensible).

Take a look at misc/lircd.conf in the driver snapshot tarball.

   -Mike


-- 
                         |         Mike Isely          |     PGP fingerprint
      Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                         |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                         |                             |


More information about the pvrusb2 mailing list