I have lost the to me essential hibernate functionality after upgrading ubuntu. This is normal, but unfortunately I could not reenable it this time.
I tried these three previous solutions:
- setting 3 entries in
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.disable-suspend.pkla, - setting two entries in
/etc/pm/sleep.d/20_custom-ehci_hcd, and - enabling two entries in
/var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pklaplus restarting the menu/indicators and rebooting
but no hibernation option appears.
Some additional info:
sudo pm-hibernateoutputs nothing and appears to do nothing.sudo s2diskoutputs:s2disk: Could not open the snapshot device. Reason: Operation not permitted
I guess this is my key clue, but I didn't find any obvious explanations/solutions when googling that - I'm afraid I'm ignorant of the meaning.
There is no change to dmesg output and /var/log/pm-suspend.log does not exist after running pm-hibernate.
The machine is capable of hibernating under ubuntu 15.04 and earlier - the above options worked previously.
(I am aware this is a potential duplicate of this question, but wanted to add more detail.)
/var/log/pm-suspend.logafter you runsudo pm-hibernate? (I'm aware it doesn't suspend the computer but it should generate some interesting log entries.) The output ofsudo dmesgshould also contain something worthwhile (only look at the entries generated since runningpm-hibernate). – David Foerster Apr 29 '16 at 21:36pm-utils(sudo apt-get install --reinstall pm-utils)? What's in/etc/pm/config.d/and/etc/pm/sleep.d/? – David Foerster Apr 29 '16 at 23:37I get the following in pm-suspend.log:
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate: /usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate: success.Which looks like it might be hibernating and immediately unhibernating. However, I do not see the disk activity I would expect if the image were actually being written to disk.
I have enough SWAP and the 4730Z was built before secure boot.
– Hugh Buntu Jul 24 '17 at 02:38