Skip to content

Infrared Input and Buttons

The infrared receiver and buttons are Linux input devices. They appear as /dev/input/event* device nodes and generate standard input events.

Use evtest to identify the available input devices:

evtest

Select a listed /dev/input/event* device, then press a button or send a command from the infrared remote. evtest prints the resulting key events. To test a known device directly, pass its event node:

evtest /dev/input/event0

Use the device name shown by evtest to distinguish the infrared receiver from the buttons; event numbers may change between boots.