Bug 290917 - Suspend to disk/ram no longer an option in the KDE shutdown dialog
Summary: Suspend to disk/ram no longer an option in the KDE shutdown dialog
Status: RESOLVED FIXED
: 358389 383179 397882 402479 405187 (view as bug list)
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: KDE3 (show other bugs)
Version: Beta 1
Hardware: x86 Other
: P2 - High : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-10 22:01 UTC by Ulrich Derenthal
Modified: 2008-08-04 09:03 UTC (History)
8 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
lshal output (82.54 KB, text/plain)
2007-12-27 02:06 UTC, Manuel Lemos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Derenthal 2007-07-10 22:01:06 UTC
Until recently, I got four main options in the shutdown dialog of KDE: quit current session, shutdown computer, restart computer, suspend computer (I am not sure what the exact translations to English from German are).

However, the option "suspend computer" (with its sub-options "suspend to ram" and "suspend to disk" disappeared recently).

Possibly after a KDE update (I am using the updated version provided by SUSE) or kernel update? I am not sure.
Comment 1 Dirk Mueller 2007-07-12 12:55:21 UTC
that means that liblazy returned false for power_management.can_suspend. I believe one of the reasons for that is powersave not running. does that run for you?

Comment 2 Ulrich Derenthal 2007-07-12 18:23:59 UTC
powersaved seems to be running:

rcpowersaved status
Checking for service powersaved                                       running
Comment 3 Dirk Mueller 2007-07-13 14:31:28 UTC
holger, any idea?
Comment 4 Holger Macht 2007-07-13 15:29:27 UTC
It only depends on HAL whether the power_management.can_suspend key is set or not. Ulrich, please post the output of

 $ lshal | grep power_management

Does suspend work when used from kpowersave or with pm-suspend?
Comment 5 Ulrich Derenthal 2007-07-13 17:23:45 UTC
After another reboot, it works again. I don't know why it didn't work before.

For completeness, I should mention that when it did not work when being login in into KDE, it worked after logging out again and selecting shutdown in the graphical login screen. I had to type in the root password, and then suspend worked.

lshal | grep power_management
  power_management.can_suspend_to_disk = true  (bool)
  power_management.acpi.linux.version = '20060707'  (string)
  power_management.can_hibernate = true  (bool)
  power_management.can_suspend_to_ram = true  (bool)
  power_management.can_standby = false  (bool)
  power_management.can_suspend = true  (bool)
  power_management.type = 'acpi'  (string)
Comment 6 Dirk Mueller 2007-07-13 17:36:09 UTC
closing as worksforme then. feel free to reopen when it is happening reproducible. 
Comment 7 Manuel Lemos 2007-10-25 05:55:49 UTC
I just tried opensuse 10.3 and this problem still happens.

Actually I did exactly as Ulrich Derenthal mentioned, selected shutdown in the graphical login screen and the suspend to disk/ram options started appearing in kpowersave menu.

Previously I was asking to shutdown without logging out the user and the suspend to disk/ram would never appear in kpowersave after rebooting.

So, I assume there may be something different depending on how you ask to shutdown.

Since I lost hours figuring this out until I found this report, I thought I should reopen the bug report because I suspect many other users may be annoyed until they figure it too.
Comment 8 Dirk Mueller 2007-11-22 15:16:00 UTC
 $ lshal | grep power_management
Comment 9 Manuel Lemos 2007-12-27 02:06:02 UTC
Created attachment 188760 [details]
lshal output
Comment 10 Andreas Jaeger 2008-03-14 12:36:14 UTC
Information was provided.
Comment 11 Dirk Mueller 2008-05-08 12:55:25 UTC
*** Bug 383179 has been marked as a duplicate of this bug. ***
Comment 12 Rafał Miłecki 2008-05-08 19:57:12 UTC
Dirk: thanks for deciding and marking.

Developers: you may find interesting information also in report (bug 383179) ─ if more info needed, let me know.
Comment 13 Lubos Lunak 2008-06-27 13:08:45 UTC
*** Bug 402479 has been marked as a duplicate of this bug. ***
Comment 14 Pablo Sanchez 2008-06-27 13:11:11 UTC
Adding myself to the cc list to maintain status.
Comment 15 Klaus Singvogel 2008-06-28 22:35:41 UTC
I can provdive additional information (beside those in bug #402479 )
When logged in as root the suspend option is present.
Comment 16 Dirk Mueller 2008-07-14 09:09:18 UTC
*** Bug 358389 has been marked as a duplicate of this bug. ***
Comment 17 Dirk Mueller 2008-07-14 09:11:19 UTC
fixed for 11.1. Anja, would you assign a swamp for this issue? it is a regression in 11.0 due to hal changing in a backward incompatible way (one liner fix). I can collect some other kde3 related fixes into the swamp. 
Comment 19 Dirk Mueller 2008-07-15 09:11:44 UTC
*** Bug 397882 has been marked as a duplicate of this bug. ***
Comment 20 Dirk Mueller 2008-07-15 09:12:34 UTC
*** Bug 405187 has been marked as a duplicate of this bug. ***
Comment 21 Dirk Mueller 2008-07-15 09:13:38 UTC
closing for further processing
Comment 22 Dirk Mueller 2008-07-28 11:41:44 UTC
*** Bug 402479 has been marked as a duplicate of this bug. ***
Comment 23 Andrew Joakimsen 2008-07-28 19:30:45 UTC
If this is a simple patch why can't it be applied against 11.0? All the 11.0 installs I have done irregardless of architecture exhibit this problem. It is unacceptable for suspend not to work (well it does work if you login as root but giving out root passwords is not a viable workaround). The environmental impact is atrocious.

Comment 24 Pablo Sanchez 2008-07-28 19:35:26 UTC
The fact this bug was reported in Beta 1 of 11.0 makes it a bit of a stretch to justify pushing it out to 11.1
Comment 25 Dirk Mueller 2008-07-29 14:35:18 UTC
the patch is already queued for 11.0 update.
Comment 26 Anja Stock 2008-08-01 15:37:01 UTC
released
Comment 27 Pablo Sanchez 2008-08-01 17:07:50 UTC
I ran an update and I see the suspend option.  Thank you.

As I didn't open this bug, I won't close it.
Comment 28 Daniele Frijia 2008-08-03 18:39:16 UTC
Hm. After installing the fix, after wakeup from suspend I get a errormessage (kde-dialog): "Fehler - KDE-Kontrolleiste" "Suspend fehlgeschlagen" (Error - KDE-controlpanel - Failed suspend). A new bug? I reopened this one.
Comment 29 Pablo Sanchez 2008-08-04 00:30:03 UTC
Hi,

FWIW, I do not get the above message when I suspend to RAM.
Comment 30 Dirk Mueller 2008-08-04 08:15:04 UTC
comment #28: you've found bug 382364    	
Comment 31 Paul van Noort 2008-08-04 09:03:20 UTC
on one of twp machines i have updated (the third will follow shortly) the update has worked.. However, when clicking suspend it it suspends to disk rather than giving me the option to suspend to RAM aswell.. just a minor glitch.

on my current machine still no suspend option..