[Bug 328173] New: waking machine up from STR with power button makes it to go into STD right after resuming
https://bugzilla.novell.com/show_bug.cgi?id=328173 Summary: waking machine up from STR with power button makes it to go into STD right after resuming Product: openSUSE 10.3 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: teheo@novell.com QAContact: qa@suse.de Found By: --- There are two ways to wake my notebook from STR - opening the lid or pushing the power button. When the machine went into STR because of STR timer or by selecting suspend from PM applet, pressing the power button is the easier way to wake it up. This worked fine on SL102; however, on SL103, the machine goes into STD right after waking up from STR if power button is used. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=328173
Mark Gordon
https://bugzilla.novell.com/show_bug.cgi?id=328173#c1
--- Comment #1 from Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=328173
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=328173#c2
Holger Macht
https://bugzilla.novell.com/show_bug.cgi?id=328173#c3
--- Comment #3 from Tejun Heo
Which desktop are you using? If GNOME or KDE, please quit
I'm using gnome.
gnome-power-manager/kpowersave and try to reproduce the issue. Do you have a configuration where the power button press is assigned to the suspend to disk event?
With gnome-power-manager running, power button triggers log out, shutdown, etc menu. If I kill gnome-power-manager, my machine shuts down when I press the power button. With gnome-power-manager killed, I suspended by running /usr/sbin/pm-suspend and waking up with the power button didn't trigger the buggy behavior. Hmmm... weird. After rebooting, I can't reproduce the problem even with gnome-power-manager running. Before reboot, the problem was reproducible every time. Maybe it was some kind of transient problem? Feel free to close this bug. I'll reopen when if I can reproduce the problem. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=328173#c4
Tejun Heo
https://bugzilla.novell.com/show_bug.cgi?id=328173#c5
Holger Macht
(In reply to comment #2 from Holger Macht) With gnome-power-manager running, power button triggers log out, shutdown, etc menu. If I kill gnome-power-manager, my machine shuts down when I press the power button.
That's the correct behaviour. If you have no graphical policy agent running, the powersaved kicks in caring about power managment tasks. And its default configuration for the power buttin is "shutdown".
With gnome-power-manager killed, I suspended by running /usr/sbin/pm-suspend and waking up with the power button didn't trigger the buggy behavior.
Hmmm... weird. After rebooting, I can't reproduce the problem even with gnome-power-manager running. Before reboot, the problem was reproducible every time. Maybe it was some kind of transient problem?
Maybe. I could imagine that if you have been running your desktop for quite some time, including doing updates of the power management stack (HAL, gnome-power-manager, powersaved), and thus g-p-m does not regrab the power management interface and thus powersaved also thinks it is responsible for pm tasks. Both g-p-m and powersaved would interfere each other in this case. Nevertheless its strange. There has been a bug quite some time ago where the button module emitted a button event although the button press was only used for waking the system up. This should actually be fixed in the 10.3 kernel, but who knows...
Feel free to close this bug. I'll reopen when if I can reproduce the problem. Thanks.
Closing as WORKSFORME, then, sorry. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com