Bugzilla – Bug 115233
GNOME logout: suspend doesn't work
Last modified: 2006-01-17 10:24:26 UTC
I'm attaching the files requested on "Call for testing" on the opensuse.org site.. Suspend/Sleep doen't work for me.. It works perfectly on Windows.
Created attachment 48730 [details] Powersave logs
Created attachment 48731 [details] Hardware info
what does not work? suspend to disk or suspend to RAM? What does "does not work" mean? Please be more specific.
I think Both suspend to ram and suspend to disk doesnt work. I'm not 100% sure as i dont have much knowledge of what i am doing. Im just an user so im not supposed to know the difference of suspend to ram or disk, that's why i attached the log files.. but i will try to be more specific: The bug is reproduced by going on the gnome panel and clicking logout and then selecting "Suspend the computer". Tre process is started, gnome logs out, a blank screen is shown with a progress bar, then some messages are displayed with one message saying the hardware doesn't support it. I know the hardware should be able to sleep/hibernate/suspend because: 1 - It's a laptop and 2 - It works on windows. I've tried to change some options on yast2, i tried both with "suspend to disk" and "suspend to ram" and the behaviour and messages are the same on both. That's it, i hope it helps.. Any information you need i will provide ASAP. Thanks
At least you should know how you started suspend :) Did you select it from the kpowersave-menu or by pressing the powerbutton or some other function key on you laptop?
I use GNOME, so i selected it from the gnome logout menu. Gnome Panel -> Desktop -> Logout, select "Suspend the computer" and press OK.
Ok. That should be a suspend to disk. Can you please open a shell and try the command "powersave -U" (without the ")? The question is if it is suspending and resuming with that command. Seife, Holger: Do you know what command the GNOME-logout executes?
I'm checking this currently.
Logout dialog from gnome uses powersave --suspend-to-disk. Please check what happens if you execute this command in a console.
sayao@3(NXDOMAIN):~> dmesg | egrep power acpi_bus-0212 [01] acpi_bus_set_power : Device is not power manageable acpi_bus-0212 [01] acpi_bus_set_power : Device is not power manageable ACPI: CPU0 (power states: C1[C1] C2[C2]) acpi_bus-0212 [01] acpi_bus_set_power : Device is not power manageable powernow: This module only works with AMD K7 CPUs acpi_bus-0212 [30] acpi_bus_set_power : Device is not power manageable I get this messages at boot time, maybe my hardware is not supported. I recently installed a fresh copy of windows to test, withou the manufacturer CD (read without the drivers) and it did not work too. Maybe this hardware uses software suspend or something?
these messages are probably unrelated to this problem, i see them on my machines and suspend / resume works fine on most of them. You should try it again from a terminal (not logout dialog) with "powersave --suspend-to-disk" and report what happens there.
Hapens the same thing when i click from the gnome menu: X is stopped i get a console window of a progress bar stopping the processes some devide is not power manageable messages my laptop Zzz led keeps blinking nothing happens.. the laptop is left on and the system is not suspended
Please do the following in a console: cd /tmp /usr/share/doc/packages/powersave/powersave_logs and attach the resulting file /tmp/powersave_logs.tar.gz to this bugreport. Thanks. Did you already try with RC1?
I'm currently using RC1. The powersave logs are already attached, but the attached one is from Beta4 (iirc). I will attach a new one once i get home.
No need for new logs. I simply forgot that the logfiles were already attached. Sorry. I can see nothing suspicious in the logs. One thing you can try is setting the variable SUSPEND2DISK_SHUTDOWN_MODE="" in file /etc/sysconfig/powersave/sleep. First try SUSPEND2DISK_SHUTDOWN_MODE="shutdown" and if this does not work try setting SUSPEND2DISK_SHUTDOWN_MODE="reboot" and tell us if the behaviour changes.
Suspend menu item runs powersave --suspend-to-ram, IIRC. And that is disabled by default in all installations. Is that the case for you? Run 'powersave --suspend-to-ram' on a terminal and see what happens. What works great is --suspend-to-disk, which is associated to the Hibernate menu item, which doesn't show up though
Both modes "shutdown" and "reboot" gave me the same behaviour as with no option set. I've also tried --suspend-to-ram, and the suspend process works fine as it works on windows. But when i press the power button to "come back" from suspend, the screen is kept blank and nothing happens. I can see that the Zzz led is on when i execute the command and is turned off when i press the power button to come back from suspend, but the screen is still blank.
yes, --suspend-to-ram is known to be broken in some systems, that's why it is disabled by default. Did you enable it yourself?
Yes, i did. And it seems to work better for me than --suspend-to-disk, as it at last suspends sucessfully, it just doesn't come back :)
Some time has elapsed... possibly you tried with an Alpha snapshot? You can also try to boot with init=/bin/bash as boot parameter and then do... swapon -a mount /sys echo disk > /sys/power/state Does this work then?
Can you try this, please? If not, I will close the bug as INVALID soon.
Closing as INVALID.