use*_*411 5 suspend hibernate hybrid
混合挂起在升级前在 13.10 中有效,但不再有效。尝试了这里提到的两种方法 如何默认使用 pm-suspend-hybrid 而不是 pm-suspend? 但没有运气
支持测试结果很好,pm-suspend 和 pm-hibernate 都按预期工作,我只是无法让它自己从挂起过渡到休眠。
机器是Thinkpad t430s。
有没有人在 14.04 中可以共享他们的配置?
谢谢!
小智 0
对于“真正的”混合挂起,它从一开始就将映像写入磁盘和 RAM,其优点是恢复速度始终很快,并且机器不会短时间唤醒以真正休眠。要使用它,请将以下代码粘贴到/etc/pm/config.d/00-use-suspend-hybrid文件中,而不是上面的代码:
# 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
Run Code Online (Sandbox Code Playgroud)