Posts by dtech

    Which device do you have? An Eny M8S 2G? And what was the name of image file that worked by Demetris?

    Did you rename the dtb file to dtb.img and copied it to the root of sdcard first partition? If you just copyed the file into device_tree it is not enough.

    And one more thing: my M8S (n200C) and Eny M8S (n200) have different IR remote.

    I found some picture from Eny's remote, and it uses same remote like MXQ (S805) device.

    If you have this remote, you need the correct remote.conf: remote_mxq.zip.

    My builds are tested with two variant of M8S+ box, and it perfectly works with ap6330 and bcm4335b0 as well.

    The two boxes have same PCB, the only difference is just the wifi/bt module, but both are working.

    My M8S (n200C_2G, PCB: CS_812M8_V1.3) build is based on same source, and it also have ap6330 on the PCB, ad it works too.

    Maybe if you have a correct dtb (n200_2G?), it will work, but I cannot test it, because I don't have any n200-based S812 device.

    Okay, but how? I compile LE from source, so I will try to find a permanent fix for this sutation, a source code patch would be the best.

    The autostart.sh is just a temporary modification for one device only, but it is not enough.

    I tried to figure out what process handles this, because systemd have a "kodi-lirc-suspend.service" script.

    If I send the box to suspend mode, dmesg shows the last pressed button was ENTER (Power menu -> Suspend item selected).

    The box is now in sleep state. I press the power button again. The box wakes up, LED changes from red to blue.

    But there is no pressed button listed in dmesg. Kodi somehow still detects this button event, and it shows the power menu again.

    I tried to override power button event: instant sleep instead of power menu.

    But it causes an evil endless loop: wake up and back to suspend again...

    Thanks, but this is not a real solution. If I need to completly ignore power menu, I can comment out the line of power button in the remote.conf.

    But I need the power menu if the power button pressed in normal mode.

    I don't know what process can handle power button event if the box is in suspend mode.

    If the button is pressed, the box wakes up, but Kodi also handles this button event. I have the problem with the last thing only.

    Hi all,

    I have a problem with the power button of my IR remote control. The uboot of my box (M8S, Amlogic S812 2G/8G) doesn't support power off correctly, therefore I applied a suspend patch in Kodi (LE 9.0, Kodi 18.2).

    The suspend and resume works fine with my box. When I press power button, the box woke up, but the power menu always shows up after resume.

    If somebody have a solution, how can I ignore power button event in Kodi after I sent to sleep the box, please share with me.

    Thanks,

    dtech.

    I also made a custom version for M8S+ devices, which based on the Demetris' source:

    GitHub - dtechsrv/LibreELEC.tv: 'Just enough OS' for Kodi for OTT M8S+ TV boxes

    (Compiled LE image for M8S+: Releases · dtechsrv/LibreELEC.tv · GitHub)

    Maybe my source repo is usable for Eny M8S (n200) devices too, because I also replaced the kernel version to another one.

    The original kernel was unbootable on my M8S+ device, because it encountered a problem with NAND flash pins.

    This is a legacy LE v9.0.2 build with Kodi 18.2, because later versions from Kodi (18.3+) have a very strange issue with Simple IPTV client (very slow channel change, about 8-10 seconds), and I cannot find the correct patches for this issue. Maybe it exists, because on AlexELEC doesn't have this issue with newer Kodis, but sadly Alex cannot update his sources on GitHub.

    I also have an M8S device (n200C_2G, PCB: CS_812M8_V1.3), and it works with same meson8m2_KII.dtb.

    The only thing I had to replace was the remote.conf, but I also patched the LE's remote-config script, so it loads remote.conf from /flash too.

    I tried to solve the power issue, because my M8S's uboot cannot turn on via IR remote control. So now it goes to suspend instead of power off state.