Created attachment 401817 [details] log from successful hibernation Description of problem: On a Thinkpad X60s running Fedora 12 i386, gnome-power-manager won't let me hibernate my laptop. The config applet used to list "hibernate" as an option for when the laptop lid is closed etc., but that disappeared sometime between the initial install and when I decided to see if hibernate would work. Pressing the hibernate button (Fn-F12) pops up a dialog saying "Your computer failed to hibernate." I ran through all the diagnostics in the FAQ, and they all check out. In fact, hibernate works great when I run pm-hibernate from the command line. So why won't gnome-power-manager hibernate? Version-Release number of selected component (if applicable): gnome-power-manager-2.28.2-2.fc12.i686 DeviceKit-power-014-1.fc12.i686 How reproducible: Always. Steps to Reproduce: 1. Press hibernate button. 2. Get apologetic error message from gnome-power-manager. 3. Hibernate laptop by running pm-hibernate. 4. Laptop hibernates and resumes normal functionality when woken.
What does "upower --dump" say?
ITYM "devkit-power --dump"? $ devkit-power --dumpDevice: /org/freedesktop/DeviceKit/Power/devices/line_power_AC native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/ACPI0003:00/power_supply/AC power supply: yes updated: Mon Mar 15 09:29:26 2010 (644930 seconds ago) has history: no has statistics: no line-power online: no Device: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0 native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 vendor: SONY model: 42T4631 serial: 4161 power supply: yes updated: Mon Mar 22 20:38:12 2010 (4 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging energy: 27.24 Wh energy-empty: 0 Wh energy-full: 37.44 Wh energy-full-design: 37.44 Wh energy-rate: 10.868 W voltage: 15.416 V time to empty: 2.5 hours percentage: 72.7564% capacity: 100% technology: lithium-ion History (charge): 1269304692 72.756 discharging 1269304662 73.077 discharging 1269304632 73.344 discharging 1269304602 73.611 discharging History (rate): 1269304692 10.868 discharging 1269304662 11.075 discharging 1269304632 11.528 discharging 1269304602 11.590 discharging Daemon: daemon-version: 014 can-suspend: yes can-hibernate no on-battery: yes on-low-battery: no lid-is-closed: no lid-is-present: yes
What does dbus-send --system --dest=org.freedesktop.UPower --print-reply /org/freedesktop/UPower org.freedesktop.UPower.Hibernate Return?
Still no upower here... $ dbus-send --system --dest=org.freedesktop.DeviceKit.Power --print-reply /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Hibernate Error org.freedesktop.DeviceKit.Power.GeneralError: Swap space is encrypted
(In reply to comment #4) > Still no upower here... OOps, sorry, long day. > Swap space is encrypted There is your answer. DeviceKit-power refuses to suspend as it thinks your swap space is encrypted and can't be thawed. Is your swap encrypted? Are you using the swap device or doing swapoff before you hibernate?
I am using an encrypted swap device (created by anaconda) to hibernate. The initramfs created by dracut manages to thaw just fine.
*** This bug has been marked as a duplicate of bug 540067 ***