<div dir="ltr"><div>Hi Stephen,</div><div><br></div><div>Yes, this is a new 20.04 install.</div><div>However, it appears the issue is deeper than the MythTV response. It turns out, as soon as I start Mythfrontend, the lircd daemon shuts down.</div><div>In other words, I can restart lircd.service, and the syslog shows that everything starts up OK and /etc/lirc/lircd.conf.d/mceusb.lircd.conf is read:</div><div>Nov 13 13:20:45 mediaserver lircd-0.10.1[4262]: Info: Using remote: mceusb_hauppauge.<br>Nov 13 13:20:45 mediaserver lircd-0.10.1[4262]: Notice: /etc/lirc/lircd.conf.d/mceusb.lircd.conf: mceusb_hauppauge: Multiple definitions of: KEY_TV<br>Nov 13 13:20:45 mediaserver lircd-0.10.1[4262]: Info: Using remote: vista_mce.<br>Nov 13 13:20:45 mediaserver lircd[4262]: lircd-0.10.1[4262]: Notice: lircd(devinput) ready, using /var/run/lirc/lircd<br>Nov 13 13:20:45 mediaserver lircd-0.10.1[4262]: Notice: lircd(devinput) ready, using /var/run/lirc/lircd<br>Nov 13 13:20:45 mediaserver systemd[1]: Started Flexible IR remote input/output application support.</div><div><br></div><div>However upon launching Mythfrontend, I see this in the log:</div><div>Nov 13 13:21:08 mediaserver lircd[4262]: lircd-0.10.1[4262]: Notice: accepted new client on /var/run/lirc/lircd<br>Nov 13 13:21:08 mediaserver lircd[4262]: lircd-0.10.1[4262]: Info: initializing '/dev/input/event4'<br>Nov 13 13:21:08 mediaserver lircd[4262]: lircd-0.10.1[4262]: Info: Using device: /dev/input/event4<br>Nov 13 13:21:08 mediaserver lircd-0.10.1[4262]: Notice: accepted new client on /var/run/lirc/lircd<br>Nov 13 13:21:08 mediaserver lircd[4262]: lircd-0.10.1[4262]: Info: removed client<br>Nov 13 13:21:08 mediaserver lircd[4262]: lircd-0.10.1[4262]: Info: closing '/dev/input/event4'<br>Nov 13 13:21:08 mediaserver lircd-0.10.1[4262]: Info: initializing '/dev/input/event4'<br>Nov 13 13:21:08 mediaserver lircd-0.10.1[4262]: Info: Using device: /dev/input/event4<br>Nov 13 13:21:08 mediaserver lircd-0.10.1[4262]: Info: removed client<br>Nov 13 13:21:08 mediaserver lircd-0.10.1[4262]: Info: closing '/dev/input/event4'<br></div><div>At this point only the arrow keys work, and irw shows only the keyboard input from the arrow keys.</div><div><br></div><div>Any ideas why mythfrontend would trigger lircd to shut down?</div><div><br></div><div>Thanks-</div><div>Steve<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 8, 2021 at 12:57 AM 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 Sun, 7 Nov 2021 18:03:43 -0800, you wrote:<br>
<br>
>Hi Stephen,<br>
><br>
>I've finally just upgraded from 18.04 to 20.04. I've run your helpful<br>
>script to install and fix the lirc packages.<br>
>I ran lirc-setup and successfully selected my IR receiver and remote type<br>
>(mceusb).<br>
>Following, I copied the lirc_options.conf to /etc/lirc and verified the<br>
>mceusb.lirc.conf file was in ~/lirc-setup.conf.d<br>
>Finally, I copied my working lircrc file from ~/.mythtv/ in my 18.04 to the<br>
>new 20.04 installation.<br>
><br>
>I can run irw and see that all of the remote buttons are properly received.<br>
>I do sudo systemctl status lircd-dev.service and see that it has run<br>
>successfully to create the softlink for /dev/lircd<br>
>I checked that /dev/lircd is what is specified in the mythfrontend setup.<br>
>However, Mythfrontend does not respond to the remote input. Can you think<br>
>of anything I might be missing?<br>
><br>
>Thanks,<br>
>Steve<br>
<br>
So this is not actually an upgrade in place - you are installing on a<br>
new 20.04 system by copying from a working 18.04 on another PC - is<br>
that right? If you were upgrading in place, it should have been<br>
working immediately after running my script.<br>
<br>
As irw is working, the lirc side of things is likely to be all good,<br>
so it is the mythfrontend side that is not working yet. To check<br>
that, shut down mythfrontend and run:<br>
<br>
ircat mythtv<br>
<br>
as your normal user (not as root).<br>
<br>
The "mythtv" there is the name that all MythTV programs provide to<br>
lirc when connecting to it, and is the same "mythtv" string that<br>
should be in your $(HOME)/.lirc/mythtv file in the "prog =" lines:<br>
<br>
begin<br>
remote = devinput<br>
prog = mythtv<br>
button = KEY_EXIT<br>
config = Escape<br>
repeat = 0<br>
delay = 0<br>
end<br>
<br>
So for the above, when you use the Back button on your MCE remote, it<br>
will produce KEY_EXIT in irw, and lirc will translate that to "Escape"<br>
and that is what "ircat mythtv" should then display. If that is not<br>
working, then check that you have copied your $(HOME)/.lirc directory<br>
to the new PC. Lirc capable programs load their lirc configuration by<br>
loading $(HOME/.lircrc, and in a MythTV created .lircrc, all you will<br>
find is a set of includes for files in $(HOME)/.lirc, which all need<br>
to be there.<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><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">________________________<br>"destroying the fundamental underpinnings of the broadcast television ecosystem"</div>