[vdr] lirc improvement suggestion

Joerg Riechardt J.Riechardt at gmx.de
Tue Jun 6 22:04:01 CEST 2006


Darren Salt schrieb:
> I demand that Joerg Riechardt may or may not have written...
> 
>> Darren Salt schrieb:
>>> I demand that Ville Skyttä may or may not have written...
> [snip]
>>>> -#define REPEATLIMIT  20 // ms
>>>>  #define REPEATDELAY 350 // ms
>>>> -#define KEYPRESSDELAY 150 // ms
>>>> +#define REPEATFREQ 100 // ms
>>> No. You want at least 114 (for RC5).
>>> [snip]
> 
>> Do you mean REPEATFREQ? It works well here with RC5 and 100.
> 
> (Actually, it's also misnamed: that's a repeat interval.)
> 
> The RC5 repeat interval is (IIRC) 113.4ms. Any soft repeat handler needs to
> have an interval which is no less than this else sometimes you'll be unable
> to avoid an extra repeat.

If you look at how the code works, you will find that that´s not true.
And the repeat interval (incoming keys) depends on the lirc driver. With 
different drivers there are different intervals for the same remote. And 
I am not writing from theory, i checked it.
Jörg

> 
>> Doesn't it work for you??
> 
> Not checked; I'm using LIRC via gxine and irexec.
> 




More information about the vdr mailing list