Need help - remote configure

Hi guys!

I would really appreciate your help - I don’t know what I am doing wrong.
I can’t get my IR remote to work.

First I downloaded CoreELEC-S905.arm-8.90.2.img.gz, extracted the .img and burned it to my SD via Win32DiskImager.
Then I bootet CoreELEC on the box, no issues - it runs well.
IR is not working, so I used Yatse.

The box is a Mini M8S II 2G/16G (S905X).
I had been using kszaq builds for ages and the remote always worked.

So I did everything you explained in this tutorial @anon88919003 and the result is: IR does not work.
Here is a screenshot from my Putty:

This is what I wrote in my file (YOURMAPNAME):

0x8051 KEY_POWER
0x8031 KEY_PLAYER
0x8033 KEY_PAGEUP
0x8036 KEY_PAGEDOWN
0x8058 KEY_INFO
0x8026 KEY_UP
0x8049 KEY_CONTEXT_MENU
0x8025 KEY_LEFT
0x800d KEY_ENTER
0x8027 KEY_RIGHT
0x8028 KEY_DOWN
0x801b KEY_BACK
0x8053 KEY_HOME
0x8037 KEY_PREVIOUS
0x8039 KEY_NEXT
0x8056 KEY_REWIND
0x804d KEY_PLAYPAUSE
0x804e KEY_FASTFORWARD
0x8030 KEY_STOP

I did everything exactly as explained but not a single IR input works…

Can anyone help me?
Thank you very much in advance!

@jd17, please upload your rc_maps.cfg file, key mapping file and output of ir-keytable

Look here https://forum.libreelec.tv/thread/11643-le9-0-remote-configs-ir-keytable-amlogic-devices/?pageNo=3

Your remote looks like it is working fine, it’s a configuration issue. I suggest looking at another map example.

Hello, thanks for your help!

Unfortunately, I cannot upload files (yet), because I am a new user in this forum.

My rc_maps.cfg just has the one line:
meson-ir * MINIMRC

The key mapping file is called “MINIMRC” and has the following lines:
0x8051 KEY_POWER
0x8031 KEY_PLAYER
0x8033 KEY_PAGEUP
0x8036 KEY_PAGEDOWN
0x8058 KEY_INFO
0x8026 KEY_UP
0x8049 KEY_CONTEXT_MENU
0x8025 KEY_LEFT
0x800d KEY_ENTER
0x8027 KEY_RIGHT
0x8028 KEY_DOWN
0x801b KEY_BACK
0x8053 KEY_HOME
0x8037 KEY_PREVIOUS
0x8039 KEY_NEXT
0x8056 KEY_REWIND
0x804d KEY_PLAYPAUSE
0x804e KEY_FASTFORWARD
0x8030 KEY_STOP

What do you mean by output of ir-keytable?
Isn’t this just the Putty content I made a screenshot of?

Are you referring to post #47?
I tried the uploaded files from that post, they do not work either.

Is it possible that the issue is with the standard windows editor?
Do I have to use a different text editor? I tried writing the same files with Notepad++, but it still does not work…

Is it a device tree issue?
Back in LE we always had to add the right device tree, is that not the case anymore for CoreELEC?
I did see they are all included… Does the setup know which tree to select?

Have you tried inserting this line at the top of your config file?

# table MINIMRC, type: NEC

Try the file attached, they’re just your codes with this line at the top.
MINIMRC (384 Bytes)

Of course I had that line in there at first, but I always get an error message when it’s in:

image

That is still the case - error message.

Then maybe try to provide the full path in the rc_maps.cfg to your keymap:

meson-ir * /storage/.config/rc_keymaps/MINIMRC

Use my files from instruction as template
Just replace the name in rc_maps.cfg to MINIMRC and rename X92_remote to MINIMRC and change the name inside to MINIMRC and copy your buttons
Possible you have problem with syntaxes or EOL conversion is not unix

it’s probably the EOL conversion, same issue encountered when i created the file using windows notepad, it was fixed when I created via Nano.

Thanks for your great support guys. :slight_smile:

I will try it.

I will try that as well.

At least using Notepad++ did also not work for me, should I try “Nano” too?
Is it available for Windows?

Just use nano in CE ssh terminal: https://www.howtogeek.com/howto/42980/the-beginners-guide-to-nano-the-linux-command-line-text-editor/

Take a look at this guide, it’s not difficult.

In Notepad++: Edit->EOL conversion->Unix

1 Like

Alright, thanks guys!
I will test as soon as I’m home. :slight_smile:

In the meantime…
Does anybody know what the key-name for “Player Debug” is?
I like having this on a remote button to show frame drops and skips.
I was not able to find a proper match in the list…
http://ix.io/19sO
…so I just used KEY_PLAYER for the lack of it, but I assume that is not actually Player Debug.
Does anyone know what the actual name is?

Have a read Mx3 Keyboard cntrl + shift + o? - #5 by kostaman
Maybe help you.

That was it! :slight_smile:

Thank you very much.
All keys work now.

There is just one more thing… The delays seem different than before.
It feels a bit laggy…
Can you tell me how to change the delays?
I looked into the old remote.conf that I used in LE (supplied by someone else) and it says the following:
work_mode = 0
repeat_enable = 1
repeat_delay = 130
repeat_period = 120
release_delay = 20

Are these the commands I need?
How do I write them in the keymap properly?

This info available in my example, try
ir-ctl -t 20000

Thank you for that!
Unfortunately, I still does not feel right.
If I want to move through a list quickly, it first lags and then the commands follow in quick succession…

Is there anything else I can do?
What exactly does your command do?
I looks to me like the old remote.conf defined three separate values.
Is that still possible?

Try this:

ir-keytable -D 700
ir-ctl -t 30000

If it works for you, insert those lines in autostart.sh

I will try, thanks!

Just like that?:

image

…or do they need an “echo” or anything else?
I put the line from boot2k3 in the keymap file before, was that wrong?