pine64-pinebookpro: deep suspend is broken
### Describe your issue When I close the lid, the device powers down. I cannot confirm if it goes into sleep mode or what exactly. I don't have any daemon that would put the system to sleep when closing the lid, so I'm not sure what's going on. When I open the lid, the display does not turn back on. The power button won't turn the device back on; I need to hold it for a short while _and then_ press the power button for the device to turn on. #### What's the expected behaviour? Closing the lid should not change the device's power state. #### What's the current behaviour? Closing the lid puts the device into an unknown but unresponsive power state. #### How to reproduce your issue? - Play some music on the device - Start pinging the device from a different host. - Close the lid. - The music will stop immediately. - `ping` on the other host will stop receiving responses. - Open the lid. - The display remains off. - Pinging the device at this time doesn't work either. The music and ping stopping at the same time indicate that the device _is not_ still running, so it's not merely the display being off. ### What device are you using? pine64-pinebookpro ### On what postmarketOS version did you encounter the issue? <!-- Replace space inside `[ ]` with `x` to fill the checkbox --> * [x] edge (`master` branch) * [ ] `v23.06` * [ ] `v22.12` (Supported until 2023-07-06) * [x] I confirm that the issue still is present after running `sudo apk upgrade -a` ### On what environment did you encounter the issue? #### Environments * [ ] GNOME Shell on Mobile * [ ] Phosh * [ ] Plasma Mobile * [ ] Sxmo (Wayland/Sway) **Please post the output of `sxmo_version.sh`** * [x] Other: `sway` ### How did you get postmarketOS image? * [ ] from https://images.postmarketos.org * [x] I built it using pmbootstrap * [ ] It was preinstalled on my device ### What's the build date of the image? (in yyyy-mm-dd format) ### Additional information I tried removing `/etc/acpi/PWRF/00000080`. I saw https://gitlab.postmarketos.org/postmarketos/pmaports/-/issues/1179, but in that case the display is turning off and the device keeps responding over the network, so it looks like something different is happening.
issue