Using HP DEC Remote with 2.6.8 kernel
HP DEC IR receiver uses an AT keyboard interface with the motherboard.
Minor modifications to the AT keyboard can allow AT keyboard driver in
2.6.8 kernel to work with DEC remote. Each key on remote sends a
scancode through the AT keyboard driver. By associcating appropriate
keycode with each of these scancodes, it is possible to use remote
control to control applications. Follow these steps to get remote
control working:
- Apply this patch to 2.6.8 kernel with "patch -p1 <
decremote_2.6.8.patch".
- Build a new kernel, install it and reboot into this new kernel.
- Use setkeycodes to associate a keycode with scancode for the remote
control keys you want to use. A list of scancodes produced by individual
remote keys is available here. To
determine the keycodes for various characaters, use "dumpkeys" command.
This is an example of commands you can
use to set up the remote for use with mythtv.