Let's get Hibernation working

A bit more tests, this time on A311D. Suspend did not work: screen got dark, but after abut 10-15s backlight was activated again. Unfortunately nothing was displayed, so I could not check what was the main problem.
OTOH hibernation worked. I was able to bring system back again to the same state it was when I hibernated it. The biggest problem I noticed was that NVMe could not be started: dmesg was showing timeout errors and trying to read partition table (i.e. first sector) lead to process hanging in “D” state. I could not shut down OS and had to use Circle-0. After fresh start NVMe was working again.
I think I’ll move info about suspend to separate, appropriate thread and here keep info about hibernation. At the same time I think I need to think about strategy of testing that to avoid complexity of changing too much at once.

1 Like