Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: Help: Pinebook Pro will not enter sleep [Manjaro 20.04] (/showthread.php?tid=9974) |
RE: Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - sleepingsysadmin - 06-05-2020 (06-04-2020, 10:00 AM)tophneal Wrote:(06-04-2020, 09:51 AM)sleepingsysadmin Wrote: When I configure for Deep suspend to ram (which is the ideal option) it does seem to go into deep suspend; but then I cannot unsuspend and similarly need to hold power button to shutdown. I couldn't find the appropriate files; I found BSP in the repo which had me remove the old BSP and provided me 3 dd options to flash. Unfortunately, ended up unbootable. I grabbed Armbian which includes BSP and S3 works right out of the gate. RE: Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - tophneal - 06-05-2020 (06-05-2020, 07:00 AM)sleepingsysadmin Wrote: I couldn't find the appropriate files; I found BSP in the repo which had me remove the old BSP and provided me 3 dd options to flash. Unfortunately, ended up unbootable. Yes, you're supposed to write all 3 of those files. Glad you got it, though! In case you want to hop distros down the line, or anyone else reading this thread wants BSP u-boot to utilize S3, here is a link to the section of the wiki with links to BSP u-boot files and scripts to flash them: https://wiki.pine64.org/index.php/Pinebook_Pro#Using_as_OS_root_drive RE: Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - ovv - 06-05-2020 After upgrading idbloader.img, uboot.img and trust.img from https://github.com/mrfixit2001/updates_repo/tree/v2.0 my pinebook is still using s2idle Code: Jun 05 18:15:18 utin systemd-sleep[12816]: Suspending system... s3 is correctly selected: Code: [root@utin ovv]# cat /sys/power/mem_sleep Is there a way to check I have the correct uboot version and / or anything else needed to enable S3 ? RE: Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - ovv - 06-05-2020 It appears on manjaro KDE systemd is configured to force suspend to s2idle even if s3 is available commenting this line in `/etc/systemd/sleep.conf` enable s3 for me Code: SuspendState=freeze RE: Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - tiagoespinha - 06-06-2020 Just a couple of words of warning for others looking at this thread in the future: - The mrfixit script to update the uboot does other things beyond flashing the uboot. It's probably a good idea to do this manually if you're using a non-mrfixit distro, like I was on Manjaro. After using mrfixit's script on my installation, I also ended up with an unbootable installation and had to start over from the SD. These are the relevant commands from mrfixit's script. Worked for me but naturally YMMV so proceed with caution: Code: SYSPART=$(findmnt -n -o SOURCE /) Naturally you'll need the three img files mentioned which you can find in mrfixit's v2 branch. - On a second note, after using his uboot s3 sleep works... sometimes. I've had all kinds of strange behavior. After sleeping I was once left without bluetooth or wifi (even after trying to sleep and wake multiple times) and I still occasionally get failures to sleep. I've been trying to narrow it down. The first failure to sleep I experienced was right after installing the synaptics driver for the touchpad. However, after uninstalling I still couldn't sleep. Afterwards I tried disabling wifi, bluetooth, etc and re-enabling one by one and it looks like it might be related to having bluetooth on and using a bluetooth mouse, but I'm not 100% sure yet. Either way, proceed with caution and you shall have some form of sleep working which is better than nothing RE: Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - sleepingsysadmin - 06-07-2020 (06-05-2020, 07:04 AM)tophneal Wrote:(06-05-2020, 07:00 AM)sleepingsysadmin Wrote: I couldn't find the appropriate files; I found BSP in the repo which had me remove the old BSP and provided me 3 dd options to flash. Unfortunately, ended up unbootable. I had new troubles with Armbian; not that unexpected. Long story short, ended up bricking my pinebook pro going this route. Power button doesnt seem to do anything. unplugged battery for some time. Reset button on board doesnt do anything. New problem Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - tophneal - 06-07-2020 Can you still boot from sd? RE: Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - sleepingsysadmin - 06-08-2020 (06-07-2020, 03:34 PM)tophneal Wrote: Can you still boot from sd? No, not sure what I did wrong. SD and USB both dont work. The green power light just never flicks on. My theory is SPI flash soft locked but then reset/recovery buttons also do nothing. RE: Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - wdt - 06-08-2020 Try an "extra long press" (pwr button) Due to a SD card mix-up, I had something like this, a few months ago When I found the "secret" I went thru a few cycles (I couldn't believe my eyes!!) 20+ seconds, for my device ~22s,, I know, in print, it's supposed to be 15s 1st time do for 30s, to be sure (if it is too short, nothing happens) RE: Help: Pinebook Pro will not enter sleep [Manjaro 20.04] - tophneal - 06-08-2020 (06-08-2020, 06:23 AM)sleepingsysadmin Wrote: No, not sure what I did wrong. SD and USB both dont work. The green power light just never flicks on. My theory is SPI flash soft locked but then reset/recovery buttons also do nothing. It likely isn't SPI, unless you tried writing a bootloader to it. SPI is empty OOTB. Luckily, your PBP probably isn't bricked, but there may be a problem with eMMC or install on it. Have you checked to make sure the eMMC is fully seated on the board? Sometimes, they can get jostled and unseated, causing sporadic issues in booting. You can also try to boot from an SD if you use the internal switch to disable the eMMC. If you can do that, you're certainly not bricked. Once booted through SD you can use the switch to enable the eMMC again, and use a few commands (in the wiki) to rebind the eMMC for writing. If after restoring or reinstalling to the eMMC, if you'd like to use BSP uboot to get s3 sleep, I'd suggest using pcm720's u-boot with ArgleBargle's script, as outlined in the previously linked wiki section. |