![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 12/01/2019 13.04, Andrei Borzenkov wrote:
12.01.2019 12:49, Carlos E. R. пишет:
On 11/01/2019 19.45, Carlos E. R. wrote:
On 11/01/2019 19.24, Andrei Borzenkov wrote:
11.01.2019 13:50, Carlos E. R. пишет:
Try setting mode to "shutdown". See "man systemd-sleep.conf"
HibernateMode=shutdown
You can see possible modes in /sys/power/disk
Apparently, I have no "sleep.conf" file.
cer@Telcontar:~> cat /sys/power/disk [platform] shutdown reboot suspend test_resume cer@Telcontar:~>
Will test change.
It worked - thank you :-)
Do you know the difference between "platform" and "shutdown"?
"platform" is using ACPI (at least on x86) to enter and resume from S4 state while "shutdown" simply switches off the system. "shutdown" ensures that devices are properly initialized on resume (they go via normal power on sequence) while "platform" relies on ACPI to perform transition and so is more fragile.
Ah, that explains it, thanks.
Or a document?
Kernel documentation has some information.
I think the above suffices :-) -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)