ROCKNIX / distribution

Other
271 stars 52 forks source link

[BUG] Cannot wake from sleep #302

Closed Soundtoxin closed 4 weeks ago

Soundtoxin commented 4 weeks ago

Describe the bug

After trying to put my device to sleep, I am unable to wake it up and I have to hard power it off and then turn it back on. Additionally one of the 2 or 3 times this has happened recently, upon reboot my games SD card wasn't being detected for some reason, but ejecting and reinserting, then doing a game scan made everything show up again. That was a first. I have noticed that if I have an ssh connection open that it freezes when I press the power button once, so it's at least disconnecting from the WiFi when I press it. It's unclear what all it's doing.

How to reproduce

Steps to reproduce the behavior:

  1. While in the main menu, press the power button once
  2. Wait some time, maybe 30 seconds (just in case)
  3. Attempt to wake the device by pressing or holding the power button briefly

Information

Log file

Context

I have never had the sleep work with ROCKNIX so far and I don't use my device enough to recall if it worked with JELOS. I either press the button by accident or from muscle memory like I would to put my phone or Steam Deck to sleep. This may be related to the other power issues I'm having with battery drain while "off" and the device not powering off correctly as mentioned here: https://github.com/ROCKNIX/distribution/issues/256#issuecomment-2168716925

sydarn commented 4 weeks ago

Do you have Android on your eMMC?

Soundtoxin commented 4 weeks ago

Yes. I don't use it, but never bothered to overwrite it either.

Soundtoxin commented 4 weeks ago

I saw on the website before this line

eMMC models with legacy bootloader is not supported.

but I didn't really understand what it was implying before. I guess if you're asking it must mean there are known issues with the factory configuration and I should change my install to be on eMMC instead, or at least wipe out Android.

sydarn commented 4 weeks ago

This is expected behavior if you have android on the emmc, the legacy bootloader breaks sleep in rocknix. This is expected behavior if you don't use the rocknix packaged booloader. Closing this issue,

EDIT: if you want sleep you need to wipe android from the eMMC

Soundtoxin commented 4 weeks ago

Thanks. Wakes from sleep fine now after zeroing out the eMMC.