Closed bengtmartensson closed 7 years ago
Turns out that the API for /dev/lirc has changed: man lirc(4) says:
LIRC_GET_REC_MODE
Return the receive mode, which will be one of:
LIRC_MODE_MODE2 (void)
The driver returns a sequence of pulse/space durations.
LIRC_MODE_LIRCCODE
The driver returns integer values, each of which represents
a decoded button press.
If a device returns an error code for LIRC_GET_REC_MODE, it is safe to
assume it is not a lirc device.
What an API!
This is the the problem of https://github.com/bengtmartensson/harctoolboxbundle/issues/177