[Bug 408246] New: powersave fails to enter standby state
https://bugzilla.novell.com/show_bug.cgi?id=408246 Summary: powersave fails to enter standby state Product: openSUSE 10.3 Version: Final Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pavel.lastovicka@gmail.com QAContact: qa@suse.de Found By: --- Running "powersave -m" has no effect. This worked for me with openSUSE 10.2. Then after update to 10.3 it ceased functioning, I think. Output of powersave: pavel-doma:~ # powersave -m Standby request sent. pavel-doma:~ # Syslog entries: i think the important lines are the following: Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'Standby' from interface: com.novell.powersave.action Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:169) Method sent to action interface Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (sendReply:339) Send error_id 4, 'invalid method' Whole log: Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'Standby' from interface: com.novell.powersave.action Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:169) Method sent to action interface Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (sendReply:339) Send error_id 4, 'invalid method' Jul 11 08:52:19 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:142) Received msg: 'NameOwnerChanged' from interface: org.freedesktop.DBus Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:181) Signal from org.freedesktop.DBus with member NameOwnerChanged received Jul 11 08:52:20 pavel-doma powersaved[14837]: Info (filter_function:228) Message handled -- 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=408246 User pavel.lastovicka@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c1 --- Comment #1 from Pavel Lastovicka <pavel.lastovicka@gmail.com> 2008-07-15 03:04:18 MDT --- Created an attachment (id=227778) --> (https://bugzilla.novell.com/attachment.cgi?id=227778) The important part of lshal output As I have seen the lshal output it seems to me the method standby should maybe be called on the org.freedesktop.Hal.Device.SystemPowerManagement interface, not to "action interface". -- 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=408246 User pavel.lastovicka@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c2 --- Comment #2 from Pavel Lastovicka <pavel.lastovicka@gmail.com> 2008-07-15 14:55:58 MDT --- I don't like waiting, this bug is important for me and want to get it fixed. So I examined the source code of powersaved and find the cause of the error. It was caused by the following change: ----------------------- Revision 2808 - (view) (download) (annotate) - [select for diffs] Modified Sun Jan 28 21:11:38 2007 UTC (17 months, 2 weeks ago) by hmacht Original Path: trunk/powersave/daemon/pm_interface.cpp call HAL for suspend and remove support for standby along the way ----------------------- But why the support for standby was removed? I did use it successfully. -- 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=408246 Pavel Lastovicka <pavel.lastovicka@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Mobile Devices -- 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=408246 Pavel Lastovicka <pavel.lastovicka@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |zoz@novell.com -- 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=408246 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seife@novell.com, dkukawka@novell.com AssignedTo|zoz@novell.com |hmacht@novell.com -- 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=408246 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c3 Holger Macht <hmacht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |pavel.lastovicka@gmail.com --- Comment #3 from Holger Macht <hmacht@novell.com> 2008-07-17 12:04:34 MDT --- What did it do on your system? -- 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=408246 User pavel.lastovicka@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c4 Pavel Lastovicka <pavel.lastovicka@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|pavel.lastovicka@gmail.com | --- Comment #4 from Pavel Lastovicka <pavel.lastovicka@gmail.com> 2008-07-18 01:44:31 MDT --- I already wrote it in this bug description, nevertheless I will repeat it. From user perspective, requesting standby mode from powersaved clients (e.g. powersave, kpowersave) does nothing. The error I described can then be seen in syslog (maybe after enabling log output in powersaved configuration). From programmer perspective, powersaved receives standby message but because in daemon/pm_interface.cpp func PM_Interface::handleDBusMessage(), the code starting with } else if (msg_member == "Standby" || msg_member == "standby") { was removed, so PM_Interface::handleDBusMessage() returns } else { return REPLY_INVALID_METHOD; } I am changing the OS field for this bug, because it is present in oS 11 also. -- 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=408246 Pavel Lastovicka <pavel.lastovicka@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|openSUSE 10.3 |openSUSE 11.0 -- 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=408246 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c5 Holger Macht <hmacht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |pavel.lastovicka@gmail.com --- Comment #5 from Holger Macht <hmacht@novell.com> 2008-07-18 01:48:24 MDT --- Sorry for not making clear which information I actually wanted. In the past, we've seen very to no machines which do something useful when standby gets activated (most systems do not even have standby anymore). So what I like to know is what the standby mode did when it was working for you in 10.3. Did the display go off? Harddisk span down? etc... 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=408246 User seife@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c6 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pavel@novell.com --- Comment #6 from Stefan Seyfried <seife@novell.com> 2008-07-18 03:35:21 MDT --- We also need to consider that, AFAIK, the upstream kernel development is going to remove ACPI S1 state in the not too far future. -- 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=408246 User pavel.lastovicka@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c7 --- Comment #7 from Pavel Lastovicka <pavel.lastovicka@gmail.com> 2008-07-22 00:57:42 MDT --- Created an attachment (id=229234) --> (https://bugzilla.novell.com/attachment.cgi?id=229234) standby.log file -- 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=408246 User pavel.lastovicka@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c8 --- Comment #8 from Pavel Lastovicka <pavel.lastovicka@gmail.com> 2008-07-22 00:59:54 MDT --- Created an attachment (id=229235) --> (https://bugzilla.novell.com/attachment.cgi?id=229235) standby entires in /var/log/messages -- 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=408246 User pavel.lastovicka@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c9 Pavel Lastovicka <pavel.lastovicka@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|pavel.lastovicka@gmail.com | --- Comment #9 from Pavel Lastovicka <pavel.lastovicka@gmail.com> 2008-07-22 01:22:35 MDT --- Hello, sorry for my late reply. I have attached logs which detail what happened when I last used the standby function in oS 10.2. Some script checked for services to stop, then modules to unload and then machine entered ACPI S1 state. I this state CPU is stopped and some motherboard devices enter power save mode (e.g. USB, FireWire, LAN, I think). Also probably GPU is stopped also, display goes power off. I cannot remember whether hard disk is also spun down. The important information I have not mention yet, I use standby function with a desktop PC, not with a laptop. I use a laptop and two desktops with Gigabyte motherboards. The laptop supports suspend to ram, not standby and the desktops have only standby. I don't know but have thought that most desktops support standby. -- 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=408246 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c10 Holger Macht <hmacht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |pavel.lastovicka@gmail.com --- Comment #10 from Holger Macht <hmacht@novell.com> 2008-07-22 05:36:05 MDT --- Does the command: $ dbus-send --system --dest=org.freedesktop.Hal --print-reply /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Standby work? -- 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=408246 User pavel.lastovicka@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c11 Pavel Lastovicka <pavel.lastovicka@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|pavel.lastovicka@gmail.com | --- Comment #11 from Pavel Lastovicka <pavel.lastovicka@gmail.com> 2008-07-23 01:41:55 MDT --- Unfortunately does not. It has no effect and dbus-send does not return, it has to be interrupted. -- 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=408246 User pavel.lastovicka@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c12 --- Comment #12 from Pavel Lastovicka <pavel.lastovicka@gmail.com> 2008-07-24 01:56:18 MDT --- The last comment applies for oS 10.3. Today I tried the command in 11.0 under VMware guest and the command returned: method return sender=:1.0 -> dest=:1.53 reply_serial=2 int32 0 -- 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=408246 User pavel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c13 --- Comment #13 from Pavel Machek <pavel@novell.com> 2008-08-04 02:03:21 MDT --- As far as I can see, standby is not supported in opensuse 10.3+. Can we make sure powersave -m complains about unrecognized option? -- 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=408246 User seife@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c14 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fseidel@novell.com, rwysocki@novell.com --- Comment #14 from Stefan Seyfried <seife@novell.com> 2008-08-19 11:00:42 MDT --- One plan, some time ago, was, to use standby on machines not whitelisted and capable of standby (maybe restrict it to desktops, but most newer notebooks don't offer standby anymore anyway) in the case when suspend to RAM was requested (configurable somewhere, of course, but the default would be to use standby on machines that are not known to be capable of suspend to ram). But I heard rumours lately that standby support was to be removed from the kernel. Is there any truth to that or did I misunderstand something? -- 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=408246 User rjw@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c15 --- Comment #15 from Rafael Wysocki <rjw@novell.com> 2008-08-21 14:43:42 MDT --- (In reply to comment #14 from Stefan Seyfried)
But I heard rumours lately that standby support was to be removed from the kernel. Is there any truth to that or did I misunderstand something?
Surely I'm not going to remove it. -- 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=408246 User pavel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c16 --- Comment #16 from Pavel Machek <pavel@novell.com> 2008-09-01 08:06:21 MDT --- Well, I'm not going to _remove_ it, but I'm not going to support it either. And as noone is willing to support it, don't bet big money on it. I thought standby support was intentionaly removed from powersave? -- 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=408246 User hmacht@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=408246#c17 Holger Macht <hmacht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #17 from Holger Macht <hmacht@novell.com> 2008-10-08 04:44:59 MDT --- It's still in HAL for systems that support it. According to comment #12, it should work in 11.0. If there is really a bug, we won't fix this for 10.3, 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