Bug 446776

Summary: lid close fails to suspend when switched to console
Product: [openSUSE] openSUSE 11.1 Reporter: Juergen Weigert <jw>
Component: Mobile DevicesAssignee: Holger Macht <hmacht>
Status: RESOLVED FEATURE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: grey-olli
Version: Beta 5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 357354    

Description Juergen Weigert 2008-11-19 20:02:44 UTC
Lid close does suspend when xsession is visible.
Nothing happens, when a text console was selected.
Comment 1 Timo Hoenig 2008-11-20 10:10:37 UTC
Something for the pm-profiler?
Comment 2 Holger Macht 2008-11-21 15:12:37 UTC
No. The only think pm-profiler does except managing power settings is the power button, because we simply need minimal support for this one also on servers. For laptop use, there should even be no pm-profiler at all. It's just there because of the legacy 'powersave' command to provide a way to trigger a suspend from command line.

Why do you have to switch to a terminal at all? This seems to be the bug. If it's just because you like to (completely fine, don't get me wrong ;-)), you also accept to lose some functionality in regard to a mobile system. On laptops, desktop environments are running for the common user and that's our default configuration.

If this should also work in other areas, someone would have to implement laptop-support without a advanced desktop environment. Sorry, closing as FEATURE.
Comment 3 Juergen Weigert 2008-11-21 16:30:21 UTC
I agree with FEATURE.

A feature combined with loss of realiability.
I'd like to configure suspend on lid-close, if possible without too many other preconditions.
I did not expect that pressing CTRL-ALT-F1 implicitly disables suspend.

My list of preconditions for suspend is now:
 - remove the machine from the docking station, if the machine was booted without docking station.
 - put machine in docking station, if the machine was booted in the docking station
 - remove AC power before trying suspend.
 - switch to Xserver before trying to suspend.
Comment 4 Holger Macht 2008-11-21 16:36:47 UTC
(In reply to comment #3 from Juergen Weigert)
> I did not expect that pressing CTRL-ALT-F1 implicitly disables suspend.

Doing that makes your running X-Session inactive, that's why the lid closing does not trigger a suspend anymore. You would have the same issue if you would run multiple GNOME/KDE sessions (imagine a multiuser setup) and one user has configured suspend on lid close and the other has not.
Comment 5 Olli Artemjev 2009-05-20 00:20:54 UTC
That feature would be nice to arrive..