had a odd problem with the ubuntu xps coming out of power saving, well it would wake up and then just lock, i could switch to a terminal and reboot but thats a pain … so quick look at the logs showed me this
sudo apt-get remove –purge casper
sudo update-initramfs -u
Then try to hibernate and if there is a problem, respond with
sudo swapon -s
free
grep ‘PM:’ /var/log/syslog
and now i get this!
Jun 11 16:19:21 shanghai kernel: [ 1010.906741] PM: Syncing filesystems … done.
Jun 11 16:19:33 shanghai kernel: [ 1013.122352] PM: suspend of devices complete after 1427.729 msecs
Jun 11 16:19:33 shanghai kernel: [ 1013.122482] PM: late suspend of devices complete after 0.128 msecs
Jun 11 16:19:33 shanghai kernel: [ 1013.202358] PM: noirq suspend of devices complete after 79.783 msecs
Jun 11 16:19:33 shanghai kernel: [ 1013.203211] PM: Saving platform NVS memory
Jun 11 16:19:33 shanghai kernel: [ 1013.413633] PM: Restoring platform NVS memory
Jun 11 16:19:33 shanghai kernel: [ 1013.601208] PM: noirq resume of devices complete after 126.458 msecs
Jun 11 16:19:33 shanghai kernel: [ 1013.601335] PM: early resume of devices complete after 0.099 msecs
Jun 11 16:19:33 shanghai kernel: [ 1013.712163] PM: Device 00:06 failed to resume: error -19
Jun 11 16:19:33 shanghai kernel: [ 1014.677310] PM: resume of devices complete after 1074.739 msecs