Did you stop lircd and eventlircd first?
I tried that but it made no difference. Also the lircd service doesn’t seem to be installed? I already installed the osmc-lircd remote in myOSMC and using the OSMC entertainment device profile with the Harmony, it works in Kodi. But triggerhappy sees no events.
root@osmc:~# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: gpio_keypad
/dev/input/event1: cec_input
/dev/input/event2: OSMC Remote Controller USB Keyboard Mouse
/dev/input/event3: OSMC Remote Controller USB Keyboard Mouse
/dev/input/event4: meson-ir
/dev/input/event5: lircd
/dev/input/event6: eventlircd
/dev/input/event7: Harmony Keyboard
Select the device event number [0-7]:
root@osmc:~# systemctl stop lircd
Failed to stop lircd.service: Unit lircd.service not loaded.
root@osmc:~# systemctl stop eventlircd
root@osmc:~# thd --dump /dev/input/event*