suspend to ram and s2ram
I'm trying to get my computer to suspend to ram, and my model number isn't whitelisted by s2ram. I tried 's2ram -f' from the command line as root and it works great, but when I edit '/etc/hibernate/ususpend-ram.conf' with the proper info ('USuspendRamForce yes') the suspend option from the power management applet in gnome doesn't work. It starts to suspend, the screen goes black, and then it comes back on, on its own, right away. It looks to me like it's doing the exact same thing that it did (successfully) when I executed the command from the terminal. Does anyone know about 'suspend to ram'? Thanks in advance.
|
Any cli command can be put in a file, made into a script and executed from there.
|
Quote:
|
solution
this is a nasty bug indeed
i had the exact same problem once you must understand, the gnome applet uses a set of scripts called pm-utils to suspend and hibernate etc these in turn call on s2ram or s2disk. these scripts use a list of known computer types in some xml list somewhere i forget where instead of starting to find exactly where the problem is, there is a nice clean work-around: create a config file: /etc/pm/config containing simply S2RAM_OPTNS="-f" this will tell pm utils to use s2ram directly instead of its own scripts. more can be read @: http://en.opensuse.org/Pm-utils |
All times are GMT -5. The time now is 12:19 PM. |