← 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 i
> is very easy to fix so stop downgrading your systems to an older version of 
> Lirc!!!!

Right.

> The problem is Kodi defaults to looking for a Lirc socket at /dev/lircd which 
> doesn’t exist anymore.

Has anyone cared to file a bug against kodi on this?

> 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:

Please, no. The files in /lib/systemd/system should not be tampered with, they are
replaced on package update without mercy. Instead, copy /lib/systemd/system/lircd.service
to /etc/systemd/system and modify that copy (it overrides the /lib/systemd one).

Also note that lirc_options.conf supports code: stanzas which are executed as
root before lircd is launched. Linking could be done here instead of patching the service
file.

And, finally: the /dev directory is just not aimed for this kind of files, it's supposed
to be handled by udev. So, creating links here should be avoided if at all possible.

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

Indeed. Debian upstream by default disables this service in last update. Using 
'systemctl disable --now lircd-uinput.service' is probably the best to both stop and disable. 

> What I still cannot get working is the lirc-setup app (which replaces
dpkg-reconfigure lirc)

Also this is fixed in debian upstream. Until it trickles down, the dirty work-around is 
something like:


    # libdir=/usr/lib/x86_64-linux-gnu/python3.6/site-packages
    # cp /usr/share/lirc/python-pkg/config.py $libdir/lirc
    # ln -s $libdir/lirc /usr/lib/python3/dist-packages/
    # ln -s $libdir/lirc-setup /usr/lib/python3/dist-packages/

-- 
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