#7536 NORM 8.2.0 (: Lid open should wake from suspend, but lid close shouldn't.
Zarro Boogs per Child
bugtracker at laptop.org
Fri Jul 25 04:31:17 EDT 2008
#7536: Lid open should wake from suspend, but lid close shouldn't.
----------------------------+-----------------------------------------------
Reporter: cjb | Owner: dsaxena
Type: defect | Status: assigned
Priority: normal | Milestone: 8.2.0 (was Update.2)
Component: not assigned | Version: not specified
Resolution: | Keywords:
Next_action: never set | Verified: 0
Blockedby: | Blocking:
----------------------------+-----------------------------------------------
Comment(by dsaxena):
Replying to [comment:2 cjb]:
> Replying to [comment:1 dsaxena]:
> > Looking at the code, I think this should be fairly trivial to
implement.
>
> It'd be great to have something to test -- I can't use the wakeup
sources stuff fully until this in place, unfortunately.
>
> (I want to remove the userspace code that decides whether we were woken
up appropriately, but I can't do that yet because of the scenario of
someone pushing the power button to go to sleep and then closing the lid.
We still need userspace to decide whether a lid event was a close or an
open, for that case, until we can set the GPIOs properly.)
I've almost got this working. I can turn off the wakeup on sleep, but i am
always seeing a lid open event when i shut the lid, which means it does
not trigger a suspend. Will debug and get you something soon.
--
Ticket URL: <http://dev.laptop.org/ticket/7536#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list