5

Hybrid suspend was working in 13.10 before upgrade, but no longer. Tried both methods mentioned here How do I use pm-suspend-hybrid by default instead of pm-suspend? but no luck

Test for support turns up good, pm-suspend and pm-hibernate both work as expected, I just cannot get it to transition from suspend to hibernate on its own.

Machine is Thinkpad t430s.

Does anyone have this working in 14.04 that could share their config?

thanks!

1 Answers1

0

For a "true" hybrid suspend, which writes the image to both disk and RAM from the beginning, having the benefits that resuming will always be fast and that the machine will not wake up for a short time to hibernate for real. To use it, instead of he code above, paste the following in the /etc/pm/config.d/00-use-suspend-hybrid file:

# WORKAROUND: always set the default hibernate mode first (normal mode)
# (not required if you have the patch mentioned by Rohan below (http://askubuntu.com/a/344879/169))
HIBERNATE_MODE=platform

# Always use hibernate instead of suspend, but with "suspend to both"
if [ "$METHOD" = "suspend" ]; then
METHOD=hibernate
HIBERNATE_MODE=suspend
fi

# Make sure to use the kernel's method, in case uswsusp is installed etc.
SLEEP_MODULE=kernel
user86068
  • 41
  • 2