(04-11-2021, 06:39 AM)ab1jx Wrote: The speakers don't switch booted this way, they do if I use mrfixit.
That's because the variant of Debian you're using has an old, incomplete device tree file for the PineBook Pro. The enabling and disabling of the built-in speakers is performed by the ALSA SoC layer, it just needs to be told to do so using the device tree. You could simply grab rk3399-pinebook-pro.dts (together with its dependencies) from the Linux kernel source, compile it using dtc, and put the compiled version into /boot.
By the way, I also used MrFixit's Debian on my PineBook Pro for some time, but it worked rather poorly. The 4.4 kernel it shipped with was a real mess that crashed almost regularly after a few hours of uptime.
(04-11-2021, 06:39 AM)ab1jx Wrote: This auto-suspend sounds like the power-saving feature wifi cards have. I've never seen the whole laptop suspend, maybe just the touchpad does. I'd like to eventually have hibernate (full memory to drive and complete power off) working but I haven't pursued it yet since I'm still booting from sd cards. I made a partition for it on my nvme drive. If I hit Fn-Esc/Z something happens for a few seconds but it comes right back to normal, it's evidently not working.
As far as I know, suspending to RAM works, but the desired hibernation to disk doesn't work yet on the PineBook Pro. I haven't experimented too much with that myself, though. You can initiate the suspending to RAM using this:
Code:
echo deep > /sys/power/mem_sleep
echo mem > /sys/power/state
More information about the system sleep states is available here.
(04-11-2021, 06:39 AM)ab1jx Wrote: Is there a tool for dealing with usb auto-suspend?
What would you actually like to accomplish?