<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
  <meta name="Generator" content="Kopano WebApp v3.4.6+dfsg1-1">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>RE: [mythtv-users] Blasting to STB,using a MCEUSB</title>
</head>
<body>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
<blockquote style="border-left: 2px solid #325fba; padding-left: 5px; margin: 0px 5px 1em;"><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 10pt;">-----Original message-----<br /><span><strong>From:</strong> Greg Oliver <oliver.greg@gmail.com></span><br /><span><strong>Sent:</strong> Saturday 6th October 2018 0:54</span><br /><span><strong>To:</strong> Discussion about mythtv <mythtv-users@mythtv.org></span><br /><span><strong>Subject:</strong> Re: [mythtv-users] Blasting to STB,using a MCEUSB</span><br /><br /></span>
<div dir="ltr">On Fri, Oct 5, 2018 at 1:22 PM Dave Pearson (Lists) <<a href="mailto:lists@the-pearsons.co.uk" target="_blank" title="mailto:lists@the-pearsons.co.uk
Click the link to open the URL in a new window." rel="noopener">lists@the-pearsons.co.uk</a>> wrote:<br />
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><br /> > On 5 Oct 2018, at 18:22, Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank" title="mailto:stephen_agent@jsw.gen.nz
Click the link to open the URL in a new window." rel="noopener">stephen_agent@jsw.gen.nz</a>> wrote:<br /> > <br /> >> On Fri, 5 Oct 2018 16:59:46 +0100, you wrote:<br /> >> <br /> >> I’m so close it hurts! <br /> >> <br /> >> Ok, so my ~/.lirc/mythtv file looks like this:<br /> >> <br /> >> begin<br /> >>    remote = devinput-32<br /> >>    prog = mythtv<br /> >>    button = left<br /> >>    config = left<br /> >> end <br /> >> <br /> >> Etc.<br /> >> <br /> >> My ~/.lircrc file looks like this:<br /> >> <br /> >> include ~/.lirc/mythtv<br /> >> <br /> >> And I can see the key presses in irw<br /> >> <br /> >> 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?<br /> >> <br /> >> (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)<br /> >> <br /> >> Regards,<br /> >> Dave<br /> > <br /> > Shut down mythfrontend and try "ircat mythtv" from a command prompt<br /> > with the same user as mythfrontend is run from.  Does that show any<br /> > input from the remote?<br /> > <br /> > Also, I have just done the 16.04 to 18.04.1 upgrade on my main MythTV<br /> > box, and for some reason the lirc update did not install the new<br /> > /etc/lirc/lircd.conf file.  Check if that happened to you.  It should<br /> > look like this:<br /> > <br /> > # Populated config files can be found at <a href="http://sf.net/p/lirc-remotes" target="_blank" title="http://sf.net/p/lirc-remotes
Click the link to open the URL in a new window." rel="noopener">http://sf.net/p/lirc-remotes</a>.<br /> > The<br /> > # irdb-get(1) and lirc-setup(1) tools can be used to search and<br /> > download<br /> > # config files.<br /> > #<br /> > # From 0.9.2 config files could just be dropped as-is in the<br /> > lircd.conf.d<br /> > # directory and be included by this file.<br /> > <br /> > include "lircd.conf.d/*.conf"<br /> > <br /> > <br /> > If it does not, then you need to do this from a root prompt:<br /> > <br /> > cd /etc/lirc<br /> > cp -a lircd.conf.dist lircd.conf<br /> > <br /> > If you want to keep the old lircd.conf, rename it first:<br /> > <br /> > mv lircd.conf lircd.conf.16.04<br /> > _______________________________________________<br /> > mythtv-users mailing list<br /> > <a href="mailto:mythtv-users@mythtv.org" target="_blank" title="mailto:mythtv-users@mythtv.org
Click the link to open the URL in a new window." rel="noopener">mythtv-users@mythtv.org</a><br /> > <a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank" title="http://lists.mythtv.org/mailman/listinfo/mythtv-users
Click the link to open the URL in a new window." rel="noopener">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br /> > <a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank" title="http://wiki.mythtv.org/Mailing_List_etiquette
Click the link to open the URL in a new window." rel="noopener">http://wiki.mythtv.org/Mailing_List_etiquette</a><br /> > MythTV Forums: <a href="https://forum.mythtv.org" target="_blank" title="https://forum.mythtv.org
Click the link to open the URL in a new window." rel="noopener">https://forum.mythtv.org</a><br /><br /> Hi Stephen,<br /><br /> ircat mythtv doesn’t show any input from the remote<br /><br /> I do have a lircd.conf file in /etc/lirc<br /><br /> Regards,<br /> Dave<br /></blockquote>
<div><span class="gmail_default" style="font-family: monospace,monospace;"><br /></span></div>
<div><span class="gmail_default" style="font-family: monospace,monospace;">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?</span></div>
</div>
</div>
<pre>_______________________________________________<br />
mythtv-users mailing list<br />
mythtv-users@mythtv.org<br />
http://lists.mythtv.org/mailman/listinfo/mythtv-users<br />
http://wiki.mythtv.org/Mailing_List_etiquette<br />
MythTV Forums: https://forum.mythtv.org<br /></pre>
</blockquote>
<p style="padding: 0; margin: 0;">Hi Greg</p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;">Permissions on /var/run/lirc/lircd:</span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
<div>dave@nuc1:/var/run/lirc$ ls -al</div>
<div>total 4</div>
<div>drwxr-xr-x  2 root root   80 Oct  5 17:06 .</div>
<div>drwxr-xr-x 32 root root 1080 Oct  6 07:26 ..</div>
<div>srw-rw-rw-  1 root root    0 Oct  5 17:06 lircd</div>
<div>-rw-r--r--  1 root root    5 Oct  5 17:06 lircd.pid</div>
<div> </div>
<div>On ~/.lircrc & ~/.lirc:</div>
<div> </div>
<div><span style="font-family: monospace;"><span style="font-weight: bold; color: #54ff54;">dave@nuc1</span>:<span style="font-weight: bold; color: #5454ff;">~</span>$ ls .lirc* -al <br />-rw-rw-r-- 1 dave dave   23 Oct  5 16:38 .lircrc <br /> <br />.lirc: <br />total 16 <br />drwxrwxr-x  2 dave dave 4096 Oct  5 05:14 <span style="font-weight: bold; color: #5454ff;">.</span> <br />drwxr-xr-x 25 dave dave 4096 Oct  6 07:26 <span style="font-weight: bold; color: #5454ff;">..</span> <br />-rw-rw-r--  1 dave dave 4660 Oct  5 05:14 mythtv<br /></span></div>
<div><span style="font-family: monospace;"><br /></span></div>
<div><span style="font-family: monospace;">mythfrontend appears to be connecting to the lircd socket and also reading the .lircrc config file:</span></div>
<div><span style="font-family: monospace;"><br /></span></div>
<div><span style="font-family: monospace;">Oct  5 19:48:29 nuc1 mythfrontend.real: mythfrontend[11534]: I CoreContext <span style="font-weight: bold; color: #ff5454;">lirc</span>.<a href="cpp:322">cpp:322</a> (Init) LIRC: Successfully initial<br />ized '/var/run/<span style="font-weight: bold; color: #ff5454;">lirc</span>/<span style="font-weight: bold; color: #ff5454;">lirc</span>d' using '/home/dave/.<span style="font-weight: bold; color: #ff5454;">lirc</span>rc' config<br /></span></div>
<div><span style="font-family: monospace;"><br /></span></div>
<div><span style="font-family: monospace;"><br /></span></div>
<div>And yet still the control doesn't work!</div>
<div> </div>
<div>I'm almost at the point of rebuilding the frontend and starting again.</div>
<div> </div>
<div>Regards,</div>
<div>Dave.</div>
<div> </div>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
</body>
</html>