USB Remote Controls

From Joggler
Jump to navigation Jump to search

Getting USB Remote Controls working under the native (Openpeak/O2) OS build is a little more complicated than it should be.

Kernel Keyboard Support

Openpeak have explicitly disabled USB keyboard support in the native kernel. Most USB remote controls present themselves to the operating system as USB keyboards. To be able to get the kernel to decode the USB keyboard data you need to disable Openpeak's bodge. If you're building your own kernel already, this can be done by disabling CONFIG_OPK_KBD_DISABLE, otherwise you'll need to download update kernels from http://www.icedrop.net/joggler/kernel/. To install these kernels, you must place them on the EFI partition:

mkdir /tmp/efimnt
mount /dev/mmcblk0p1 /tmp/efimnt
cd /tmp/efimnt
mkdir old
mv sum* vmlin* old/
wget http://www.icedrop.net/joggler/kernel/joggler-kernels.tar -O - | tar -xvf -
cd /
umount /tmp/efimnt

LIRC

The easiest way to flexibly remap key presses from USB remote controls to functions of your choosing is to use LIRC. A version of this compiled for the Joggler can be obtained from http://www.icedrop.net/joggler/LIRC/ .