Sleep and external display - Are there any options?
#4
(09-02-2023, 11:21 AM)chris88233 Wrote:
(09-02-2023, 10:49 AM)wdt Wrote: Again....
s2, s2R, s3, STR, hibernate,,, just what are you trying to get?
I don't know if this will work for external monitor, don't have right hub to try
If you have nvme,,, don't bother,  STR won't work
For me. with end of 2019 pbp,, right NOW, uptime 109 days (s2R, STR, s3 which are all the same)
5.8.14-1 kernel., mrfixit2.0 uboot,,  edit to sleep.conf,, power button set to ask,, lid close to ignore
https://drive.google.com/drive/u/0/folde...NMFznnrzV9
mrfixit on uSD, emmc uboot area blanked
Use ONLY power button to start sleep dialog, waken
BTW,,, this gives 14d sleep

I'd be happy with any sleep state other than s2idle.

When you say "mrfixit on uSD", are you booting from the microSD? Do you have anything on your SPI (or, does your version of the Pinebook Pro have an SPI?)


I have roughly the same setup as wdt. MrxFixit uboot 2.0 (on emmc - blank spi - but that should not matter), Daniel Thompon's kernel 5.7 (which got removed from his website by now) and Debian 12 on emmc. It gives (probably) around 14 days of suspend to memory. It comes with some caveats, though:

  • Suspend fails when the GPU is in use. That can happen in cases as trivial as having opened a multimedia enriched website
    Code:
    $ journalctl | grep "failed to suspend"
    Jun 10 15:54:19 debian kernel: PM: Device ff9a0000.gpu failed to suspend: error -16


  • Upon coming back from suspend to memory, audio is gone because the audio driver in my kernel version does not implement suspend and resume callback functions. Audio can be revived brute force by unbinding and rebinding the sound driver. This crashes the kernel if the driver is accessed in the split-second between unbinding and rebinding. So, make sure not to play any sound when executing this command:
    Code:
    $ sudo tee /sys/bus/i2c/drivers/es8316/{un,}bind <<< 1-0011


  • The Pinebook Pro wakes up from suspend to memory in the moment it gets connected to external power or unconnected from external power.
  Reply


Messages In This Thread
RE: Sleep and external display - Are there any options? - by Der Geist der Maschine - 09-02-2023, 12:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  No external monitorvia USB-C over Dockingstation bnjmnhg 14 3,295 11-28-2023, 01:35 PM
Last Post: zaius
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 982 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 5,584 08-31-2023, 04:20 PM
Last Post: TRS-80
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,318 12-09-2022, 12:43 PM
Last Post: as365n4
  How to make manjaro sleep or hibernate? KDE? regretfulpineuser 0 1,013 06-20-2022, 12:56 AM
Last Post: regretfulpineuser
  Garbled display with kernels 5.15 and 5.14 schwarzwieweiss 4 3,276 11-07-2021, 06:30 AM
Last Post: schwarzwieweiss
  reset sound after suspend to memory (deep sleep) Der Geist der Maschine 16 17,311 10-18-2021, 07:31 PM
Last Post: Syonyk
Question External display doesn't work in TwisterOS (Armbian) TDC_PBP 0 1,574 08-21-2021, 02:46 PM
Last Post: TDC_PBP
  External USB C Monitor not working altacus 29 39,105 08-08-2021, 10:19 AM
Last Post: Dendrocalamus64
Question Help: Pinebook Pro will not enter sleep [Manjaro 20.04] EverythingIsInput 49 65,443 05-07-2021, 06:21 AM
Last Post: line72

Forum Jump:


Users browsing this thread: 1 Guest(s)