T95Z 2G/16G(S912) remote control does not work on 10.95.0-box

  • Hello,

    My TV box T95Z(2G/16G) installed LibreELEC-S912.arm-8.2-8.2.2.3(Kodi 17) many years, everything is ok.

    Now I try official LibreELEC-AMLGX.arm-10.95.0-box(Kodi 20) with clean installed sd card.

    After boot, cec is ok but remote control does not work.

    (dtb: meson-gxm-q200.dtb, and I also try q201, mecool-kiii-pro, minix-neo-u9h...)

    The keymap of T95Z is same as x96max, so I try:

    ir-keytable -c -w /usr/lib/udev/rc_keymaps/x96max.toml

    But remote control still does not work..

    Then I try:

    systemctl stop kodi

    systemctl stop eventlircd

    ir-keytable -t

    ir-keytable -c -p all -t

    No response after keys press.

    And I try:

    ir-ctl -r

    I can get messages like:

    +10240 -3260 +1800 -430 +11110 -420 +1810 -430 +1810 -430 +1810 -420 +1810 -430 +1810 -430 +1810 -430 +2970 -430 +1810 -420 +2980 -420 +5300 -420 +4140 -420 +2980 -420 +1820 -420 +1810 -430 +1810 -38390 +10240 -970 +1810 -66132

    Here is url of log from pastekodi command.

    http://ix.io/4nTG

    Thank you in advance!

  • Code
    mkdir -p /storage/.config/rc_keymaps
    cp /usr/lib/udev/rc_keymaps/x96max.toml /storage/.config/rc_keymaps/custom_remote
    sed -i 's/x96max/custom_remote/g' /storage/.config/rc_keymaps/custom_remote
    echo "*  *  custom_remote" > /storage/.config/rc_maps.cfg
    reboot

    This ^ should define a new custom_remote config that's the same as the x96max remote.

    Code
    echo "*  *  x96max" > /storage/.config/rc_maps.cfg
    reboot

    This ^ might be an even easier version (see if it works first). It's been a while since I played around with the keymaps.

    If neither of those work, the keycodes need to be persuaded into outputting something with `"ir-keytable" .. I'm not sure why that wouldn't be showing something.

  • Code
    mkdir -p /storage/.config/rc_keymaps
    cp /usr/lib/udev/rc_keymaps/x96max.toml /storage/.config/rc_keymaps/custom_remote
    sed -i 's/x96max/custom_remote/g' /storage/.config/rc_keymaps/custom_remote
    echo "*  *  custom_remote" > /storage/.config/rc_maps.cfg
    reboot

    Thanks for your reply.

    I follow the statements to add custom_remote, but remote still does not work.

    And I check again:

    systemctl stop kodi

    systemctl stop eventlircd

    ir-keytable -t

    ir-keytable -c -p all -t

    No response after keys press.

  • btw, Ethernet is not working on the box. The same issue has been seen on several GXM devices and I'm not sure quite what the issue is yet.

    I found the solution: https://forum.armbian.com/topic/12657-t9…for-kernel-530/

    After tested modified dtb file, Ethernet is ok.

    Attached modified dtb and dts(txt) files.

  • Interesting. I discovered that dtech (staff contributor) has the same box (or at least, something that claims to be - there are lots of clones) so I'll make a device-tree file for you both to test. I'll map the x96max remote to see if that works too.

  • https://chewitt.libreelec.tv/testing/LibreE…95.1-box.img.gz <= set "meson-gxm-t95z-plus.dtb" in uEnv.ini

    please share "pastekodi" log URL afterwards, thanks.

    Thanks a lot.

    I try 10.95.1-box with clean installed sd and meson-gxm-t95z-plus.dtb file.

    After boot, Ethernet is ok, but remote control also does not work.

    I check again:

    systemctl stop kodi

    systemctl stop eventlircd

    ir-keytable -c -w /usr/lib/udev/rc_keymaps/x96max.toml

    ir-keytable -v -t No response

    ir-keytable -c -p all -t No response

    Here is the log: http://ix.io/4nWd

  • Code
    cd /storage/.update
    wget https://chewitt.libreelec.tv/testing/LibreELEC-AMLGX.arm-10.95.1.tar
    reboot

    ^ That version should have fixed Ethernet and USB, and I removed the keymap so IR is in a 'blank' state. IR isn't working in the staff members box either and (so far) none of us figured out why, it's most unusual.

  • Code
    cd /storage/.update
    wget https://chewitt.libreelec.tv/testing/LibreELEC-AMLGX.arm-10.95.1.tar
    reboot

    ^ That version should have fixed Ethernet and USB, and I removed the keymap so IR is in a 'blank' state. IR isn't working in the staff members box either and (so far) none of us figured out why, it's most unusual.

    I tried my mce remote with this new version. (Only via mce ir receiver(USB interface))

    After boot, I plug mce ir receiver, but it is not work. (only one device shown on ir-keytable)

    So I roll back to the previous version of meson-gxm-t95z-plus.dtb and tried again.

    Then ir-keytable got another device.

    I check again: (each time only pressed 'UP' key once with remote control of T95Z)

    systemctl stop kodi

    systemctl stop eventlircd

    ir-keytable -s rc0 -t

    No response

    ir-keytable -s rc1 -t

    210.900710: lirc protocol(nec): scancode = 0x116

    210.901041: event type EV_MSC(0x04): scancode = 0x116

    210.901041: event type EV_SYN(0x00).

    210.951379: lirc protocol(nec): scancode = 0x116 repeat

    210.951527: event type EV_MSC(0x04): scancode = 0x116

    210.951527: event type EV_SYN(0x00).

    ir-ctl -r -d /dev/lirc0

    +10650 -2840 +2210 -20 -11510 -10 +2230 -10 +2220 -10 +2230 -10 +2220 -10 +2230 -10 +2220 -20 +3380 -10 +2230 -10 +3380 -20 +5700 -10 +4550 -10 +3380 -20 +2220 -10 +2220 -20 +2220 -19917

    +10650 -560 +2210 -20556

    ir-ctl -r -d /dev/lirc1

    +9150 -4450 +650 -1600 +650 -550 +600 -550 +600 -550 +600 -550 +600 -600 +600 -550 +600 -550 +600 -550 +600 -1600 +650 -1600 +600 -1600 +650 -1600 +650 -1600 +650 -1600 +650 -1600 +600 -600 +600 -1650 +650 -1600 +650 -550 +600 -1650 +650 -550 +600 -550 +600 -550 +600 -1600 +650 -600 +600 -600 +600 -1600 +650 -550 +600 -1600 +650 -1600 +650 -1600 +650 -31150

    +9150 -2150 +650 -31150

    I am not sure why ir-ctl command produces very different results for the two devices. (Maybe this is why ir-keytable can not parse???)

    And after configured ~/.config/rc_maps.cfg and rc_keymaps, remote control is ok(via mce ir receiver).

    Here is the log for your reference. http://ix.io/4ody

    Thanks a lot.

  • Hi,

    I have the same problem. I have been reading and trying the hole thread, but when I try with rc1 I have this message

    LibreELEC:~ # ir-keytable -s rc1 -t

    Not found device rc1

    LibreELEC:~ #


    Also this

    LibreELEC:~ # ir-ctl -r -d /dev/lirc1

    /dev/lirc1: cannot open: No such file or directory

    LibreELEC:~ #

    How can I have this lirc1?

    Thanks