Hama MCE Remote Control (Infrared, USB)
> Multimedia (245)
> Multimedia > CCTV (8)
> Multimedia > Misc (9)
> Multimedia > Radio (2)
> Multimedia > Sound (54)
> Multimedia > TV (111)
> Multimedia > Webcam (70)
Review of Linux Compatibility
The low priced infraread remote control and USB receiver from Hama are supported by Linux. The infraread signals are transferred to the system per /dev/input/event device and are interpreted from the Linux kernel as keyboard and mouse events. Hence, even the mouse pointer can be controlled by the gray round controller, which is availabe at the remote.
Sending and receiving does not support transmitting of repeated signals, which occurs if a button stays pressed. Instead, the button has to be pushed repeatedly (this could eventually limit the application scenario of the remote).
After plugging the receiver into the USB port it is recognized by the Linux kernel (Linux version 3.2.0-24-generic) in the following way:
usb 3-4: new low-speed USB device number 5 using ohci_hcd mtp-probe: checking bus 3, device 5: "/sys/devices/pci0000:00/0000:00:04.0/usb3/3-4" input: HID 05a4:9881 as /devices/pci0000:00/0000:00:04.0/usb3/3-4/3-4:1.0/input/input12 generic-usb 0003:05A4:9881.0005: input,hidraw0: USB HID v1.10 Keyboard [HID 05a4:9881] on usb-0000:00:04.0-4/input0 mtp-probe: bus: 3, device: 5 was not an MTP device input: HID 05a4:9881 as /devices/pci0000:00/0000:00:04.0/usb3/3-4/3-4:1.1/input/input13 generic-usb 0003:05A4:9881.0006: input,hidraw1: USB HID v1.10 Mouse [HID 05a4:9881] on usb-0000:00:04.0-4/input1 input: HID 05a4:9881 (lircd bypass) as /devices/virtual/input/input14
and the necessary input devices, which transfer the keyboard and mouse events to the system, are created automatically. The USB ID shown by lsusb is the following:
Bus 003 Device 003: ID 05a4:9881 Ortek Technology, Inc.
Usually the events of the remote are interpreted by the kernel like a keyboard of mouse event without the need of an additional driver. But if it is required to use the remote together with LIRC the LIRC driver devinput has to be activated:
# /etc/lirc/hardware.conf # #Chosen Remote Control REMOTE="Hauppauge TV card" REMOTE_MODULES="lirc_dev lirc_i2c" REMOTE_DRIVER="devinput" REMOTE_DEVICE="/dev/input/event2" REMOTE_SOCKET="" REMOTE_LIRCD_CONF="/etc/lirc/hama.txt" REMOTE_LIRCD_ARGS=""
It can happen that the numbering of the input devices (event1, event2, …) is reshuffled at each reboot of the PC because the hardware gets recognized in different orders at each boot. In this case on should use the unvariable device files “/dev/input/by-id/usb-...” instead of “/dev/input/eventX“.
A detailed configuration of the remote together with LIRC can be found at VRC-1100 Ortek Technology MCE Clone Remote.