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
  Prepare Pinebook Pro for Sale GFreeman 4 93 2 hours ago
Last Post: jiyong
  Looking to buy a Pinebook Pro US Stucht13 17 4,346 4 hours ago
Last Post: sascha
  Pinebook Pro Upgrade? StriderofRohan 10 1,522 01-17-2022, 05:47 PM
Last Post: poVoq
  Selling PineBook PRO with ISO Keyboard + NVME firefox-58 20 2,196 01-17-2022, 07:36 AM
Last Post: Loutchi
Information Buying broken Pinebook Pro AtomC3 1 281 01-04-2022, 09:58 PM
Last Post: altacus
  Looking for Screen LCD Panel for the Pinebook Pro gerstavros 0 120 12-31-2021, 05:22 PM
Last Post: gerstavros
  Testing PS1 Emulation on the Pinebook Pro! ImmyChan 0 126 12-31-2021, 08:10 AM
Last Post: ImmyChan
  Pinebook Pro Initial Impressions kunger 423 323,861 12-26-2021, 11:07 AM
Last Post: ab1jx
  Pinebook Pro (ANSI) with NVME 1TB (660p) for sale Fish 4 497 12-22-2021, 08:50 AM
Last Post: Fish
  Selling PineBook PRO with ANSI Keyboard + NVME woodeen 3 554 11-30-2021, 06:38 PM
Last Post: luca22

Forum Jump:


Users browsing this thread: 1 Guest(s)