PineBook Pro seems to go to deep sleep, but doesn't wake up
#1
Hello,

is sleep supposed to work on the manjaro arm image?

I have installed the latest Manjaro KDE for PineBook pro 22.06 (5.18 kernel) and am using tow-boot 2021.10-004.

I have tried external mice, pressing all keys, the power button, touchpad etc. but the only thing that makes the pbp turn on again is holding the power button to completely turn it off and pressing it again to turn it on. Am I supposed to install anything (like patches) or change the config?


if anyone has any ideas on how to fix sleep, I would appreciate it.


output from

Quote:journalctl | grep suspend
Code:
avg 09 18:00:28 nik-pc systemd-sleep[8619]: Entering sleep state 'suspend'...
avg 09 18:00:28 nik-pc kernel: PM: suspend entry (deep)
avg 09 19:12:35 nik-pc systemd-sleep[6152]: Entering sleep state 'suspend'...
avg 09 19:12:35 nik-pc kernel: PM: suspend entry (deep)
avg 09 19:24:39 nik-pc systemd-sleep[1343]: Entering sleep state 'suspend'...
avg 09 19:24:39 nik-pc kernel: PM: suspend entry (deep)
avg 09 20:09:25 nik-pc systemd-sleep[1595]: Entering sleep state 'suspend'...
avg 09 20:09:25 nik-pc kernel: PM: suspend entry (deep)
avg 09 20:20:49 nik-pc systemd-sleep[1808]: Entering sleep state 'suspend'...
avg 09 20:20:49 nik-pc kernel: PM: suspend entry (deep)
avg 09 20:23:50 nik-pc systemd-sleep[1136]: Entering sleep state 'suspend'...
avg 09 20:23:50 nik-pc kernel: PM: suspend entry (deep)
avg 09 20:37:46 nik-pc sudo[1058]:     nikd : TTY=pts/0 ; PWD=/home/nikd ; USER=root ; COMMAND=/bin/systemctl suspend
avg 09 20:37:47 nik-pc systemd-sleep[1082]: Entering sleep state 'suspend'...
avg 09 20:37:47 nik-pc kernel: PM: suspend entry (deep)
avg 09 20:47:23 nik-pc kernel: PM: suspend entry (deep)
this is my /etc/systemd/sleep.conf

Code:
[Sleep]
AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
SuspendState=mem
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=180min
  Reply
#2
My experience,,, about 1/3 - 1/2 distos seem to enter sleep,
but never wake up. So you actually have NO idea if it is working
So, clearly a defective sleep
BTW, many screen magnets are in wrong place, must be set to ignore
(and power set to ask, all in systemsettings5)
My sleep,,, tap power, wait 2s, right arrow to sleep, enter
To wake, tap power
I suspect your problem is the kernel version, I don't think later ones have sleep patch
It (kernel) must have pinebookpro OR PBP in name,,late 5.6, 5.7 or 5.8
I think the last has been dropped
Let me know if any later version works
BTW, your sleep.conf looks right
  Reply
#3
I installed the current Manjaro image today. Same problem: Fn-Escape makes it go to sleep, but nothing wakes it up.

Hard to restart it, too. I think it involves holding power for 5 secs or so, and later another press?

```
$ uname -a
Linux pinebookpro 6.1.2-1-MANJARO-ARM #1 SMP PREEMPT ...
```

The manual said to use "GENERIC" image, as pinebookpro image of manjaro is no longer available, so that's what I did.

DietPi distro was even worse: no sound, no function keys, no backlight control.

Man, this pinebook pro is neigh unusable.
  Reply
#4
I had the same problem when I installed tow-boot to the SPI flash.  Suspend/resume would work fine with the Manjaro image on the eMMC but would fail to resume after tow-boot was installed.  I don't know why (I came here to ask about a similar situation), but zeroing out the SPI flash worked for me.
  Reply
#5
I had the same issue and was able to resolve by unplugging the battery from the board temporarily.
  Reply
#6
(04-19-2023, 03:42 PM)mensingma Wrote: I had the same issue and was able to resolve by unplugging the battery from the board temporarily.

Can you clarify? What distro, what bootloader, what kernel? I am happy to use any distro that will sleep / wake reliably :-)
  Reply
#7
(04-21-2023, 03:45 PM)rik-shaw Wrote:
(04-19-2023, 03:42 PM)mensingma Wrote: I had the same issue and was able to resolve by unplugging the battery from the board temporarily.

Can you clarify? What distro, what bootloader, what kernel? I am happy to use any distro that will sleep / wake reliably :-)

That is finally the case for me with u-boot 2023.04 (ATF 2.8.0) and kernel 6.2 without any battery shenanigans. At least with eMMC, didn't try with NVMe.
  Reply
#8
Suspend seems to work for me on recent Armbian version, with XFCE desktop. I can go to menu -> Log Out -> Suspend and it seems to work. Subsequently pressing power button resumes.

In addition, closing lid seems to blank the screen, and opening it turns it back on. I don't think it is suspending in this case, but not sure.
Cheers,
TRS-80

What is Free Software and why is it so important for society?

Protocols, not Platforms

For the most Linux-y experience on your Linux phone, try SXMO!

I am (nominally) the Armbian Maintainer for PineBook Pro (although severely lacking in time these days).
  Reply
#9
(04-26-2023, 02:49 AM)jpalus Wrote:
(04-21-2023, 03:45 PM)rik-shaw Wrote:
(04-19-2023, 03:42 PM)mensingma Wrote: I had the same issue and was able to resolve by unplugging the battery from the board temporarily.

Can you clarify? What distro, what bootloader, what kernel? I am happy to use any distro that will sleep / wake reliably :-)

That is finally the case for me with u-boot 2023.04 (ATF 2.8.0) and kernel 6.2 without any battery shenanigans. At least with eMMC, didn't try with NVMe.

Is this different from a standard u-boot installation? I'm trying to figure out if I should want to uninstall tow-boot and switch back to u-boot
  Reply
#10
(07-05-2023, 01:53 PM)kebab Wrote:
(04-26-2023, 02:49 AM)jpalus Wrote:
(04-21-2023, 03:45 PM)rik-shaw Wrote:
(04-19-2023, 03:42 PM)mensingma Wrote: I had the same issue and was able to resolve by unplugging the battery from the board temporarily.

Can you clarify? What distro, what bootloader, what kernel? I am happy to use any distro that will sleep / wake reliably :-)

That is finally the case for me with u-boot 2023.04 (ATF 2.8.0) and kernel 6.2 without any battery shenanigans. At least with eMMC, didn't try with NVMe.

Is this different from a standard u-boot installation? I'm trying to figure out if I should want to uninstall tow-boot and switch back to u-boot

I'm using "standard" mainline u-boot.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 111 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 937 08-21-2024, 04:17 AM
Last Post: KC9UDX
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 401 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 2,891 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,108 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,220 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,511 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 103,537 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 2,697 11-23-2023, 07:37 AM
Last Post: KC9UDX
  Sleep and external display - Are there any options? chris88233 7 3,012 09-04-2023, 09:03 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)