/dev/input/eventX
evdev input device
Apple ir receiver driver
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device appleir device hidbus device hid device evdev
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
appleir_load="YES"
The appleir driver provides support for Apple IR receivers found in Mac computers (2006-2011 era). It supports both Apple Remote controls and generic IR remotes using the NEC infrared protocol.
Supported devices include:
Apple IR Receiver (USB product IDs 0x8240, 0x8241, 0x8242, 0x8243, 0x1440)
The driver decodes proprietary Apple Remote button presses and provides a default keymap for common NEC protocol codes used by generic IR remotes. Unmapped button codes can be accessed via the raw HID device at /dev/hidrawX for custom userland remapping.
The /dev/input/eventX device presents the remote control as an evdev input device with standard KEY_* codes suitable for media applications.
The appleir driver supports Apple IR receivers with USB vendor ID 0x05ac and the following product IDs:
Apple IR Receiver (first generation)
Apple IR Receiver
Apple IR Receiver (Mac Mini 2011, MacBook Pro 3,1)
Apple IR Receiver
Apple IR Receiver (slim)
/dev/input/eventX
evdev input device
/dev/hidrawX
raw HID device for custom button mapping