<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%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Hi Stephen!</p>
    <p style="margin-bottom: 0in; line-height: 100%">
      <blockquote type="cite">
        <pre class="western">You can adjust which KEY_ value is created by each key by editing your
seiko file. </pre>
      </blockquote>
      <br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Right now I’m
      going to leave the unassigned keys (Auto, V.Chip, etc.) alone,
      concentrating on the main-use keys (0-9, Up, Down, and the like).
      BTW, it’s Seiki, not Seiko.</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">The Seiki
      configuration file - - the one I found at
      <a href="https://gist.github.com/gisikw/a2ffa7f45efa0d9c3bee">https://gist.github.com/gisikw/a2ffa7f45efa0d9c3bee</a>
      – is at /etc/lirc/lircd.conf.d/Seiki_LIRC.conf . Good news is
      it is found/listed by <b>systemctl status lircd.socket
        lircd.service</b><span style="font-weight: normal"> .</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%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">
      <blockquote type="cite">
        <pre class="western">To see what happens to the raw keystrokes, you need to shut down lirc:

sudo systemctl stop lircd

and then run ir-keytable:

sudo ir-keytable -t</pre>
      </blockquote>
      <br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><font
        color="#000000">Well
        that seems to indicate a problem: ‘command not found’!</font></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%"><font
        color="#000000">OK: <i>sudo apt install ir-keytable</i> solves
        that problem! </font>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <pre class="western"><blockquote type="cite"><pre class="western">sudo ir-keytable -t

Then try pressing some keys that work, and then the ones that do not.</pre></blockquote></pre>
    <p style="margin-bottom: 0in; line-height: 100%">
      <br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">And no output.
      Reboot. </p>
    <pre class="western">sudo systemctl stop lircd
sudo ir-keytable -t</pre>
    <p style="margin-bottom: 0in; line-height: 100%">
      <br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Still no output. <i>irw</i><span
        style="font-style: normal"> does give an output. </span>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <br>
    <pre class="western"><blockquote type="cite"><pre class="western">If there is output, hopefully it will give you the right value to
put into your seiko file.  If not, take a look at your syslog file and
see if there are any messages created there about keycode errors.</pre></blockquote>
</pre>
    <p style="margin-bottom: 0in; line-height: 100%">cat /var/log/syslog</p>
    <p style="margin-bottom: 0in; line-height: 100%"> cat
      /var/log/syslog
      | grep -i error ==> just three from lightdm</p>
    <p style="margin-bottom: 0in; line-height: 100%"> cat
      /var/log/syslog
      | grep -i fail ==> ummmm… systemd’s <a
        href="mailto:bthelper@hcio.service">bthelper@hcio.service</a>
      ==> bluetooth – nevermind!</p>
    <p style="margin-bottom: 0in; line-height: 100%"> </p>
    <p style="margin-bottom: 0in; line-height: 100%"> cat
      /var/log/syslog
      | grep -i lircd ==> messages re: “caught signal”</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Otherwise nothing
      at
      all about keycode errors: </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">May 11 10:28:47
      RPi-MythFE lircd[887]: lircd-0.10.1[887]: Notice: caught signal</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 11 10:28:47
      RPi-MythFE lircd-0.10.1[887]: Notice: caught signal</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 11 10:28:47
      RPi-MythFE systemd[1]: Stopping Flexible IR remote input/output
      application support...</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 11 10:28:47
      RPi-MythFE systemd[1]: lircd.service: Main process exited,
      code=killed, status=15/TERM</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 11 10:28:47
      RPi-MythFE systemd[1]: lircd.service: Succeeded.</p>
    <p style="margin-bottom: 0in; line-height: 100%">May 11 10:28:47
      RPi-MythFE systemd[1]: Stopped Flexible IR remote input/output
      application support.</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>
    <p style="margin-bottom: 0in; line-height: 100%">OK, I’m going to
      send this off and see if anything makes sense as to why not
      working
      as expected. Will take a look at your file (
      <a href="http://www.jsw.gen.nz/mythtv/lircrc.tar.bz2">http://www.jsw.gen.nz/mythtv/lircrc.tar.bz2</a>
      ) to compare to what I see here.</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Again, TIA (and I
      got the letters in the right sequence this time!!)</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Barry</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <br>
  </body>
</html>