suspends after hibernating, hibernates after suspending

Asked by Jackflap

I have a Sony Vaio VGN-T1XP/L laptop running latest Ubuntu 7.10 with kernel 2.6.22-14.47.

Once I resume from having suspended, the laptop automatically hibernates again a few seconds after resuming. Once I resume after hibernating it works as normal.

Once I resume from having hibernated, the laptop again suspends a few seconds after resuming. Once again, after resuming a second time, everything works as normal.

This only happens when the laptop has auto-suspended/hibernated by setting an idle time in Gnome Power Manager. If I click on the suspend/hibernate button in the Power menu manually, suspend and hibernate work perfectly fine.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fabus (fabian-gebert-hh) said :
#1

same for me on T61 with latest gutsy updates. But actually this only occurs when the suspend is longer than the period of time specified for auto suspend.

Revision history for this message
cement_head (andorjkiss) said :
#2

Hello,

Confirmed. GPM seems to work really well. One oddity and it maybe a settings issue. I'm using Gutsy Gibbon (Ubuntu 7.10) on a HP6910p laptop. When I
 have the machine set "Put computer to sleep when inactive for: X minutes" it goes to suspend. No problem, but when I awaken the machine, it gives me a DBUS notification that my machine didn't hibernate properly and then promptly hibernates. Upon restart (resume from suspend) the machine works perfectly. What am I missing? A conflict between GPM and another power daemon?

BTW: I'm running the ATI Catalyst 8.1 (8.01) driver.

- Andor

Revision history for this message
Jackflap (deriziotis) said :
#3

I've just tested Fedora 8 and this problem doesn't occur.

Fedora uses dbus-1.1.2 instead of 1.1.1 which Gutsy has. Hardy will ship with 1.1.2, so there's a good chance this is sorted right now in Hardy alpha.

Anyone care to test?

Revision history for this message
Jackflap (deriziotis) said :
#4

Ok, I've just tested Hardy alpha 5. Problem is fixed.

Thank you everyone.

Revision history for this message
cement_head (andorjkiss) said :
#5

Any way to get this fixed in Gutsy? or to patch the DBUS for Gutsy?

- CH

Revision history for this message
cement_head (andorjkiss) said :
#6

what does "longer than the time for autosuspend" mean?

Revision history for this message
Fabus (fabian-gebert-hh) said :
#7

"longer than the time for autosuspend" should mean that it only occurs, when the timer for the sleep has elapsed. for example:
20 min sleep timer.
manually put the machine to sleep, boot it up again, nothing weird happens.
manually put the machine to sleep, boot it up again after 20 min or later, immediately goes to hibernate.
wait for the machine to automatically sleep, boot it up again, immediately goes to hibernate.

that's what I meant, but actually I also saw the bug without the timer having elapsed. Anyway, using the NVIDIA proprietary driver, the bug hasn't shown up at all. That might be due my using the backports repository and therefore having a newer version of DBUS? (still using gutsy)

Revision history for this message
cement_head (andorjkiss) said :
#8

Hi,

Thanks, that's clear. I'll try timing things and see where we are. GPM mailing list thinks its a HAL problem. Hibernate directly works. Suspend directly is a disaster.

https://wiki.ubuntu.com/DebuggingGNOMEPowerManager#head-2032a88e3ccaf7bd0f270f78c2871417f4361329

Might be HAL; might be DBUS. I'll have to try and debug HAL & DBUS and see what goes. It's an annoying bug, but not critical. Will probably upgrade to Hardy after April (need stable O/S for production machine).

- CH

Revision history for this message
ethanay (ethan-y-us) said :
#9

I have this problem

Hardy 8.04 w/latest
Dell XPS m1330
kernel 2.6.24-19 (all later versions so far completely break suspend/hibernate)

problem occurs after resume from autosuspend
used to not exist, but (re)appeared? in the last month or so

i use both hibernate and suspend, so would prefer not to disable hibernate!

Can you help with this problem?

Provide an answer of your own, or ask Jackflap for more information if necessary.

To post a message you must log in.