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 2 119 06-13-2021, 04:21 PM
Last Post: jiyong
  ANSI pinebook pro for sale (sold) andy046 7 402 06-10-2021, 07:55 AM
Last Post: andy046
  PineBook Pro kisangoli78 2 713 06-09-2021, 12:04 AM
Last Post: TfromTexas
  ISO keyboard Pinebook pro for sale tgrauss 2 222 06-08-2021, 12:05 AM
Last Post: tgrauss
  For Sale: Almost Brand New (slightly used) ANSI Pinebook Pro NeedleCone 0 149 06-04-2021, 10:12 AM
Last Post: NeedleCone
  new Pinebook Pro, complete confusion Yehuda 11 611 06-03-2021, 10:52 PM
Last Post: rimaille
  OBS on PineBook Pro dennisfaucher 1 155 06-03-2021, 08:00 AM
Last Post: dennisfaucher
  UK Pinebook Pro for sale (UK buyers only, 64GB, eMMC reader, NVME add-on) Z0rua 0 131 06-01-2021, 12:51 PM
Last Post: Z0rua
  Pinebook pro poor performance on 5Ghz WiFi Iolaum 10 4,146 05-23-2021, 04:35 AM
Last Post: Ralim
  Pinebook Boot CharlesBunders 13 1,303 05-19-2021, 02:28 AM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)