Ubuntu 11.04在我的laptop上可以suspend,但是升級到/11.10後就沒辦法了,google了一圈,找到了一個解決方案,原文如下:
I've had some difficulty getting uswsusp to be default on my other laptop. So here are the 3 approaches (best option first):A1. Set correct pm-utils optionsCode:
gksudo mousepad /etc/default/acpi-support
...and uncomment the line:Quote:
# SAVE_VIDEO_PCI_STATE=true |
...so that it readsCode:
SAVE_VIDEO_PCI_STATE=true
...save the file.A2. Recreate initramfsCode:
sudo update-initramfs -u
A3. Reboot and try using the menu options.------------------------------------------------If you have no luck with the above approach, here is the second approach:B1. Set uswsusp as default in place of pm-utils:Code:
gksudo mousepad /etc/pm/config.d/defaults
...and add the following content:Code:
SLEEP_MODULE=uswsusp
S2RAM_OPTS="-f -s -p -v"
...save the file.B2. Recreate initramfsCode:
sudo update-initramfs -u
B3. Reboot and try using the menu options.------------------------------------------------And finally, if neither of the above 2 options work, try this approach:C1. Create new pm-suspend file:Code:
gksudo mousepad /usr/sbin/s2ram_override
...with the following contentsCode:
#!/bin/bash
/usr/sbin/s2ram -f -s -p -v
...save the file then make it executableCode:
chmod +x /usr/sbin/s2ram_override
C2. Backup the current pm-utils suspend file:Code:
sudo mv /usr/sbin/pm-suspend /usr/sbin/pm-suspend.BAK
C3. Link in the s2ram suspend file:Code:
sudo ln -s /usr/sbin/s2ram_override /usr/sbin/pm-suspend
C4. Try using the menu suspend option.
我用了option B ,解決了我的問題。
阅读(904) | 评论(0) | 转发(0) |