[mythtv-users] Fix for broken lirc package in Ubuntu 20.04
Dave Pearson (Lists)
lists at the-pearsons.co.uk
Fri Nov 12 17:48:13 UTC 2021
> On 12 Nov 2021, at 17:21, Stephen Worthington <stephen_agent at jsw.gen.nz> wrote:
>
> On Fri, 12 Nov 2021 16:59:02 +0000, you wrote:
>
>>
>>>> On 12 Nov 2021, at 16:49, Stephen Worthington <stephen_agent at jsw.gen.nz> wrote:
>>>
>>> ?On Fri, 12 Nov 2021 14:57:44 +0000, you wrote:
>
>>>> Hi Stephen,
>>>>
>>>>
>>>>
>>>> Thanks for the advice, unfortunately I must be missing something as my Myth Frontend doesn't respond to the config file. I do recall that I had a lot of trouble getting it to work on my previous frontend, but I will get there.
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Dave.
>>>
>>> If mythfrontend is successfully connecting to lirc, you should get a
>>> line in mythfrontend.log that looks like this:
>>>
>>> Nov 9 00:20:34 mypvr mythfrontend.real: mythfrontend[3023969]: I
>>> CoreContext lirc.cpp:310 (Init) LIRC: Successfully initialized
>>> '/dev/lircd' using '/home/stephen/.mythtv/lircrc' config
>>>
>>> So if you do this command:
>>>
>>> grep -i lirc /var/log/mythtv/mythfrontend.log
>>>
>>> what do you see?
>
>> Hi Stephen,
>>
>> We’ll this is an unexpected result:
>>
>> Nov 12 16:05:31 giga01 mythfrontend.real: mythfrontend[1646]: E CoreContext lirc.cpp:233 (Init) LIRC: Failed to parse IP address ''
>>
>> I’m not really sure why it would be using an IP address?
>>
>> Regards,
>> Dave
>
> I can't say I have ever seen that before. It is possible to use lirc
> over a network connection, but that is normally the lirc daemon doing
> that using the listen and connect options in
> /etc/lirc/lirc_options.conf (one lirc daemon listens for connections,
> the other connects to the listening daemon and gets to use its
> hardware). A lirc client like mythfrontend can also connect to a
> listening lirc daemon directly, with the right configuration. So what
> do you have in Setup > General > Remote Control > LIRC daemon socket?
> If you have a typo there, mythfrontend might be thinking it is
> supposed to be doing a network connection. It should be set to
> "/dev/lirc". Using "/var/run/lirc/lircd" or "/run/lirc/lircd" should
> also work.
> _______________________________________________
> 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
Thanks Stephen,
That was exactly it, I had to set /dev/lircd in that setting, then it was just a case of setting up the lircrc file correctly in .MythTV.
All I have to do now is a little bit of mapping in mythfrontend for a couple of the keys to enable me to bring up the context menus.
Thanks again for your help with this.
Dave
More information about the mythtv-users
mailing list