[mythtv-users] Raspberry Pi 4 FrontEnd Remote Control Issues
Stephen Worthington
stephen_agent at jsw.gen.nz
Mon May 11 03:20:21 UTC 2020
On Sun, 10 May 2020 14:16:40 -0500, you wrote:
>
>Hi Stephen!
>
>> If irw is working, you are a long way down the path of getting it
>> going. The next thing to do is to run irw and try every key on the
>> remote and make sure that they are all recognised.
>
>Appears to be working to this point: /irw/ responded to all of the
>remote's keys with the exception of (meaning these keys do not give a
>response):
>
>Return to previous channel (the one with the two arrows in a loop)
>Information
>Auto
>V.Chip
>Aspect
>Add/Erase
>
>Not sure those keys are needed in MythTV except perhaps as a shortcut
>thats advanced! Did find Fav - responds KEY_ENTER while OK
>responds KEY_OK.
You can adjust which KEY_ value is created by each key by editing your
seiko file. And once you find the numeric value for each of the
missing keys, you can add them. Some of those keys do not look
particularly useful, but the Information one is likely to be something
you will want (I use the I key on my keyboard and the Info key on my
remote all the time). And you can repurpose keys to do anything you
want. I have my Power key doing the O command (list upcoming
recordings for a programme), since the Power symbol on the remote is
the closest thing it has to an O and I had no use for the Power
function.
Where did you put your seiko file? We need to be sure that it is
actually being used for the key translations.
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
Then try pressing some keys that work, and then the ones that do not.
It is a long time since I did this, but I think that with the keys
that do not work, you will simply not get any output from ir-keytable
-t. 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.
When you have edited the seiko file (keep a backup copy!), you need to
at least restart ir-keytable -t to see the changes, and you may even
need to reboot.
To restart lirc:
sudo systemctl start lircd
>
>> root at mypvr:/home/stephen# cat .lircrc
>
>Found a problem here! No such file! Looked (with /find/) and appears
>not hiding elsewhere. I'm using Raspbian Buster on the RPi vs. Ubuntu
>but don't think that's the problem; the problem is the file wasn't
>generated. Will see if I can figure out, though of course your help is
>appreciated! ...Quick check using the show hidden files option in the
>GUI for Files and no /home/pi/.lirc either.
>
>TAI!
>
>Barry
I am not sure just how the .lircrc files on my system were originally
created. It may have been by the old Mythbuntu Control Centre program
(now deceased). But you can just create them manually (a big job!),
or copy someone elses'. I have put a copy of mine on my web server,
which contains my modified versions as well as the original versions:
http://www.jsw.gen.nz/mythtv/lircrc.tar.bz2
To install the files, do this from your mythfrontend user:
cd ~
wget http://www.jsw.gen.nz/mythtv/lircrc.tar.bz2
tar xvf lircrc.tar.bz2
chown $USER:$(id -g -n $USER) .lircrc .lirc .lirc/*
Then move the lircrc.tar.bz2 file to wherever you want to keep a copy
or delete it.
More information about the mythtv-users
mailing list