Manjaro ARM 19.12 Official Release - PineBook Pro
(02-16-2020, 04:09 AM)geih Wrote: Hi all,

I'm running Manjaro (latest version, kernel 5.5.0-3.1) but S3 sleep was not working out of the box (used s2idle; dmesg was showing "PM: suspend entry (s2idle)").
Finally, I could get it running with the following steps:
  • adding "mem_sleep_default=deep" to the kernel command line (in /boot/boot.txt and then running mkscr); can be checked with:
Code:
[root@pinebookpro ~]# cat /sys/power/mem_sleep
 s2idle [deep]
  • changing the systemd-sleep settings in /etc/systemd/sleep.conf from "SuspendState=freeze" to "SuspendState=mem" (active after reboot or "systemctl daemon-reload")
Now, my system is using S3 sleep ("PM: suspend entry (deep)" in dmesg).

This is great, thank you for sharing!

Could you tell me where to add 'mem_sleep_default=deep' in boot.txt?

Code:
# After modifying, run ./mkscr

# MAC address (use spaces instead of colons)
setenv macaddr da 19 c8 7a 6d f4

part uuid ${devtype} ${devnum}:${bootpart} uuid
setenv bootargs console=ttyS2,1500000n8 root=PARTUUID=${uuid} rw rootwait bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash append video=eDP-1:1920x1080@60
setenv fdtfile rockchip/rk3399-pinebook-pro.dtb

if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/Image; then
 if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
   fdt addr ${fdt_addr_r}
   fdt resize
   fdt set /ethernet@fe300000 local-mac-address "[${macaddr}]"
   if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
     # This upstream Uboot doesn't support compresses cpio initrd, use kernel option to
     # load initramfs
     setenv bootargs ${bootargs} initrd=${ramdisk_addr_r},20M ramdisk_size=10M
   fi;
   booti ${kernel_addr_r} - ${fdt_addr_r};
 fi;
fi
I'm guessing at the very end after the end of the if but I prefer to check with you before I messed up with my installation.


Messages In This Thread
no output on laptop screen - by belfastraven - 11-08-2019, 08:36 PM
RE: no output on laptop screen - by tsago - 11-09-2019, 04:46 PM
AUR pakcage typo for notes-tree ? - by dhosh - 02-06-2020, 09:54 AM
Open JRE available for Manjaro? - by dhosh - 02-06-2020, 04:13 PM
RE: Manjaro ARM 19.12 Official Release - PineBook Pro - by hectorzg - 02-16-2020, 09:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian on Pinebook Pro u974615 7 993 03-31-2024, 10:11 AM
Last Post: u974615
  Manjaro Sway Theme Broken Eighty8 1 278 03-08-2024, 08:41 AM
Last Post: tophneal
  Pinebook Pro upgrading from the factory image yamsoup 12 1,555 02-22-2024, 04:02 PM
Last Post: tllim
Question Manjaro with Full Disk Encryption and GRUB dumetrulo 1 1,747 02-02-2024, 02:45 AM
Last Post: frankkinney
  Manjaro network problem late 2023 acruhl 1 326 01-19-2024, 11:32 PM
Last Post: Kevin Kofler
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,134 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,204 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 88,553 12-08-2023, 11:25 PM
Last Post: tllim
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 402 12-07-2023, 03:11 PM
Last Post: wdt
  Boot Order in Pinebook Pro food 8 1,224 11-23-2023, 07:37 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 3 Guest(s)