thinkpad repeatedly suspends after lid close/open

Bug #307986 reported by Jeffrey Baker
8
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gnome-power-manager

Some bug in Jaunty causes a ThinkPad to suspend immediately after resume, twice, after being suspended. I'm using Linux 2.6.28-2-generic and g-p-m 2.24.0-0ubuntu12 on a ThinkPad X61 Tablet. To reproduce:

1: Press Fn+F4 to suspend, then immediately
2: Close the lid.
3: Open the lid. The system will resume to the login dialog, but then immediate suspend again.
4: Hit the Fn button to wake it again and it will resume properly.

I hypothesize that the lid close is queued as a "suspend" event even though the machine is already headed for S3. Then when the machine wakes, the lid close event is processed, which suspends it a second time.

I would recommend that all pending events ought to be ignored after one suspend action is received. Or, the event queue should be cleared upon resume. Either way, this is a classic race condition.

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

My theory is probably not correct, because this just happened to me after a suspend with Fn + F4, without closing the lid.

Revision history for this message
sanktnelson (launchpad-maibaums) wrote :

just to reaffirm this: a similar thing just happened to me a few times on intrepid. No direct connection to the lid though. Resuming from hibernate seemingly randomly results in the machine waking up and then going right back to hibernate. never happens twice in a row.

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Thank you for reporting this bug. I'm going to mark this as a duplicate of bug 306310 as it seems to be the exact same issue. If you find something in that bug that is not compatible with your behaviour, feel free to unmark it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.