混合动力暂停在升级前在13.10开始工作,但现在不再工作了。尝试了这里提到的两种方法,我如何在默认情况下使用pm-暂停-混合而不是pm-暂停?,但都没有成功
对支持的测试显示很好,pm-暂停和pm-hibernate都像预期的那样工作,我只是不能让它自己从挂起过渡到hibernate。
机器是Thinkpad t430s。
有没有人在14.04中可以共享他们的配置?
谢谢!
发布于 2014-07-05 07:28:59
对于“真”混合挂起(从一开始就将映像写入磁盘和RAM ),其优点是恢复速度总是快的,机器不会在短时间内真正休眠。要使用它,请将下面的代码粘贴到/etc/pm/config.d/00- use -挂起混合文件中,而不是上面的代码:
# 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=kernelhttps://askubuntu.com/questions/454160
复制相似问题