This may be an option, but I think we should be able to attach protocol
decoders in parallel, directly to the IRQ handler. At least with RC-5
(that's what I personally use) it means reliable decoding, no need for
any timeouts, the code is clean, fast (can be a part of hard IRQ
handler) and simple.
The decoder needs something like
rc5_signal_change(ptr, space_or_mark, microseconds).
At least mark->space or space->mark events must be reported. For better
reliability, both of them.
--
Krzysztof Halasa
--