#6192 HIGH Update.: Lid switch detection only works on AC

Zarro Boogs per Child bugtracker at laptop.org
Thu Jan 24 20:42:58 EST 2008


#6192: Lid switch detection only works on AC
---------------------+------------------------------------------------------
  Reporter:  cjb     |       Owner:  dilinger
      Type:  defect  |      Status:  new     
  Priority:  high    |   Milestone:  Update.1
 Component:  kernel  |     Version:          
Resolution:          |    Keywords:          
  Verified:  0       |    Blocking:          
 Blockedby:          |  
---------------------+------------------------------------------------------

Comment(by dilinger):

 Here's a rundown of what was happening from the kernel side:

 {{{
 20:37  dilinger> before we check if we were woken up by a lid event, we
 check
                  if we were woken up by the EC from an SCI event
 20:38  dilinger> that code path was being triggered
 20:38  cjb> ok
 20:38  dilinger> but since there wasn't actually an SCI waiting in the
 queue,
                  wakeup_source became "empty sci"
 20:38  cjb> can we make a lid event trump an SCI?  Should we?
 20:38  dilinger> i don't think we should
 20:39  dilinger> i mean, this isn't a (kernel) bug
 20:39  dilinger> PM_GPE0_STS claimed GPIO_WAKEUP_EC was set
 20:39  dilinger> it shouldn't have claimed that
 }}}

 Remember to tip your waitress!

-- 
Ticket URL: <http://dev.laptop.org/ticket/6192#comment:4>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list