03-09-2025, 03:48 PM
(This post was last modified: 03-09-2025, 10:51 PM by Der Geist der Maschine.
Edit Reason: Grammar, clarification on s2idle
)
Quote:In rc.local echo disabled > /sys/devices/platform/dc-charger/power/wakeup
If I recall, that value gets reset after replugging the power supply back in. You need an udev rule that fires on every "add". Perhaps double check.
Quote:BTW, it had 5.4 on it, STR did NOT work, had to install 5.8.14, works,, I had nothing in /etc/tmpfiles.d/
You do not have a /etc/tmpfiles.d/force-s2idle.config file b/c it gets created in Daniel Thompson's Debian installer's first commit while you run Manjaro. As the file name suggests, that file enforces s2idle which barely saves power.
The first Debian installer version was using Kernel 5.4 and, as you pointed out, suspend to memory did not work at that time (well, s2idle worked but that does not count). His most recent Debian installer is using kernel version 5.7. That kernel version supports suspend to memory quite well and so that /etc/tmpfile.d/ should be removed, again. It was an oversight not having done that.
Quote:After several sleep/wake cycles it gets a bit slow, needs a reboot (>10?)
I never noticed that. Maybe you want to try out Debian Bookworm + Kernel 5.7 from https://github.com/schaecsn/pinebook-pro...-installer? In its simplest form you just run ./install-debian from the emmc. It installs Debian onto a blank micro sd which you can then test. If you like that kernel but not Debian, then you maaaaay be able to copy that kernel + modules over to Manjaro.
Quote:Are there any later kernels where STR works correctly?
I don't know. All this is kept secret by whoever is releasing Pinebook Pro specific kernels. If you want to put a lot of effort into this, then look at the kernel sources. I don't know how to get the kernel source from Manjaro, the kernel sources for Daniel Thompson's kernels are here https://github.com/schaecsn/pinebook-pro...d4124e862f.