2017-05-12, 11:17
I have updated my host machine to Ubuntu 17.04 and now my remote control is hardly working and I am starting to go crazy. Maybe someone can help. Here is the situation:
The new lirc version 0.9.4 has new locations for the lircd file instead of /dev/lircd it is in /var/run/lircd/lircd but Kodi seems to just load /dev/lircd.
Additionally Ubuntu now loads the mceusb kernel module which means duplicate key presses for the directional keys.
If I do not use lirc I can "navigate" in Kodi using the mceusb modules bindings but just the directional keys work, all others do not do anything in Kodi (event Enter/OK does not work).
When I symlink the new run file to /dev/lircd Kodi finds the lirc connection, but directional keys are registering double (because of mceusb and lirc triggering them).
If I remove the mceusb kernel module (via blacklist) then Kodi finds the lirc connection but all buttons are going crazy (pressing up makes it go up and up and up infinitely).
If I modprobe mceusb then, the repeated buttons suddenly stop and it will go to registering them twice for each press. If I then rmmod mceusb the lirc commands are handled correctly.
Now this means after every reboot I have to symlink /dev/lircd so kodi finds lirc, then I modproble mceusb and press the directional buttons (to basically initialize the remote device) and then rmmod mceusb after which it works. Until I need to reboot which for some reason is every few days right now.
Since mceusb correctly initializes the device, I think it could be an option to just ditch lirc altogether and switch to mceusb. But I am not sure how I can make the other buttons on the remote work for mceusb. Any help is greatly appreciated.
The new lirc version 0.9.4 has new locations for the lircd file instead of /dev/lircd it is in /var/run/lircd/lircd but Kodi seems to just load /dev/lircd.
Additionally Ubuntu now loads the mceusb kernel module which means duplicate key presses for the directional keys.
If I do not use lirc I can "navigate" in Kodi using the mceusb modules bindings but just the directional keys work, all others do not do anything in Kodi (event Enter/OK does not work).
When I symlink the new run file to /dev/lircd Kodi finds the lirc connection, but directional keys are registering double (because of mceusb and lirc triggering them).
If I remove the mceusb kernel module (via blacklist) then Kodi finds the lirc connection but all buttons are going crazy (pressing up makes it go up and up and up infinitely).
If I modprobe mceusb then, the repeated buttons suddenly stop and it will go to registering them twice for each press. If I then rmmod mceusb the lirc commands are handled correctly.
Now this means after every reboot I have to symlink /dev/lircd so kodi finds lirc, then I modproble mceusb and press the directional buttons (to basically initialize the remote device) and then rmmod mceusb after which it works. Until I need to reboot which for some reason is every few days right now.
Since mceusb correctly initializes the device, I think it could be an option to just ditch lirc altogether and switch to mceusb. But I am not sure how I can make the other buttons on the remote work for mceusb. Any help is greatly appreciated.