Hello,
I have some remote controls that are handled by the USB HID driver and
the AT keyboard driver. These are hard to get working with LIRC. Even
though recent versions of LIRC can read /dev/input/eventX devices, you
still need to use irrecord to painstakingly create a suitable
configuration file. However, the kernel's input layer already assigns
appropriate symbolic names to multimedia keys. To make life easy, I have
written a small daemon that acts like a LIRC daemon, but only processes
/dev/input/eventX files and translates events directly to useful
symbolic names, without any further configuration necessary. I have
tested this with a few keyboards with multimedia keys, an USB remote
control dongle that acts like a HID, and another remote control that is
handled by the AT keyboard driver.
You can download the software from the following subversion repository:
http://svn.sliepen.eu.org/inputlirc/trunk/You need to have /usr/include/linux/input.h present. To compile and run:
make
./inputlircd /dev/input/event*
All LIRC clients should work with inputlircd. Use irw or input-events
from the input-utils package to find out the names of the buttons, and
write your .lircrc accordingly.
Comments are welcome.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <
guus@...>