#8010 HIGH 8.2.1: joyride-2301: My Battery (status in frame) fails to update after auto-suspend.
Zarro Boogs per Child
bugtracker at laptop.org
Thu Aug 21 09:52:02 EDT 2008
#8010: joyride-2301: My Battery (status in frame) fails to update after auto-
suspend.
----------------------------+-----------------------------------------------
Reporter: thomaswamm | Owner: cjb
Type: defect | Status: new
Priority: high | Milestone: 8.2.1
Component: not assigned | Version: Development build as of this date
Resolution: | Keywords: blocks-:8.2.0
Next_action: reproduce | Verified: 0
Blockedby: | Blocking:
----------------------------+-----------------------------------------------
Comment(by pgf):
without having rerun the tests as richard suggests, i suspect the problem
is here:
when going to sleep, the kernel inhibits "superfluous" wakeup events:
{{{
/* We don't want to wake up on superfluous events */
olpc_ec_mask_unset(EC_SCI_SRC_BATSOC | EC_SCI_SRC_ACPWR);
}}}
on wakeup, we used to reverse this, by enabling all wakeup events. but
this was disabled, here:
{{{
commit 192d0b5a36442b21194c87be9efc7bfdbae8f2f1
Author: Deepak Saxena <dsaxena at laptop.org>
Date: Fri Jul 18 10:17:03 2008 -0700
Don't enable all wakeup events on resume.
Since userpsace can now set/unset individual bits in the SCI mask,
we don't want to reset it at wakeup.
Signed-off-by: Deepak Saxena <dsaxena at laptop.org>
}}}
clearly there's a disconnect here. the current situation feels quite
asymmetric -- it feels to me as if either the kernel or ohm should clear
and set bits in the wakeup mask, but whoever does it, they should do both
the enable and disable.
--
Ticket URL: <http://dev.laptop.org/ticket/8010#comment:15>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list