PINE64
troubleshooting sleep/wake button on trixie - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: troubleshooting sleep/wake button on trixie (/showthread.php?tid=19778)



troubleshooting sleep/wake button on trixie - biketool - 04-05-2025

Every few weeks after an apt update the wake/sleep button does not work, the next update usually fixes it but still would like to have a hand fix ready to go as it is such a frequent problem.
If anyone knows the /dev that is attached to this switch as well as the place it is communicating with the os.
when the button is broken in OS I cant just look in journalctl and dmesg -w as itis not triggering(I looked)
How to trigger a wake event form CLI/SSH? One trick is often plugging in USB power or unplugging usually gets me the login screen;
Since I am mostly in home office I can just keep the sleep turned off with the caffeine button and wait for the next update but that wont work if I have to go mobile.


RE: troubleshooting sleep/wake button on trixie - biketool - 04-06-2025

So the wake switch is back working after sitting for about 12 hours (IDK) caffeine button was active whe I left it on the charger, caffeine was no longer active when I went to use the phone later and button was working.
FWIW I don't see an event trigger on button press when I am running dmesg -w

off topic it is interesting to watch the power scaling as it turns off all but one CPU which probably leads to the better audiobook(blanked screen/locked) battery life in the last few weeks.