<div dir="ltr"><div dir="ltr">If I may hijack this thread, I'm in the same/similar situation: just upgraded 16.04->18.04 and no LIRC.  I tried running your script but I get this error:<div><div>bash: ./<a href="http://lirc-ubuntu-18.04-install.sh">lirc-ubuntu-18.04-install.sh</a>: /bin/bash^M: bad interpreter: No such file or directory</div></div><div><br></div><div>I'm sure it's something simple but I'm not that knowledgeable about scripting.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 13, 2019 at 7:28 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 13 Mar 2019 21:24:18 +0100, you wrote:<br>
<br>
>On 13/03/19 19:05, Allen Edwards wrote:<br>
>> <br>
>> <br>
>> <br>
>> On Wed, Mar 13, 2019 at 10:48 AM Zach Cutlip <<a href="mailto:uid000@gmail.com" target="_blank">uid000@gmail.com</a><br>
>> <mailto:<a href="mailto:uid000@gmail.com" target="_blank">uid000@gmail.com</a>>> wrote:<br>
>> <br>
>>     Hello,<br>
>> <br>
>>     After upgrading my MythTV setup from Ubuntu 16.04 (lirc 0.9.0) to<br>
>>     Ubuntu 18.04 (lirc 0.10.0), and jumping through various hoops to get<br>
>>     lircd working again, I'm finding it to be very unreliable.<br>
>> <br>
>>     Any suggestions, or things to try?<br>
><br>
><br>
>Most likely an upgrade problem. The upgrade to 0.9.0 requires manual<br>
>intervention [1]<br>
><br>
>Cheers!<br>
>--alec<br>
><br>
><br>
>[1] <a href="https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1791409" rel="noreferrer" target="_blank">https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1791409</a><br>
<br>
The lirc package as installed by 18.04 is broken.  There are a number<br>
of problems with it, but the one that is most obvious is that<br>
lirc-setup does not work at all (it can not find required library .so<br>
files).  Your problem sounds like one of the other problems, which is<br>
that it sets up systemd to run lircmd, lirc-uinput and irexec as<br>
daemons, but does not set up valid configuration for those daemons. So<br>
they run in the background and one (I think it is lircd-uinput) steals<br>
keystrokes from the main lirc daemon.  So try running these commands<br>
and see if it fixes your problem: <br>
<br>
sudo systemctl stop lircmd<br>
sudo systemctl stop lirc-uinput<br>
sudo systemctl stop irexec<br>
sudo systemctl disable lircmd<br>
sudo systemctl disable lirc-uinput<br>
sudo systemctl disable irexec<br>
<br>
Alternatively, if you want to fix all the problems I found in 18.04's<br>
lirc package, you can download and run the script I wrote:<br>
<br>
<a href="http://www.jsw.gen.nz/mythtv/lirc-ubuntu-18.04-install.sh" rel="noreferrer" target="_blank">http://www.jsw.gen.nz/mythtv/lirc-ubuntu-18.04-install.sh</a><br>
<br>
It fixes lirc-setup, the above problems and probably a few more I have<br>
forgotten about.  It needs to be run with sudo or as root.  I am a bit<br>
surprised that your lirc is working at all - the 16.04 to 18.04<br>
upgrade does not normally produce a working lirc setup, so you must<br>
have done a lot of manual configuration.<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>