First install the System Tools addon (from the LibreELEC repository, in the section "Programs") and enable debug logging in kodi. Then reboot.
Now press up/down/left/right/OK buttons (plus any other buttons on the remote) and observe if they trigger some obvious functions in kodi.
Then ssh into LE and run the following commands and post the output:
systemctl stop kodi
systemctl stop eventlircd
paste .kodi/temp/kodi.log
journalctl -a | paste
lsusb
Then run
and choose the event device number of the Apple IR receiver (it should have appleir or something similar in it's description. evtest will then output some info, ignore that.
Now press all of the buttons, one after the other. You should see some lines like
Event: time 1565859742.121362, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00e9
Event: time 1565859742.121362, type 1 (EV_KEY), code 115 (KEY_VOLUMEUP), value 1
Event: time 1565859742.121362, -------------- SYN_REPORT ------------
Event: time 1565859742.137362, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00e9
Event: time 1565859742.137362, type 1 (EV_KEY), code 115 (KEY_VOLUMEUP), value 0
Event: time 1565859742.137362, -------------- SYN_REPORT ------------
for each button press. Post that output here, too.
so long,
Hias