Test Case: React on hibernate button/key Categories: Desktop, KDE, Requirements: KDE Installation, a machine supporting ACPI S3 (s2ram, check lshal for "power_management.can_suspend = true"), a machine with a sleep/suspend button or key Depends On: Test Case 02 Action: ============================ Start KDE as normal user, check if KPowersave is running (check for the KPowersave icon in the taskbar, or "ps aux | grep KPowersave"). Remove all external/removable (USB,PCMCIA, Cardreader ...) storage devices from the machine (or unmount them). Check if s2ram is supported by KPowersave, click with right mouse button and check if "Suspend to RAM" is listed in the applet menu. Check is s2ram supports the machine: call 's2ram -n' from console as root user. The output should contain "Machine matched entry" to be supported (which is a requirement). Start on a console: 'lshal -m'. Press the sleep/suspend button/key. If the machine goes successfully to "Suspend to RAM" and is shut down resume the machine (usually via the power or a Fn button). Login to the desktop session. Expected Results: ============================ With default KPowersave settings this should happen after pressing the button: - Screen should get locked - machine goes to suspend to ram --> wakeup the machine - after resume the screen should be locked - after some seconds the login should be automatically displayed - after login there should be no error message/dialog If the machine don't react to the key/button: - check the output of 'lshal -m' for "ButtonPressed = hibernate" - if there is no such output KPowersave don't support the hibernate button