← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1788235] Re: lirc broken on 18.04

 

Kodi definitely works with the latest versions of Lirc and the problem
is very easy to fix so stop downgrading your systems to an older version
of Lirc!!!!

The problem is Kodi defaults to looking for a Lirc socket at /dev/lircd
which doesn’t exist anymore. In Lirc > 0.9.0 the socket is now defined
within the /etc/lirc/lirc_options.conf file and defaults to
/var/run/lirc/lircd.

To get Kodi working with the latest versions of Lirc do one of the
following:

1. Modify the /etc/lirc/lirc_options.conf file and change the output variable to /dev/lircd. You’ll need
to restart the lircd service or reboot.

2. Start Kodi with the -l argument and manually specify the Lirc socket.

e.g: kodi -l /var/run/lirc/lircd

3. Modify the /lib/systemd/system/lircd.service to create a symlink from /dev/lircd to
/var/run/lirc/lircd each time the lircd.service or system is restarted:

e.g: Edit the file so it looks like the following.

[Service]
Type=simple
ExecStart=/usr/sbin/lircd –nodaemon
ExecStartPost=/bin/ln -sf /var/run/lirc/lircd /dev/lircd

Reboot

Lastly, and this maybe a problem specific to my setup, but I kept
getting repeating remote button presses the first time I started Kodi
after a reboot. Launching Kodi a second time and the problem was gone. I
found that disabling the lircd-uinput service fixed the problem and now
Kodi starts up properly and my remote works perfectly.

e.g: sudo systemctl disable lircd-uinput.service

What I still cannot get working is the lirc-setup app (which replaces
dpkg-reconfigure lirc). I’ve tried doing pip3 install
/usr/share/lirc/lirc-0.10.0.tar.gz suggested elsewhere but just more
errors. I don’t really need it as I can manually edit the conf files;
not to mention the defaults (using the devinput driver) worked with my
MCEUSB remote.

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/1788235

Title:
  lirc broken on 18.04

Status in lirc package in Ubuntu:
  Invalid

Bug description:
  Lirc 0.10.0-2 is never configured after installation. Manually running
  "dpkg-reconfigure lirc " also does not do anything. I also noticed
  that /usr/share/lirc/remotes is empty, which is where I had my config
  file for Ubuntu 16.04.

  This was an upgrade install from 16.04.
  Searching the web indicates others have this problem. Some have reverted to the lirc from 16.04. Others recommend using pip3 to install lirc 0.10.10, but I have been unsuccessful so far.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1788235/+subscriptions


References