Help: Pinebook Pro will not enter sleep [Manjaro 20.04]
#41
In my experience, ONLY on SD, battery in s3 is ~7%/day
Maybe it is better on emmc, I can't imagine why
And, yes only a bsp uboot
  Reply
#42
Well, I tried flashing the mrfixit u-boot and hosed my system. On the first boot afterward I noticed some things were broken and there appeared to be disk corruption (files showing as ????????? when using ls), and when I tried rebooting it was stuck on the red light. But hey, now I know how to reflash back to stock from SD card, yay for me I guess.

I think I'll just leave it be.
  Reply
#43
Is there a clearly recommended fix for this? Also unable to suspend on current Manjaro ARM Plasma release; it has never worked for me. Guidance appreciated.
  Reply
#44
> Is there a clearly recommended fix for this?
For what?
If you are referring to the previous post, I think probably the dd command was wrong
uboot (and friends) should NOT be flashed to a partition, but the block device,,, ie
/dev/mmcblk2,,, NOT /dev/mmcblk2p1
If you run fdisk, you will see that the first 62500 sectors have no partition (manjaro),
only the mbr (sector0) and whatever uboot that is installed(and idbloader and maybe trust)
For that matter, only 1 uboot is needed, that 62500 sectors (except for mbr) could be blank
if there is a uboot somewhere else
For manjaro, 5.9 doesn't work, sleep.conf has to have SuspendState=mem in it
and, of course, a bsp uboot
  Reply
#45
Hi everyone one!

Relatively new to PBP.

Just to be sure what I understant here :

"uboot-pinebookpro-bsp" must be installed in place of "uboot-pinebookpro" as the U-BOOT bootloader to support S3 sleep?

Because I nuked by U-BOOT on my PBP and I had to reinstall the base image on Manjaro 20.10 and it come by default with "mainline" U-BOOT, not the BSP.

Last time I tried to install the BSP version (by using the instructions PACMAN showed me) I ended with an unbootbale PBP (still was able to boot from SD card so I reflashed everything).

So,
1) Must I use the BSP version for S3?
2) What are the exact comand to install it if required? The PacMan one or others?

Thanks!
  Reply
#46
(I deleted my previous post and re-did this one. Clearer)

Ok. Found partial answers. The instructions to install uboot-pinebookpro-bsp/uboot-pinebookpro from PACMAN are good.
But it seems to replace the extlinux.conf file so making a backup first and restoring the file after before rebooting is a must.

Now I can switch from the mainline and bsp version. Good.

Looks like the "mainline" version keep the power led red until the kernel boot so it help finding which one is installed.


I have edited the sleep.conf file and changed the parameters

Code:
SuspendState=freeze

to

Code:
SuspendState=mem

Now, when I put the computer un sleep mode, it just stay that way forever. I have to press the power button for 10 seconds and then reboot the laptop.

What did I do wrong?

Using Manjaro 20.10 btw.

Also, found out that the "mainline" version of u-boot alway boot from the eMMC. I have to keep the "bsp" version to be able to bood from SD card. Is it normal?

So, to resume, two questions:

1) With uboot-pinebookpro-bsp + "mem" settings in "sleep.conf", the computer don't resume from sleep. How to fix?
2) With uboot-pinebookpro (mainline), the computer can't boot from MicroSD anymore. BSP version can. Normal?

Thanks!
  Reply
#47
>What did I do wrong?
Unless you have right kernel, this is really quite common behavior, others than manjaro
uname -r ,,, almost certainly will be 5.9,x or 5.10.x
Enable AUR ( package repository), install downgrade ( a shell script ), then
linux-pinebookpro 5.8.x (downgrade linux)
s3 sleep also requires a bsp uboot too, mainline will not work
The over writing of extlinux.conf, without making an .old (as backup) is quite annoying
  Reply
#48
(12-29-2020, 10:51 PM)wdt Wrote: >What did I do wrong?
Unless you have right kernel, this is really quite common behavior, others than manjaro
uname -r  ,,, almost certainly will be 5.9,x or 5.10.x
Enable AUR ( package repository), install downgrade ( a shell script ), then
linux-pinebookpro  5.8.x  (downgrade linux)
s3 sleep also requires a bsp uboot too, mainline will not work
The over writing of extlinux.conf, without making an .old (as backup) is quite annoying

I have 5.9.13-1-MANJARO-ARM

so I have to downgrade the kernel for S3 to works?
Won't it automatically re-update after when using PACMAN ?

I have "uboot-pinebookpro-bsp" installed from PacMan. Is it OK ?
  Reply
#49
You can pin a version
I think it is 5.8.14 that I am using
The pinebookbsp is OK, a fork from mrfixit's bsp
  Reply
#50
Are we ever going to be able to upgrade past kernel 5.8.14 and still have working s3 sleep? I've pinned to 5.8.14 for now since every time I've upgraded to a new kernel suspend broke, but we are getting pretty far behind...
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Please help...Pinebook Pro Night Color / mode not working :( sushilsharma71@gmail.com 1 61 2 hours ago
Last Post: Dendrocalamus64
  Working suspend on Manjaro brzegorz 2 135 Yesterday, 06:21 AM
Last Post: vssz
  Manjaro and Arch repository with privacy oriented software as400 78 45,703 07-28-2021, 05:24 AM
Last Post: llsf
  which distro + DE are you using these days on the Pinebook Pro? halogen 18 969 07-25-2021, 12:33 PM
Last Post: wpeckham
  Blobs on the Pinebook Pro globaltree 6 188 07-25-2021, 12:11 PM
Last Post: igorp
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 0 114 07-24-2021, 09:09 AM
Last Post: Bocanila
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 0 131 07-13-2021, 10:37 PM
Last Post: pjsf
  Kernel crash on Manjaro ARM mfashby 0 137 07-06-2021, 03:17 PM
Last Post: mfashby
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 71 49,740 07-03-2021, 02:40 PM
Last Post: user526
Bug 4K@30 video output does not work properly on Pinebook Pro jkm 0 201 06-29-2021, 08:43 AM
Last Post: jkm

Forum Jump:


Users browsing this thread: 1 Guest(s)