[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
*** This bug is a duplicate of bug 149665 *** https://bugs.launchpad.net/bugs/149665 ** Changed in: gnome-power Status: New = Invalid -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
*** This bug is a duplicate of bug 149665 *** https://bugs.launchpad.net/bugs/149665 ** This bug has been marked a duplicate of bug 149665 when returning from suspend my laptop tries to hibernate -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
This may be caused by a D-Bus method call being made across the suspend, and the reply being lost by the bus internal timeout (or that of the method call itself). There are other similar issues with GNOME Power Manager caused by this problem. -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
Scott: Hmm. That would mean that the underlying cause of similar bugs like Bug #32143 would be the same as this and what I really would be asking for is dbus to support discontinuous time (i.e. note when the system time had jumped and account for it). -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
Scott: Actually now I think about it, why would the order of hibernate/suspend change depending on whether you are on AC or battery if it's due to lost timeouts? -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
I think that's a distinct problem, as the one I've described here (which I think matches the original report) appears to be specific to gnome- power-manager. -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
Sounds similar to Bug #35154 ... -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
I ran gnome-power-manager with --verbose, and the log seems to provide some hints as to the nature of the problem. I see the following sequence of events: [system_timer] gpm-idle.c:171 (23:38:29):System idle timeout [gpm_idle_set_mode] gpm-idle.c:98 (23:38:34):Doing a state transition: 3 [idle_changed_cb] gpm-manager.c:876 (23:38:34): Idle state changed: SYSTEM [gpm_inhibit_has_inhibit] gpm-inhibit.c:336 (23:38:34): Valid as no inhibitors Saving to syslog: Suspending computer. Reason: System idle.[gpm_info_event_log] gpm-info.c:594 (23:38:34): Adding 5 to the event log [gpm_control_get_lock_policy] gpm-control.c:389 (23:38:34): Using custom locking settings (1) [gpm_screensaver_lock] gpm-screensaver.c:250 (23:38:34): doing gnome-screensaver lock [gpm_control_suspend] gpm-control.c:439 (23:38:34): emitting sleep ** (gnome-power-manager:28309): WARNING **: Method failed (An unknown error occured) [gpm_control_suspend] gpm-control.c:447 (09:37:37): emitting resume [...] [gpm_control_suspend] gpm-control.c:451 (09:37:37): emitting sleep-failure [...] [idle_do_sleep] gpm-manager.c:813 (09:37:37):cannot suspend (error: General failure: An unknown error occured), so trying hibernate This shows: 1. The system being idle for the specified period of time, and gpm deciding to sleep 2. The system resuming some 10 hours later 3. gpm detecting a failure to suspend, though in fact it was suspended for 10 hours 4. gpm trying hibernation instead, still trying to satisfy the original request to suspend I see that others have seen the opposite, so it may fall back from hibernate to suspend as well. I'm attaching the complete log. ** Attachment added: gnome-power-manager debug log http://launchpadlibrarian.net/15370014/gnome-power-manager.log.gz -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
I've passed the above analysis and log file to the upstream bug as well. -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
I see something similar to this on 8.04. I set my preferences to suspend after 1 hour of idle time when on AC. Most of the time (though not always) when it suspends from being idle, when I wake it up, it immediately hibernates. I think that in this case, it is related to how much time passes after the suspend. If it is left overnight, then it always hibernates when awakened, but if I wake it up shortly after the suspend, it seems to resume OK. The only case I have set to 'hibernate' is 'when battery power is critically low'. I see nothing in syslog which indicates why hibernation is being activated. I don't seem to have this problem on battery power, though my settings for idle and lid close are identical. -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
Matt: please tell this upstream, I've said a few weeks ago that this was fixed. -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
** Changed in: gnome-power-manager (Ubuntu) Assignee: Basilio Kublik (sourcercito) = Ubuntu Desktop Bugs (desktop-bugs) Status: Incomplete = Triaged -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
Yes, this particular problem has been resolved in hardy (mostly). On AC power the laptop goes to sleep and wakes properly after two minutes. On battery it does nothing. However, it seems that in gconf the key /apps /gnome-power-manager/actions/sleep_type_battery is set to 'disabled' instead of 'suspend'. Changing it to 'suspend' allows it to sleep and wake properly after two minutes. So I suspect this is a new bug unrelated to this problem, possibly #188639. -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 136871] Re: Idle/inactive action/autosuspend results in a suspend AND a hibernate
Hi there You're absolutely right, sorry about that, i meant to ask the test in the development version of Ubuntu, Hardy Heron, not the live cd environment. I can't reproduce this using suspend due the fact I've issues with my BIOS and ACPI, but hibernate works fine for me while on AC or battery. You can take a look at https://wiki.ubuntu.com/DebuggingGNOMEPowerManager to see what information could be of help and how to collect it so we can track down this issue. Thanks again and sorry about the previous mistake. -- Idle/inactive action/autosuspend results in a suspend AND a hibernate https://bugs.launchpad.net/bugs/136871 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs