stockmind / gpd-pocket-ubuntu-respin

Collection of scripts and tweaks to adapt Ubuntu and Linux Mint ISO images to let them run smooth on GPD Pocket
351 stars 35 forks source link

Suspend to ram freezes on second suspend #131

Open zem opened 5 years ago

zem commented 5 years ago

I am still trying to fix all the problems on my GPD after I have it for one year now. My biggest issue is that it does not relieably suspend. Hibernation is working as far as I remember (i do throw away my swap on shutdown so it is a bigger change to test that)

The device always freezes on its second suspend, the first one would work.

I do use Debian by manually picking all the neccessary changes from this repo, so maybe I have overlooked something. I am using kernel 4.19rc7 after I read that all the Atom/GPD kernel changes are in there.

So my question: Is there a fix in this repo that I missed? If it works, can we find out what the difference is?

anaxonda commented 5 years ago

Any progress on this issue? Would love to get this fixed as well. And other than this do you have any problems using the 4.19rc7 kernel?

qzhuyan commented 5 years ago

have you tried bringing cpu offline before hibernation? It works for me with 4.16 kernel @zem https://github.com/qzhuyan/zhuweieggs/blob/provision_with_ansible/ansible/roles/os-base/files/suspend-sedation.service#L25