[mythtv-users] Fix for broken lirc package in Ubuntu 20.04

Dave Pearson (Lists) lists at the-pearsons.co.uk
Mon Nov 8 12:46:49 UTC 2021


Hi Stephen,

I’ve recently set up a new front end with Ubuntu 21.10 does your script work with that, or do you have a manual set of steps to set up lira?

Regards,
Dave

Sent from my iPad

> On 8 Nov 2021, at 08:54, Stephen Worthington <stephen_agent at jsw.gen.nz> wrote:
> 
> On Sun, 7 Nov 2021 18:03:43 -0800, you wrote:
> 
>> Hi Stephen,
>> 
>> I've finally just upgraded from 18.04 to 20.04.  I've run your helpful
>> script to install and fix the lirc packages.
>> I ran lirc-setup and successfully selected my IR receiver and remote type
>> (mceusb).
>> Following, I copied the lirc_options.conf to /etc/lirc and verified the
>> mceusb.lirc.conf file was in ~/lirc-setup.conf.d
>> Finally, I copied my working lircrc file from ~/.mythtv/ in my 18.04 to the
>> new 20.04 installation.
>> 
>> I can run irw and see that all of the remote buttons are properly received.
>> I do sudo systemctl status lircd-dev.service and see that it has run
>> successfully to create the softlink for /dev/lircd
>> I checked that /dev/lircd is what is specified in the mythfrontend setup.
>> However, Mythfrontend does not respond to the remote input.  Can you think
>> of anything I might be missing?
>> 
>> Thanks,
>> Steve
> 
> So this is not actually an upgrade in place - you are installing on a
> new 20.04 system by copying from a working 18.04 on another PC - is
> that right?  If you were upgrading in place, it should have been
> working immediately after running my script.
> 
> As irw is working, the lirc side of things is likely to be all good,
> so it is the mythfrontend side that is not working yet.  To check
> that, shut down mythfrontend and run:
> 
> ircat mythtv
> 
> as your normal user (not as root).
> 
> The "mythtv" there is the name that all MythTV programs provide to
> lirc when connecting to it, and is the same "mythtv" string that
> should be in your $(HOME)/.lirc/mythtv file in the "prog =" lines:
> 
> begin
>    remote = devinput
>    prog = mythtv
>    button = KEY_EXIT
>    config = Escape
>    repeat = 0
>    delay = 0
> end
> 
> So for the above, when you use the Back button on your MCE remote, it
> will produce KEY_EXIT in irw, and lirc will translate that to "Escape"
> and that is what "ircat mythtv" should then display.  If that is not
> working, then check that you have copied your $(HOME)/.lirc directory
> to the new PC.  Lirc capable programs load their lirc configuration by
> loading $(HOME/.lircrc, and in a MythTV created .lircrc, all you will
> find is a set of includes for files in $(HOME)/.lirc, which all need
> to be there.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



More information about the mythtv-users mailing list