LE9.0 remote configs ir-keytable Amlogic devices

  • thanks, I know it is stupid question but I m simple user. How to create rc_maps.cfg?

    Do you use samba or SSH ?


    If using samba, just create a text file in the appropriate folder with a right click and edit with your prefered editor.


    if using ssh, type this command:

    Code
    1. echo "meson-ir   *  a95x.txt" > /storage/.config/rc_maps.cfg
  • Do you use samba or SSH ?


    If using samba, just create a text file in the appropriate folder with a right click and edit with your prefered editor.


    if using ssh, type this command:

    Code
    1. echo "meson-ir   *  a95x.txt" > /storage/.config/rc_maps.cfg

    I did not work in samba or ssh, I will try today. Thanks you very much for ur kind explanation.

  • Here are mine. I have to add that I use both (also) for my MiniMXII III box.



    I will update this post when all works the way I want to. The file works for both remotes without any re-adjustment.

    I have remapped and added the necessary files. In the end I didn't miss the possibility to "longpress".

    Images

    Files

    • MiniMX.zip

      (5.13 kB, downloaded 916 times, last: )

    Beelink MiniMXIII II 2GB, 32GB always running latest Libreelec from SD card. No issues so far(except for the ones already known or posted by me).

    Mecool m8s Pro+ which with widevine level 1, Android runs a hacked version of android TV.

    Edited 2 times, last by Gregoir3: Added my other remote and re-uploaded a updated file. From Coreelec 8.9.01 onwards use keyboard.xml.(not remote.xml) I will update this later. ().


  • This pointed me into the right direction. Unfortunately I have not figured out (yet) how to use <mod="longpress"> which would add a lot more functionality.

    Beelink MiniMXIII II 2GB, 32GB always running latest Libreelec from SD card. No issues so far(except for the ones already known or posted by me).

    Mecool m8s Pro+ which with widevine level 1, Android runs a hacked version of android TV.

  • One suggesting


    Can you keep remote list on first topic?


    Its easily to users to find their remote instead to keep always asking for remote file

    - Box Android Mini M8S II (Amlogic S905X, 2GB RAM, 8GB ROM)
    - Ugreen USB Ethernet Adapter Usb 3.0 2.0 [ASIX AX88179 Chipset]
    - LibreELEC 8.2 (Nougat Kernel) builds aimed at devices based on Amlogic S905/S905X SoC.


  • This pointed me into the right direction. Unfortunately I have not figured out (yet) how to use <mod="longpress"> which would add a lot more functionality.

    Longpress in kodi only works for keyboards, not remotes that reach kodi as lirc events.


    You can disable the Linux event -> lirc event translation, eg by creating an empty eventlircd udev rule:

    Code
    1. : > /storage/.config/udev.rules.d/98-eventlircd.rules

    then the remote buttons/keys reach kodi like standard keyboard input.


    There's one drawback though: kodi currently can't deal with a lot of keycodes used on remotes, eg KEY_OK, KEY_CHANNELUP/DOWN and a bunch of others won't work. So you'll have to use different keycodes in your keymap (eg KEY_ENTER instead of KEY_OK).


    so long,


    Hias

  • One suggesting


    Can you keep remote list on first topic?


    Its easily to users to find their remote instead to keep always asking for remote file

    Good, idea, to have a list that anyone can update, & perhaps a repo? so anyone can upload remote files. Rather than one person having to maintain it.

    Samsung RU7400 Onkyo HTX22HDX Nvidia Shield HD Homerun Duo (Living Room)

    Samsung UE40ES5500 H96 Pro, X96+, Fire TV 4K Stick (Bedroom)

    Synology DS414 Plex Pass

    :)

  • HiassofT, Is there any example of usage? What files to modify in this case for longpress actions?

  • Guys, what would be the best way to configure both a NEC and an RC-6 remote ?

    I have been reading and trying without any luck.


    Is it even possibe to have both an rc-6 and a nec driven remote activated at the same time?


    Thanks for any pointers.

    'You're like a child who wanders into the middle of a movie and wants to know -..' ~ Walter Sobchak (The Big Lebowski)


  • Yes, that's possible - and default LibreELEC configuration uses that to support both rc-6 remotes like MCE and NEC remotes like Xbox 360, One (crap, I always mix these up) Wetek Hub etc out of the box.


    All that's needed is that you put both RC6 and NEC into the header, after "type:". See for example the /usr/lib/udev/rc_keymaps/libreelec_multi_amlogic file:

    Code
    1. # table libreelec_multi_amlogic, type: RC6 NEC
    2. # rc6_mce
    3. 0x800f0400 KEY_NUMERIC_0
    4. ...
    5. # wetek_hub
    6. 0x77f1 KEY_POWER
    7. 0x77f2 KEY_HOME


    So, simply create a separate keymap for each remote and then combine the content into a "multi" keymap file and use a header like above.


    so long,


    Hias

  • I don't know, but could you add the extra remote to the /storage/.config/rc_keymaps.


    then edit

    /storage/.config/rc_maps.cfg to add the other remote as well?


    looks like someone has given a better answer,

    Samsung RU7400 Onkyo HTX22HDX Nvidia Shield HD Homerun Duo (Living Room)

    Samsung UE40ES5500 H96 Pro, X96+, Fire TV 4K Stick (Bedroom)

    Synology DS414 Plex Pass

    :)

  • Ah, the keymap combining part is where i got stuck.


    Created a seperate keymap file for the rc-6 Xbox 360 remote and it works, but only for a single remote at a time.

    Thanks for your kind explanation, saved me some time :-)

    'You're like a child who wanders into the middle of a movie and wants to know -..' ~ Walter Sobchak (The Big Lebowski)

  • BTW: before you start creating a keymap on your own have a look what's already shipping with LE in /usr/lib/udev/rc_keymaps.


    Xbox 360 and Xbox One are already there, so you can just put the name in rc_maps.cfg and don't need to create an rc_keymaps/MYREMOTE file first. Or you can use these as a template in case you want to modify something.


    so long,


    Hias

  • haha yes, i noticed that while browsing the dir. you pointed me too.

    Excellent, both working now. I really like how you can just grab some remote you like now and hook it up without much effort.

    'You're like a child who wanders into the middle of a movie and wants to know -..' ~ Walter Sobchak (The Big Lebowski)