<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <p> </p>
    <p style="margin-bottom: 0in; line-height: 100%">Hi Stephen!</p>
    <p>
      <style type="text/css">
                p { margin-bottom: 0.1in; line-height: 115% }
                a:link { so-language: zxx }</style></p>
    <p style="margin-bottom: 0in; line-height: 100%">
      <blockquote type="cite">
        <pre class="western">Some things to check.  Is irexec running?

sudo ps -ef | grep irexec</pre>
        <style type="text/css">
                pre.cjk { font-family: "Courier New", monospace }
                p { margin-bottom: 0.1in; line-height: 115% }
                a:link { so-language: zxx }</style></blockquote>
      pi 2095 852 0 13:55 pts/0 00:00:00 grep –color=auto irexec</p>
    <p style="margin-bottom: 0in; line-height: 100%">Quite frankly not
      all that conclusive to me, though that H:M:S of all zeros is a
      little
      suspicious. So ran <b>service irexec status</b> and got an
      ‘inactive (dead)’ result. Seems to confirm my suspicion.</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">
      <blockquote type="cite">
        <pre class="western">What log output do you get from irexec?  I am not sure exactly where
the irexec service will be logging things, but it should show up
somewhere.  What do these commands show?

sudo systemctl status irexec
sudo journalctl --unit=irexec
sudo journalctl -b0 /usr/bin/irexec     </pre>
        <style type="text/css">
                pre.cjk { font-family: "Courier New", monospace }
                p { margin-bottom: 0.1in; line-height: 115% }
                a:link { so-language: zxx }</style></blockquote>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">pi@RPi-MythFE:~ $
      sudo systemctl status irexec</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">● irexec.service -
      Handle events from IR remotes decoded by lircd(8)</p>
    <p style="margin-bottom: 0in; line-height: 100%"> Loaded: loaded
      (/lib/systemd/system/irexec.service; disabled; vendor preset:
      enabled)</p>
    <p style="margin-bottom: 0in; line-height: 100%"> Active: inactive
      (dead)</p>
    <p style="margin-bottom: 0in; line-height: 100%"> Docs:
      <a class="moz-txt-link-freetext" href="man:irexec(1)">man:irexec(1)</a></p>
    <p style="margin-bottom: 0in; line-height: 100%">
      <a class="moz-txt-link-freetext" href="http://lirc.org/html/configure.html">http://lirc.org/html/configure.html</a></p>
    <p style="margin-bottom: 0in; line-height: 100%">
      <a class="moz-txt-link-freetext" href="http://lirc.org/html/configure.html#lircrc_format">http://lirc.org/html/configure.html#lircrc_format</a></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">pi@RPi-MythFE:~ $
      sudo journalctl --unit=irexec</p>
    <p style="margin-bottom: 0in; line-height: 100%">-- Logs begin at
      Mon
      2020-05-18 18:36:22 CDT, end at Tue 2020-05-19 14:06:30 CDT. --</p>
    <p style="margin-bottom: 0in; line-height: 100%">-- No entries --</p>
    <p style="margin-bottom: 0in; line-height: 100%">pi@RPi-MythFE:~ $ </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    pi@RPi-MythFE:~ $
    sudo journalctl -b0 /usr/bin/irexec
    <p style="margin-bottom: 0in; line-height: 100%">-- Logs begin at
      Mon
      2020-05-18 18:36:22 CDT, end at Tue 2020-05-19 14:07:14 CDT. --</p>
    <p style="margin-bottom: 0in; line-height: 100%">-- No entries --</p>
    <p style="margin-bottom: 0in; line-height: 100%">pi@RPi-MythFE:~ $ </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <br>
    <p style="margin-bottom: 0in; line-height: 100%">OK, so those
      results
      weren’t unexpected as we had found out irexec wasn’t running.
      Reading ahead a bit found <i>sudo systemctl restart irexec</i> so
      let’s see what <span style="text-decoration: none"> </span><i><span
          style="text-decoration: none">sudo
          systemctrl start irexec</span></i><span style="font-style:
        normal"><span style="text-decoration: none"> does:</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">N</span></span><span
        style="font-style: normal"><span style="text-decoration: none">ow
        </span></span><i><span style="text-decoration: none">service
          status
          irexec</span></i><span style="font-style: normal"><span
          style="text-decoration: none"> says is active (running).
          (Good!) </span></span><span style="font-style: normal"><span
          style="text-decoration: none">rerun
          the above tests….</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">pi@RPi-MythFE:~
          $ sudo systemctl status irexec</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none">●
        <span style="font-style: normal">irexec.service - Handle events
          from
          IR remotes decoded by lircd(8)</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none"> <span style="font-style: normal">Loaded:
          loaded
          (/lib/systemd/system/irexec.service; disabled; vendor preset:
          enabled)</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none"> <span style="font-style: normal">Active:
          active (running) since Tue
          2020-05-19 14:12:12 CDT; 3min 52s ago</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none"> <span style="font-style: normal">Docs:
          <a class="moz-txt-link-freetext" href="man:irexec(1)">man:irexec(1)</a></span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none"> <span style="font-style: normal"><a class="moz-txt-link-freetext" href="http://lirc.org/html/configure.html">http://lirc.org/html/configure.html</a></span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none"> <span style="font-style: normal"><a class="moz-txt-link-freetext" href="http://lirc.org/html/configure.html#lircrc_format">http://lirc.org/html/configure.html#lircrc_format</a></span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none">
        <span style="font-style: normal">Main PID: 2235 (irexec)</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none"> <span style="font-style: normal">Tasks:
          1 (limit: 4915)</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none"> <span style="font-style: normal">Memory:
          300.0K</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none"> <span style="font-style: normal">CGroup:
          /system.slice/irexec.service</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="text-decoration: none"> └─<span style="font-style:
          normal">2235 /usr/bin/irexec
          /etc/lirc/irexec.lircrc</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">May
          19 14:12:12 RPi-MythFE systemd[1]: Started Handle events from
          IR
          remotes decoded by lircd(8).</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">pi@RPi-MythFE:~
          $ </span></span>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p><span style="font-style: normal"><span style="text-decoration:
          none">pi@RPi-MythFE:~
          $ sudo journalctl --unit=irexec</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">--
          Logs begin at Mon 2020-05-18 18:36:22 CDT, end at Tue
          2020-05-19
          14:16:47 CDT. --</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">May
          19 14:12:12 RPi-MythFE systemd[1]: Started Handle events from
          IR
          remotes decoded by lircd(8).</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">pi@RPi-MythFE:~
          $ </span></span>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <span style="font-style: normal"><span style="text-decoration: none">pi@RPi-MythFE:~
        $ sudo journalctl -b0 /usr/bin/irexec</span></span>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">--
          Logs begin at Mon 2020-05-18 18:36:22 CDT, end at Tue
          2020-05-19
          14:17:13 CDT. --</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">--
          No entries --</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">pi@RPi-MythFE:~
          $ </span></span>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">So that appears to
      be good news! Test the remote…. Well, I would have loved to have
      said the thing now worked but no.</p>
    <p style="margin-bottom: 0in; line-height: 100%">
      <style type="text/css">
                p { margin-bottom: 0.1in; line-height: 115% }
                a:link { so-language: zxx }</style></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">
      <blockquote type="cite">
        <pre class="western">Getting irexec to work as well is just icing on the cake.  But it too
should work, with the right config.  So for testing purposes, I would
suggest:

config = echo "irexec test" >/tmp/irexec.txt</pre>
        <style type="text/css">
                pre.cjk { font-family: "Courier New", monospace }
                p { margin-bottom: 0.1in; line-height: 115% }
                a:link { so-language: zxx }</style></blockquote>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Huh: I just
      switched
      SD cards to test on a ‘temporary system’ – the irexec service
      is up and running – I was not expecting that. <i><span
          style="text-decoration: none">sudo
          systemctl status irexec</span></i><span style="font-style:
        normal"><span style="text-decoration: none"> </span></span><span
        style="font-style: normal"><span style="text-decoration: none">says
          it has been running for 20 hours, which I find odd as that
          card
          removed last night and I just installed it.</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">Other
          two look the same except for the timestamps </span></span>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">Probably
          insignificant, just saying something if it is.</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">Back
          to testing: </span></span><i><span style="text-decoration:
          none">config
          = echo "irexec test" >/tmp/irexec.txt</span></i><span
        style="font-style: normal"><span style="text-decoration: none">
        </span></span>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">Again
          to be nitpicky, mainly because you mentioned permissions, I
          had to
        </span></span><i><span style="text-decoration: none">mkdir tmp</span></i><span
        style="font-style: normal"><span style="text-decoration: none">
          as wasn’t present. </span></span><span style="font-style:
        normal"><span style="text-decoration: none">Properties: owner =
          pi, group = pi, view content = anyone, change content =
          only owner </span></span><span style="font-style: normal"><span
          style="text-decoration: none">(so
          pi), access content = anyone.</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p>
      <blockquote type="cite">
        <pre class="western"><span style="font-style: normal"><span style="text-decoration: none">sudo systemctl restart irexec</span></span></pre>
        <style type="text/css">
                pre.cjk { font-family: "Courier New", monospace }
                p { margin-bottom: 0.1in; line-height: 115% }
                a:link { so-language: zxx }</style></blockquote>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">Well
          that wasn’t impressive – /tmp is empty.</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">Reboot,
          check irexec status, test; nope. </span></span>
    </p>
    <p>
      <style type="text/css">
                p { margin-bottom: 0.1in; line-height: 115% }
                a:link { so-language: zxx }</style></p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p>
      <blockquote type="cite">
        <pre class="western"><span style="font-style: normal"><span style="text-decoration: none">begin</span></span>
    prog   = irexec
    button = KEY_SELECT
    config = echo "irexec test"
end</pre>
        <style type="text/css">
                pre.cjk { font-family: "Courier New", monospace }
                p { margin-bottom: 0.1in; line-height: 115% }
                a:link { so-language: zxx }</style></blockquote>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><span
        style="font-style: normal"><span style="text-decoration: none">I
          left in as </span></span><i><span style="text-decoration:
          none">echo
          "irexec test" >/tmp/irexec.txt</span></i><span
        style="font-style: normal"><span style="text-decoration: none">
          so see if would now write to the file. </span></span><span
        style="font-style: normal"><span style="text-decoration: none">Darn.
          :(</span></span></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Edit out my test….</p>
    <pre class="western">and restarted irexec again.  Pressing Home three times gave this from
a "journalctl --unit=irexec" command:</pre>
    <p style="margin-bottom: 0in; line-height: 100%">
      My results:</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">pi@RPi-MythFE:~/tmp
      $ sudo journalctl --unit=irexec</p>
    <p style="margin-bottom: 0in; line-height: 100%">-- Logs begin at
      Tue
      2020-05-19 15:00:47 CDT, end at Tue 2020-05-19 15:11:35 CDT</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:00:50
      RPi-MythFE systemd[1]: Started Handle events from IR remotes dec</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:08:40
      RPi-MythFE systemd[1]: Stopping Handle events from IR remotes de</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:08:40
      RPi-MythFE systemd[1]: irexec.service: Main process exited, code</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:08:40
      RPi-MythFE systemd[1]: irexec.service: Succeeded.</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:08:40
      RPi-MythFE systemd[1]: Stopped Handle events from IR remotes dec</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:08:40
      RPi-MythFE systemd[1]: Started Handle events from IR remotes dec</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:10:17
      RPi-MythFE systemd[1]: Stopping Handle events from IR remotes de</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:10:17
      RPi-MythFE systemd[1]: irexec.service: Main process exited, code</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:10:17
      RPi-MythFE systemd[1]: irexec.service: Succeeded.</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:10:17
      RPi-MythFE systemd[1]: Stopped Handle events from IR remotes dec</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:10:17
      RPi-MythFE systemd[1]: Started Handle events from IR remotes dec</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:11:07
      RPi-MythFE irexec[945]: irexec test</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:11:08
      RPi-MythFE irexec[945]: irexec test</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:11:09
      RPi-MythFE irexec[945]: irexec test</p>
    <p style="margin-bottom: 0in; line-height: 100%">lines 1-15/15 (END)</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">pi@RPi-MythFE:~/tmp
      $ sudo journalctl -b0 /usr/bin/irexec</p>
    <p style="margin-bottom: 0in; line-height: 100%">-- Logs begin at
      Tue
      2020-05-19 15:00:47 CDT, end at Tue 2020-05-19 15:14:11 CDT</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:11:07
      RPi-MythFE irexec[945]: irexec test</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:11:08
      RPi-MythFE irexec[945]: irexec test</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:11:09
      RPi-MythFE irexec[945]: irexec test</p>
    <p style="margin-bottom: 0in; line-height: 100%">lines 1-4/4 (END)</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"> </p>
    <p style="margin-bottom: 0in; line-height: 100%">OK, you know me
      well
      enough you probably guessed what I did! Yes, tried to see if the
      old
      config to load Myth would work. Nothing; did put in a new line to
      journalctl -b0… still “irexec test” though. Ah! restart
      irexec ==> nope but journalctl -b0’s message was:</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:21:03
      RPi-MythFE irexec[945]: irexec test <i><== the old test</i></p>
    <p style="margin-bottom: 0in; line-height: 100%">May 19 15:25:52
      RPi-MythFE irexec[1109]: /bin/sh: 1: echo <mypassword> | su
      -l pi -c /home/pi/Load_MythFE.sh: not found</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">My config line
      starts at “echo”; no idea where “/bin/sh :1:” originates.</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">OK, tried without
      the quote marks (config = echo pswd blah-blah-blah). Nothing,
      nothing... about to check journalctl and MythTV pops up!!
      Woohoo!!!!</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Shutdown, power
      switch off, … power up – at Desktop, push button – still works!
      Yea!!!!</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Thank you!! Barry</p>
    <br>
  </body>
</html>