thinkpad repeatedly suspends after lid close/open
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.
My theory is probably not correct, because this just happened to me after a suspend with Fn + F4, without closing the lid.