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
  Testing Some More Games on the Pinebook Pro! ImmyChan 5 3,727 09-24-2024, 01:43 AM
Last Post: pigkang
  Converting the Pinebook Pro into a CrowView Note like device 8jef 0 273 08-18-2024, 05:42 PM
Last Post: 8jef
  Pinebook Pro Initial Impressions kunger 443 669,543 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 3,106 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 959 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 690 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 671 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 595 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Pinebook Pro in EU for Sale - €90 jan_vdk 2 1,330 02-07-2024, 02:12 AM
Last Post: 23Ro
  Pinebook Pro for sale tomekdev 2 1,504 02-01-2024, 11:35 AM
Last Post: tomekdev

Forum Jump:


Users browsing this thread: 1 Guest(s)