PineBook Pro Powering Down Instead of sleeping
#1
Shocked 
Hi there,
I'm very new to Linux and using a Pinebook (before this I have only used a PC with Windows 10), so I really don't know anything more than a few basic commands in the terminal for viewing files. I've just recently upgraded the eMMc module to 128gb and booted the computer with Ubuntu. I have found however an issue where the computer doesn't like to go into a suspended or sleeping mode, but instead directly powers off after a short amount of time. I've gone through the settings and haven't found anything that would fix this and I'm not exactly sure how to change something like this through the terminal (although I assume it is possible).
Thanks in advance to anyone who can help!
#2
I believe suspend doesn't work as it is not ported over unless you have one of the os's that have bsp uboot as the mainline uboot hasn't been fully worked out when ported. I'm new to Linux too and learned tons from reading through these forums, a great starting place. I too installed Ubuntu but to my sdcard. I used this thread as a guide and it may help with the suspend issue. https://forum.pine64.org/showthread.php?tid=10279
#3
I just went down this rabbit hole.  Your most likely getting s2idle right now instead of deep suspend.  I'm running Debian Bullseye with bsp uboot and a 5.7 kernel, lost maybe 3-4% battery in suspend from yesterday afternoon to this morning.  Here is a high level explanation of what you can do to enable/test deep sleep.

First you need to grab the pbp-tools from Git (https://github.com/xmixahlx/pbp-tools).  You will also need an updated uboot (https://gitlab.manjaro.org/manjaro-arm/p...ookpro-bsp).  I manually flashed uboot, there might be an easier way if you are uncomfortable using dd but there are good instructions here (https://forum.pine64.org/showthread.php?...ep+suspend).  Then you use pbp-install-linux from the pbp-tools to build a new kernel and install the package it creates.  Next have a look at the 3rd post down here (https://forum.pine64.org/showthread.php?tid=8443&page=2).  It outlines how to enable and test deep sleep.
#4
expanding on above, if you want to use pbp-tools/pbp-install-boot to write the mrfixit2001 v2.0 uboot images (which are based on bsp and are the most featureful we have right now), use DEVTARGET=device (writes to block device) or DEVTARGET=partitions (writes to partitions 1-3) and BLKDEV=<target block device> based on your installation.

you also likely need to configure /etc/systemd/{sleep,logind}.conf to actually get sleep to work if it wasn't working by default on ubuntu after installing a linux 5.7+ kernel using a reasonable linux config.


Possibly Related Threads…
Thread Author Replies Views Last Post
  My Experience Using the Pinebook Pro as a Daily Driver warpnow 6 366 6 hours ago
Last Post: moserwi
  Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) astr0baby 198 136,092 06-20-2021, 08:38 AM
Last Post: ImmyChan
  Pinebook pro for sale [UA only] mikkra 1 430 06-17-2021, 09:52 AM
Last Post: moondance4n
  Pinebook Boot CharlesBunders 14 1,539 06-15-2021, 07:40 PM
Last Post: James Good
  ANSI pinebook pro for sale (sold) andy046 7 529 06-10-2021, 07:55 AM
Last Post: andy046
  PineBook Pro kisangoli78 2 761 06-09-2021, 12:04 AM
Last Post: TfromTexas
  ISO keyboard Pinebook pro for sale tgrauss 2 278 06-08-2021, 12:05 AM
Last Post: tgrauss
  For Sale: Almost Brand New (slightly used) ANSI Pinebook Pro (photos attached) NeedleCone 0 196 06-04-2021, 10:12 AM
Last Post: NeedleCone
  new Pinebook Pro, complete confusion Yehuda 11 755 06-03-2021, 10:52 PM
Last Post: rimaille
  OBS on PineBook Pro dennisfaucher 1 207 06-03-2021, 08:00 AM
Last Post: dennisfaucher

Forum Jump:


Users browsing this thread: 1 Guest(s)