[mythtv-users] Blasting to STB,using a MCEUSB
Dave Pearson (Lists)
lists at the-pearsons.co.uk
Sat Oct 6 07:34:39 UTC 2018
-----Original message-----
From: Greg Oliver <oliver.greg at gmail.com>
Sent: Saturday 6th October 2018 0:54
To: Discussion about mythtv <mythtv-users at mythtv.org>
Subject: Re: [mythtv-users] Blasting to STB,using a MCEUSB
On Fri, Oct 5, 2018 at 1:22 PM Dave Pearson (Lists) <lists at the-pearsons.co.uk <mailto:lists at the-pearsons.co.uk> > wrote:
> On 5 Oct 2018, at 18:22, Stephen Worthington <stephen_agent at jsw.gen.nz <mailto:stephen_agent at jsw.gen.nz> > wrote:
>
>> On Fri, 5 Oct 2018 16:59:46 +0100, you wrote:
>>
>> I’m so close it hurts!
>>
>> Ok, so my ~/.lirc/mythtv file looks like this:
>>
>> begin
>> remote = devinput-32
>> prog = mythtv
>> button = left
>> config = left
>> end
>>
>> Etc.
>>
>> My ~/.lircrc file looks like this:
>>
>> include ~/.lirc/mythtv
>>
>> And I can see the key presses in irw
>>
>> I’ve restarted my front end and it’s still not working - there’s got to be something else, obvious, that I’m just not spotting - any ideas?
>>
>> (Just noticed, this thread is actually about controlling a set top box, not controlling the frontend, sorry about hijacking it - this should have stayed in the other thread)
>>
>> Regards,
>> Dave
>
> Shut down mythfrontend and try "ircat mythtv" from a command prompt
> with the same user as mythfrontend is run from. Does that show any
> input from the remote?
>
> Also, I have just done the 16.04 to 18.04.1 upgrade on my main MythTV
> box, and for some reason the lirc update did not install the new
> /etc/lirc/lircd.conf file. Check if that happened to you. It should
> look like this:
>
> # Populated config files can be found at http://sf.net/p/lirc-remotes <http://sf.net/p/lirc-remotes> .
> The
> # irdb-get(1) and lirc-setup(1) tools can be used to search and
> download
> # config files.
> #
> # From 0.9.2 config files could just be dropped as-is in the
> lircd.conf.d
> # directory and be included by this file.
>
> include "lircd.conf.d/*.conf"
>
>
> If it does not, then you need to do this from a root prompt:
>
> cd /etc/lirc
> cp -a lircd.conf.dist lircd.conf
>
> If you want to keep the old lircd.conf, rename it first:
>
> mv lircd.conf lircd.conf.16.04
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
> http://lists.mythtv.org/mailman/listinfo/mythtv-users <http://lists.mythtv.org/mailman/listinfo/mythtv-users>
> http://wiki.mythtv.org/Mailing_List_etiquette <http://wiki.mythtv.org/Mailing_List_etiquette>
> MythTV Forums: https://forum.mythtv.org
Hi Stephen,
ircat mythtv doesn’t show any input from the remote
I do have a lircd.conf file in /etc/lirc
Regards,
Dave
Permissions on files possibly? The entries in your config looks correct, but can they be read? I am out of ideas here if ircat does not work. What are the perms on /var/run/lirc/lircd also?
_______________________________________________
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
Hi Greg
Permissions on /var/run/lirc/lircd:
dave at nuc1:/var/run/lirc$ ls -al
total 4
drwxr-xr-x 2 root root 80 Oct 5 17:06 .
drwxr-xr-x 32 root root 1080 Oct 6 07:26 ..
srw-rw-rw- 1 root root 0 Oct 5 17:06 lircd
-rw-r--r-- 1 root root 5 Oct 5 17:06 lircd.pid
On ~/.lircrc & ~/.lirc:
dave at nuc1:~$ ls .lirc* -al
-rw-rw-r-- 1 dave dave 23 Oct 5 16:38 .lircrc
.lirc:
total 16
drwxrwxr-x 2 dave dave 4096 Oct 5 05:14 .
drwxr-xr-x 25 dave dave 4096 Oct 6 07:26 ..
-rw-rw-r-- 1 dave dave 4660 Oct 5 05:14 mythtv
mythfrontend appears to be connecting to the lircd socket and also reading the .lircrc config file:
Oct 5 19:48:29 nuc1 mythfrontend.real: mythfrontend[11534]: I CoreContext lirc.cpp:322 (Init) LIRC: Successfully initial
ized '/var/run/lirc/lircd' using '/home/dave/.lircrc' config
And yet still the control doesn't work!
I'm almost at the point of rebuilding the frontend and starting again.
Regards,
Dave.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20181006/c3b299fb/attachment.html>
More information about the mythtv-users
mailing list