The infrared decoder is implemented as a kernel driver since the CPU gets an interrupt for each transition of the IR waveform (after demodulation). The interrupt routine runs state machines for the Kenwood remote and for the buttons in parallel so adding another remote is quite straightforward.

There is also a "capture" mode whereby the timings are saved to allow the remote sequence to be decoded. Unless you already know the sequences sent by your remote you will probably need to use this feature.

Note that I'm planning on making some changes to the IR driver to better support auto-repeat which is currently dealt with in an overly-complex and inflexible way.

--
Mike Crowe
I may not be speaking on behalf of empeg above :-)
_________________________
--
Mike Crowe