2013-04-22, 15:26
(2013-04-22, 13:40)stef70 Wrote: This is not tested but until there is a real patch for RC-6, the following changes in the drivers/media/rc sources could make the current RC6 decoder a lot more usable:Ah, you mean kernel sources at drivers/media/rc/rc-main.c. Interesting, I might test that at some point, given that my HTPC is using Gentoo, where recompiling the kernel is an easy task.
(1) Reduce the timeout value in rc-main controled by the macro IR_KEYPRESS_TIMEOUT which is currently 250ms
The smalled possible value depends of the repeat delay of the protocol which appears to be around 83 ms.
A value of 100ms or 150ms should work file.
(2013-04-22, 13:40)stef70 Wrote: (2) Reduce the timeout in the ir driver.
On my system, the driver is ite_cir and its timeout is controled by the macro ITE_IDLE_TIMEOUT = 200ms in ite-cir.h
A value around 50ms should be fine except that 100ms appears to be the minimum for ite_cir (see ITE_MIN_IDLE_TIMEOUT).
Is it a soft or heard limit? I don't know.
THIS IS NOT TESTED and that is likely to break other decoders that may require longer timeouts.
Huh. Well, in my case I don't use a specific driver for the IR device, as it's bundled with my TV card. Is this second step really necessary for other remotes?