I have just migrated from a working recalbox 4.0.0 system and can't get Lirc to work.
I get the following output from irw:
000000037ff07be1 01 KEY_UP mceusb
000000037ff07bdd 00 KEY_OK mceusb
000000037ff07bdd 01 KEY_OK mceusb
000000037ff07bdf 00 KEY_LEFT mceusb
000000037ff07bdf 01 KEY_LEFT mceusb
000000037ff07bdf 02 KEY_LEFT mceusb
000000037ff07bdc 00 KEY_BACK mceusb
So it looks like Lirc is working. When I turn on debugging from the Kodi menu I see this in kodi.log:
14:16:51.366 T:1922268752 NOTICE: Log level changed to "LOG_LEVEL_DEBUG_FREEMEM"
14:16:51.367 T:1922268752 NOTICE: Enabled debug logging due to GUI setting. Level 2.
14:16:51.369 T:1922268752 DEBUG: ------ Window Init () ------
14:16:51.544 T:1767674848 DEBUG: BUTTON [ 14 ] on "PLAYSTATION(R)3 Controller" released
14:16:51.544 T:1767674848 DEBUG: FEATURE [ a ] on game.controller.default released
14:17:12.152 T:1812984800 DEBUG: Failed to connect to LIRC. Giving up.
14:17:12.152 T:1812984800 DEBUG: Thread RemoteControl 1812984800 terminating
Kodi fails to connect to Lirc and gives up and terminates the remote control thread.
May be a build problem. Help please.