DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Did you patch the kernel with the suspend2 patches? As soon as I did that, it automatically worked (gentoo), also I think you need acpid running and you need the hibernate-script, do you have all that?
oh, also, the magic incantation that solved this for me at one point was apt-get install powersaved. YMMV however, so take note of what that uninstalls, and if powersaved changes nothing, reinstall what it uninstalled.
I found an answer to this question though a great deal of trial and error. The power management howto probably should have a separate section for those who use GNOME, because gnome uses HAL, negating the need for acpid, hibernate-scripts and other traditional solutions. GNOME help seems to contain info on how to debug all situations expect there pm-utils is missing. In that case, hal will have the ability to suspend as will GNOME, but not the means to actually carry out the action.
To get GNOME to hibernate all you need is:
- kernel support for ACPI suspend
- hal installed and hald running
- gnome compiled with hal support (USE="hal")
- pm-utils must be installed: it is needed by HAL in order to suspend, and probably should be (but isn't) pulled automatically when HAL is merged.
No configuration should be required and none was in my case once these elements are in place. GNOME should now be able to put the computer to sleep.
Unfortunately if acpid is running under default configuration the computer may also duplicate some of the actions taken by GNOME, causing pseudo-unpredictable things to happen. In my case this caused the computer to shut down and suspend at the same time, which took me quite a while to debug. I highly recommend NOT installing acpid at all if you choose to use HAL/GNOME.
Alternatives you should probably remove:
-> hibernate-ram doesn't work very well...it's buggy. For some reason it worked once for me and never worked again, and over 10 seconds to enter standby mode. If you have installed hibernate-script it is now redundant, run emerge -C hibernate-script to remove it.
-> s2ram doesn't seem to work at all for me, period. With HAL working and pm-utils it is also redundant. If you have installed the "suspend" package, you can remove this with emerege -C suspend.
-> If you haven't specifically configured acpid not interfere with things, it's best just to remove it as it is also now redundant, and will most likely do things you don't want if not carefully configured. Remove it with emerge -C acpid
GNOME should now be able to properly suspend/hibernate your system.
so... not sure if this belongs here, but here goes:
I have gnome/hal/supsend working just fine. But when I run another WM (specifically Enlightenment dr16) there is no suspend option and closing the lid of my laptop no longer suspends the system. What is different? What files should I look at that are apparently already handled fine by gnome that aren't being looked at when I'm in another WM? Any direction is greatly appreciated. Thanks!