<div dir="ltr"><div>Hi Stephen,<br></div><div><br></div>Thank you for the <a href="http://lirc-ubuntu-20.04-install.sh">lirc-ubuntu-20.04-install.sh</a> script.  It helped me restore my remote's usability after upgrading to Ubuntu 20.04.<br><br><div>Nathan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 24, 2022 at 1:02 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 Tue, 24 May 2022 09:29:13 -0500, you wrote:<br>
<br>
>Hi,<br>
><br>
>I am upgrading my mythtv setup from version .29 to .32.  I have everything<br>
>working except my remote.  I installed Mythbuntu CC and configured my<br>
>remote.  I am able to use the arrow keys and the power button sleeps the<br>
>machine (dont want).  Doing some reading i think my remote is emulating a<br>
>keyboard with ir-keytable.  when i do "ir-keytables -t" I can see all the<br>
>button presses.  BUT when i go into mythtv and try and program buttons such<br>
>as back, ok, or jumppoints it shows nothing.  is there a config file<br>
>between ir-keytables and mythtv that i am missing?  Last time i did this it<br>
>was all with LIRC should i switch back?<br>
><br>
>using a MCE remote:<br>
>mitchell@mythtv:~$ sudo ir-keytable<br>
>Found /sys/class/rc/rc0/ with:<br>
>        Name: Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)<br>
>        Driver: mceusb<br>
>        Default keymap: rc-rc6-mce<br>
>        Input device: /dev/input/event7<br>
>        LIRC device: /dev/lirc0<br>
>        Attached BPF protocols: Operation not supported<br>
>        Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo<br>
>mce_kbd rc-6 sharp xmp imon rc-mm<br>
>        Enabled kernel protocols: lirc rc-6<br>
>        bus: 3, vendor/product: 1934:5168, version: 0x0001<br>
>        Repeat delay = 500 ms, repeat period = 125 ms<br>
<br>
I am guessing that you have upgraded your system as well as your<br>
MythTV version.  A while back, there was a major change to lirc, the<br>
software that runs the infrared remotes.  A lot of the lirc drivers<br>
where moved into the kernel and how it works was substantially changed<br>
to match that.  Your symptoms are what you get if lirc is not working<br>
and the IR driver code is sending keystrokes to the keyboard system<br>
instead of lirc.  Only the arrows and a few other keys (volume and<br>
power) will do anything as they are matching keystrokes that the<br>
system recognises.  All the other keycodes do not match and are<br>
discarded.<br>
<br>
So you basically need to start from scratch with your lirc<br>
configuration and make it work again.  On top of that, the lirc<br>
packages for Ubuntu since that change are broken and the Python<br>
programs now used to configure lirc will not work as there is a<br>
missing .so library file.  I have written fix scripts for the Ubuntu<br>
18.04 LTS, 20.04 LTS and 21.10 versions, available on my web server.<br>
There are also some other problems that are fixed by the scripts.<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>
<a href="http://www.jsw.gen.nz/mythtv/lirc-ubuntu-20.04-install.sh" rel="noreferrer" target="_blank">http://www.jsw.gen.nz/mythtv/lirc-ubuntu-20.04-install.sh</a><br>
<a href="http://www.jsw.gen.nz/mythtv/lirc-ubuntu-21.10-install.sh" rel="noreferrer" target="_blank">http://www.jsw.gen.nz/mythtv/lirc-ubuntu-21.10-install.sh</a><br>
<br>
The scripts will install a working lirc for you.  It is probably best<br>
to uninstall the existing lirc package first, so you get a clean lirc<br>
install.  Make sure you keep copies of your old working lirc<br>
configuration for reference.<br>
<br>
There are some threads on this mailing list that should tell you all<br>
you need to know.  This wiki page tells you where to find the<br>
searchable archive for the mailing list, and searching it for the<br>
above script file names should find the relevant threads:<br>
<br>
<a href="https://www.mythtv.org/wiki/Mailing_List" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Mailing_List</a><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>