[vdr] Key-repeat or release magic in RCU drivers

Darren Salt linux at youmustbejoking.demon.co.uk
Wed Feb 1 22:56:40 CET 2006


I demand that Marko Mäkelä may or may not have written...

> On Wed, Feb 01, 2006 at 07:51:04PM +0100, Oliver Endriss wrote:
[snip]
>> (1) The repeat timer of the input layer must be turned off, and the
>>     natural repeat rate of the RC5 frames should be used. Anything else
>>     will result in inaccurate operation.

>> (2) The key-up timeout should be set to 280ms or higher (>= 2x repeat
>>     rate). This will allow for one missing RC5 frame which may happen due
>>     to transmission errors.

> Thanks, this sounds exactly what I'm looking for!

> The 280 ms you mention matches the #define UP_TIMEOUT (HZ*7/25) in
> /usr/src/linux-2.6.14.3/drivers/media/dvb/ttpci/av7110_ir.c on my vdr box.
> I'll see if I'm smart enough to port the code to the cx88 driver.

linux/drivers/media/common/ir-functions.c would seem to be the right place
for that code...

-- 
| Darren Salt | d youmustbejoking,demon,co,uk | nr. Ashington,
| Debian,     | s zap,tartarus,org            | Northumberland
| RISC OS     | @                             | Toon Army
|   <URL:http://www.youmustbejoking.demon.co.uk/> (PGP 2.6, GPG keys)

Whoops, stepped on a dried frog pill.



More information about the vdr mailing list