<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 11, 2020 at 4:00 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 11, 2020 at 3:24 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 11 May 2020 15:07:17 -0400, you wrote:<br>
<br>
>On Mon, May 11, 2020 at 2:44 PM Stephen Worthington <<br>
><a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br>
><br>
>> On Mon, 11 May 2020 14:36:19 -0400, you wrote:<br>
>><br>
>> >On Mon, May 11, 2020 at 12:32 PM Stephen Worthington <<br>
>> ><a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br>
>> ><br>
>> >><br>
>> >><br>
>> >> Only having the arrow keys working is the normal symptom of lirc not<br>
>> >> working at all and mythfrontend getting keystrokes directly from the<br>
>> >> devinput driver.  The arrow keys are normally the only ones that are<br>
>> >> mapped to something that mythfrontend responds to.  Maybe the number<br>
>> >> keys will also work.  I would suggest trying the irw program to see if<br>
>> >> there is any output from the lirc socket when you press a remote<br>
>> >> button.  I am guessing that there will be nothing.<br>
>> >><br>
>> >> I ran irw and then pressed a number of buttons on the remote and got<br>
>> this<br>
>> >output:<br>
>> ><br>
>> > 0000000080010160 00 KEY_OK devinput-32<br>
>> >00000000800100cf 00 KEY_PLAY devinput-32<br>
>> >00000000800100cf 00 KEY_PLAY devinput-32<br>
>> >0000000080010160 00 KEY_OK devinput-32<br>
>> >0000000080010080 00 KEY_STOP devinput-32<br>
>> >0000000080010077 00 KEY_PAUSE devinput-32<br>
>> >0000000080010197 00 KEY_NEXT devinput-32<br>
>> >000000008001019c 00 KEY_PREVIOUS devinput-32<br>
>> >00000000800100ae 00 KEY_EXIT devinput-32<br>
>> >000000008001006a 00 KEY_RIGHT devinput-32<br>
>> >0000000080010067 00 KEY_UP devinput-32<br>
>> >0000000080010069 00 KEY_LEFT devinput-32<br>
>> >000000008001006c 00 KEY_DOWN devinput-32<br>
>> >0000000080010160 00 KEY_OK devinput-32<br>
>> >0000000080010201 00 KEY_NUMERIC_1 devinput-32<br>
>> >0000000080010202 00 KEY_NUMERIC_2 devinput-32<br>
>> >0000000080010203 00 KEY_NUMERIC_3 devinput-32<br>
>> >0000000080010204 00 KEY_NUMERIC_4 devinput-32<br>
>> >0000000080010205 00 KEY_NUMERIC_5 devinput-32<br>
>> >0000000080010206 00 KEY_NUMERIC_6 devinput-32<br>
>> >0000000080010207 00 KEY_NUMERIC_7 devinput-32<br>
>> >0000000080010208 00 KEY_NUMERIC_8 devinput-32<br>
>> >0000000080010209 00 KEY_NUMERIC_9 devinput-32<br>
>> >000000008001020a 00 KEY_NUMERIC_STAR devinput-32<br>
>> >000000008001020b 00 KEY_NUMERIC_POUND devinput-32<br>
>><br>
>> OK, your remote is using the name devinput-32 instead of devinput or<br>
>> devinput-64.  Just a name change required to match the name in your<br>
>> $HOME/.lirc/* files.  That is easier than changing the names in all<br>
>> the entries in the $HOME/.lirc/* files.  They are probably using the<br>
>> name devinput.  And your numeric keys are using KEY_NUMERIC_* instead<br>
>> of the KEY_* used in the $HOME/.lirc/*.  There are a few other key<br>
>> names that will also not match.  See the modified rc6_mce file in the<br>
>> download from my server.<br>
>><br>
><br>
>maybe getting closer. in /etc/lirc/lircd.conf.d/devinput.lircd.conf I<br>
>changed:<br>
>       name            devinput-64<br>
>to<br>
>    name               devinput-32<br>
<br>
Not quite right, I think.  There should be two tables in your<br>
devinput.lircd.conf file, named devinput-64 and devinput-32.  Your<br>
keycodes are matching the devinput-32 table, so that is the one you<br>
want to rename to devinput.  The table name is used for output to the<br>
lirc socket that irw and MythTV connects to, not for input matching.<br>
The matching of the input in lircd is according to the protocol<br>
setting lines also at the top of each table.<br>
<br>
>However I do not have a $HOME/.lirc/ directory.<br>
<br>
Download the file in my other post.  The files are in there.  They use<br>
the name devinput for their input matching of data received from the<br>
lirc socket.<br>
<br>
See /etc/lirc/lirc_options.conf for the name of the lirc socket<br>
("output =").<br></blockquote><div><br></div><div>Sorry for the confusion on my part. back on mythbuntu 14 and 16 I had to do none of this get my MCE remote working.</div><div><br></div><div>So I have the 2 tables in devinput.lirc.conf </div><div>name               devinput-64   and</div><div>name               devinput-32 which is now renames to </div><div>name               devinput</div><div>The files I downloaded from your server had a number of lines proceeding each section with a lot of garbage like:</div><div>-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^<br></div><div><br></div><div>Are the files still good?</div><div>Jim A</div></div></div></blockquote><div><br></div><div>I should just say "never mind" :-)  </div><div>I found  what is called an Air Mouse remote (<a href="https://www.mythtv.org/wiki/Air_mouse_rf_remote">https://www.mythtv.org/wiki/Air_mouse_rf_remote</a>) I had bought ($15) for another application on a Raspberry Pi.  I decided to try that on Mythtv Frontend on the Ubuntu PC. I should have started with that.</div><div>I just plugged in the receiver and it worked as described on the mythtv wiki page. so far I have only used "Edit Keys" Function to redefine the  Home key to Escape.</div><div><br></div><div>I like being able to have a Qwerty keyboard on the other side of the remote.</div><div><br></div><div>For now, I'll just throw the MCE remote and receiver back in the attic.</div><div><br></div><div>Thanks for your help as always.</div><div><br></div><div>Jim A</div><div> </div><div> </div></div></div>