[mythtv-users] licrd not working in Xubuntu 20.04

Stephen Worthington stephen_agent at jsw.gen.nz
Mon May 11 19:22:20 UTC 2020


On Mon, 11 May 2020 15:07:17 -0400, you wrote:

>On Mon, May 11, 2020 at 2:44 PM Stephen Worthington <
>stephen_agent at jsw.gen.nz> wrote:
>
>> On Mon, 11 May 2020 14:36:19 -0400, you wrote:
>>
>> >On Mon, May 11, 2020 at 12:32 PM Stephen Worthington <
>> >stephen_agent at jsw.gen.nz> wrote:
>> >
>> >>
>> >>
>> >> Only having the arrow keys working is the normal symptom of lirc not
>> >> working at all and mythfrontend getting keystrokes directly from the
>> >> devinput driver.  The arrow keys are normally the only ones that are
>> >> mapped to something that mythfrontend responds to.  Maybe the number
>> >> keys will also work.  I would suggest trying the irw program to see if
>> >> there is any output from the lirc socket when you press a remote
>> >> button.  I am guessing that there will be nothing.
>> >>
>> >> I ran irw and then pressed a number of buttons on the remote and got
>> this
>> >output:
>> >
>> > 0000000080010160 00 KEY_OK devinput-32
>> >00000000800100cf 00 KEY_PLAY devinput-32
>> >00000000800100cf 00 KEY_PLAY devinput-32
>> >0000000080010160 00 KEY_OK devinput-32
>> >0000000080010080 00 KEY_STOP devinput-32
>> >0000000080010077 00 KEY_PAUSE devinput-32
>> >0000000080010197 00 KEY_NEXT devinput-32
>> >000000008001019c 00 KEY_PREVIOUS devinput-32
>> >00000000800100ae 00 KEY_EXIT devinput-32
>> >000000008001006a 00 KEY_RIGHT devinput-32
>> >0000000080010067 00 KEY_UP devinput-32
>> >0000000080010069 00 KEY_LEFT devinput-32
>> >000000008001006c 00 KEY_DOWN devinput-32
>> >0000000080010160 00 KEY_OK devinput-32
>> >0000000080010201 00 KEY_NUMERIC_1 devinput-32
>> >0000000080010202 00 KEY_NUMERIC_2 devinput-32
>> >0000000080010203 00 KEY_NUMERIC_3 devinput-32
>> >0000000080010204 00 KEY_NUMERIC_4 devinput-32
>> >0000000080010205 00 KEY_NUMERIC_5 devinput-32
>> >0000000080010206 00 KEY_NUMERIC_6 devinput-32
>> >0000000080010207 00 KEY_NUMERIC_7 devinput-32
>> >0000000080010208 00 KEY_NUMERIC_8 devinput-32
>> >0000000080010209 00 KEY_NUMERIC_9 devinput-32
>> >000000008001020a 00 KEY_NUMERIC_STAR devinput-32
>> >000000008001020b 00 KEY_NUMERIC_POUND devinput-32
>>
>> OK, your remote is using the name devinput-32 instead of devinput or
>> devinput-64.  Just a name change required to match the name in your
>> $HOME/.lirc/* files.  That is easier than changing the names in all
>> the entries in the $HOME/.lirc/* files.  They are probably using the
>> name devinput.  And your numeric keys are using KEY_NUMERIC_* instead
>> of the KEY_* used in the $HOME/.lirc/*.  There are a few other key
>> names that will also not match.  See the modified rc6_mce file in the
>> download from my server.
>>
>
>maybe getting closer. in /etc/lirc/lircd.conf.d/devinput.lircd.conf I
>changed:
>       name            devinput-64
>to
>    name               devinput-32

Not quite right, I think.  There should be two tables in your
devinput.lircd.conf file, named devinput-64 and devinput-32.  Your
keycodes are matching the devinput-32 table, so that is the one you
want to rename to devinput.  The table name is used for output to the
lirc socket that irw and MythTV connects to, not for input matching.
The matching of the input in lircd is according to the protocol
setting lines also at the top of each table.

>However I do not have a $HOME/.lirc/ directory.

Download the file in my other post.  The files are in there.  They use
the name devinput for their input matching of data received from the
lirc socket.

See /etc/lirc/lirc_options.conf for the name of the lirc socket
("output =").


More information about the mythtv-users mailing list