I have an old Philips SRM-7500 (it’s an RF remote with a USB dongle) that I’ve been trying for the past few days to get it to work with Kodi on my CE box (CE-19 although I can update to 20 rc if needed). So far I’ve been unable to have Kodi pick up the remote events.
The remote does work. I tested it by running lircd manually (this remote requires some special LIRC parameters in order to run properly):
# lircd -n --driver=srm7500libusb --device=macShortAddress=12:34,remoteShortAddress=56:78,macPANId=9a:bc /storage/lirc/philips-srm-7500-lircd.conf
and then I can use irw:
# irw /run/lirc/lircd.socket
When starting irw, the remote dongle LED turns on, which means that the dongle is connected to the remote. Pressing buttons on the remote echo on irw’s output. So I know the remote is working fine and that CE’s LIRC version has support for the remote and its driver.
Problem is, I can’t get Kodi to pick up the remote button presses. Both the LIRC configuration and the Kodi Lircmap came from here. Kodi simply does nothing, and the remote LED does not light up even after restarting Kodi (it should light up to indicate that a LIRC client has connected and is using the remote/listening for events).
I know that running LIRC manually in this way is not the correct way to do it, as I should be using eventlircd. Sadly eventlircd has no configuration for this remote so I would have to write some udev rules from scratch for it (and possibly an evmap? Also I’d need custom LIRC startup parameters and the documentation is sparse). I wanted to first have something working with Kodi before turning to the eventlircd approach.
Any help/comments/suggestions are greatly appreciated.