rg35xx-cfw / rg35xx-cfw.github.io

RG35XX Custom Firmware Documentation
419 stars 3 forks source link

rg35xx plus doesn't really turn off ? #70

Open vvzpaco opened 5 months ago

vvzpaco commented 5 months ago

Even after turning off the console by selecting shutdown through the batocera menu, it completely turns off the screen, but continues to heat up, I did this process at night and went to sleep, when I woke up and went to turn it on, the battery was completely empty.

acmeplus commented 5 months ago

Ok, I'll investigate, I'm running my tests with the device open and without battery, so that may be part of the reason I didn't notice that before.

korikirg35xx commented 5 months ago

The same happens to me on my original rg35xx

docloulou commented 5 months ago

Yes, same for me this morning. Wondering if a PORTS script with shutdown command is a valid temporary fix ?

acmeplus commented 5 months ago

Yes, same for me this morning. Wondering if a PORTS script with shutdown command is a valid temporary fix ?

That's definitely an option as a temporary, you can call the poweroff.sh script from a shutdown script in ports. This should do:

#!/bin/sh

poweroff.sh

Just save that in roms/ports as Shutdown.sh

docloulou commented 5 months ago

Thank you @acmeplus , for your response. However, I am curious about the difference in impact between calling this script via PORTS and via the UI (shutdown with saving metadata). both are calling this script, right ? I know the PORTS is sudo ... maybe not the UI...

rupokify commented 2 months ago

Yes, same for me this morning. Wondering if a PORTS script with shutdown command is a valid temporary fix ?

That's definitely an option as a temporary, you can call the poweroff.sh script from a shutdown script in ports. This should do:

#!/bin/sh

poweroff.sh

Just save that in roms/ports as Shutdown.sh

For me, it doesn't work because while it tries to gracefully shut down by stopping the process, the NFS daemon fails to stop. So the device doesn't shut down, but rather restarts back and the screen keeps flickering (not sure why) until I go to the menu.

processfails

Working alternative:

#!/bin/sh

shutdown -h now