[vdr] Key-repeat or release magic in RCU drivers
marko.makela at hut.fi
Thu Feb 2 16:46:16 CET 2006
On Wed, Feb 01, 2006 at 09:56:40PM +0000, Darren Salt wrote:
> 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:
> >> (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-220.127.116.11/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...
Which kernel version are you referring to? 18.104.22.168 lacks that file.
I see that 2.6.16 is right around the corner.
I would really appreciate it if you could have a look at this. I have very
little experience in kernel hacking. Last time I wrote something nontrivial
was about 8 years ago. If you're not interested, I can try to come up with
a cx88-specific patch, which can be refactored later.
More information about the vdr