<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 11, 2020 at 12:32 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 Mon, 11 May 2020 11:40:02 -0400, you wrote:<br>
<br>
>On Mon, May 11, 2020 at 11:09 AM Stephen Worthington <<br>
><a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br>
><br>
>><br>
>> As installed on a new 20.04 system, the lirc package does not install<br>
>> an /etc/lirc/lirc_options.conf file.  This makes lircd crash when it<br>
>> is started as part of the package install.  The workaround is to copy<br>
>> the package's /etc/lirc/lirc_options.conf.dist file to<br>
>> /etc/lirc/lirc_options.conf after the install fails, and then remove<br>
>> and reinstall the lirc package.  Then the install should complete<br>
>> without crashing.  There is a fix in testing for this, which should<br>
>> come through as an updated package soon.  However, there may be other<br>
>> problems with the lirc package - the 18.04 lirc package was also<br>
>> missing a lib file for lirc-setup so it could not be run, and there<br>
>> were some other problems.  Unless those have been fixed in the<br>
>> interim, they could still be there.  I would recommend doing these<br>
>> commands to make sure the other (unconfigured) services that are<br>
>> installed by the lirc package are shut down and disabled:<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>
>> If you need a working config for an MCE remote, that is what I use on<br>
>> 18.04 and the config in 20.04 does not seem to have changed, so I<br>
>> could put mine on my web server for you.  In 18.04, lircd itself was<br>
>> fully functional as installed by the package, and if that is also the<br>
>> same in 20.04, manually installing a config should make it work.<br>
>><br>
>> The fix script I did for 18.04 is not likely to work for 20.04,<br>
>> unfortunately, as it downloads the lirc source package and compiles<br>
>> it.  If you wanted to try it, you would have to change all the<br>
>> references to 18.04 to 20.04, and then it might work.  I have only got<br>
>> 20.04 on a virtual machine at the moment, so it does not have any way<br>
>> to run an IR remote for me to test with.  I am intending to update my<br>
>> script as soon as I upgrade my laptop to 20.04, but that will not<br>
>> happen until 20.04.1 is available (June?) so that I can do an LTS to<br>
>> LTS upgrade.<br>
>><br>
>><br>
>First, thanks for the help.  This system I'm playing with is a development<br>
>system that I'm using to learn how stable 20.04 is at this point.  It has a<br>
>lot of issues that need to be fixed.  So I'm not concerned if I have to<br>
>blow everything away and reinstall.<br>
><br>
>At this point I modified your 18.04 script to use lirc 10.1 instead of<br>
>10.0. So the script is doing something.<br>
><br>
>I just did your sequence of systemctl commands and moved my IR receiver to<br>
>another port and now it's visible with lsusb.<br>
><br>
>So I have mythfrontend using the MCE remote, but I'm missing functions.<br>
>Right now only the  direction arrows are working.  No "select/enter" and no<br>
>stop or pause or play.<br>
><br>
>It maybe all I need is a configuration file for my model 1039 MCE remote???<br>
><br>
>Jim A<br>
<br>
Only having the arrow keys working is the normal symptom of lirc not<br>
working at all and mythfrontend getting keystrokes directly from the<br>
devinput driver.  The arrow keys are normally the only ones that are<br>
mapped to something that mythfrontend responds to.  Maybe the number<br>
keys will also work.  I would suggest trying the irw program to see if<br>
there is any output from the lirc socket when you press a remote<br>
button.  I am guessing that there will be nothing.<br></blockquote><div><br></div><div>Since I am having other issues with 20.04 like it crashing and sending a dump to  Ubuntu every boot, I thought I'd blow it all away and go back to 18.04.</div><div>So my question now is do I just download your lirc build script and run it?  Then what files to I need to include for MCE USB model 1039 to work properly??</div><div><br></div><div>Jim A</div><div> </div></div></div>