Em Thu, 19 Jun 2014 13:59:49 +0200 Niels Laukens <niels@xxxxxxxxxxxxxxx> escreveu: > On 2014-06-19 11:05, David Härdeman wrote: > > On Thu, Jun 19, 2014 at 10:25:29AM +0200, Niels Laukens wrote: > >> Made the distinction between repeated key presses, and a single long > >> press. The NEC-protocol does not have a toggle-bit (cfr RC5/RC6), but > >> has specific repeat-codes. > > > > Not all NEC remotes use repeat codes. Some just transmit the full code > > at fixed intervals...IIRC, Pioneer remotes is (was?) one example... > > A way to cover this, is to make this mechanism optional, and > auto-activate as soon as a repeat code is seen. But that will only work > reliably with a single (type of) remote per system. Is this a better > solution? No, auto-activating is a very bad idea, as it means that any NEC remote, if ever pressed in the room, will change the driver behavior. We should be able to support both cases: the one with specific repeat codes and the ones that don't support, at the same time. Regards, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html