#9530 HIGH 1.5-F11: EC does not sense battery

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 27 18:33:48 EDT 2009

#9530: EC does not sense battery
           Reporter:  dsaxena              |       Owner:  rsmith       
               Type:  defect               |      Status:  closed       
           Priority:  high                 |   Milestone:  1.5-F11      
          Component:  embedded controller  |     Version:  not specified
         Resolution:  fixed                |    Keywords:               
        Next_action:  no action            |    Verified:  0            
Deployment_affected:                       |   Blockedby:               
           Blocking:                       |  
Changes (by rsmith):

  * status:  new => closed
  * next_action:  never set => no action
  * resolution:  => fixed
  * milestone:  Not Triaged => 1.5-F11


 Reuben has the same thing happen to a laptop he was trying to upgrade.  I
 was able to run the above diagnostics it.  And they showed that 1-wire
 state machine was in sort of a wedged state.

 Upgrading to q3a14 did not have any effect nor did a hot EC reboot.
 (Reboot but not power-loss)

 But upgrading to a test build with my latest EC code fixed the problem but
 I don't have a specific fix to point to.

 Previously the onboard RAM of the EC was only cleared on a power loss
 power up hot reboots did not clear the RAM.  Until Gen 1.5 the EC was hot
 rebooted only on firmware upgrades.  Now it is hot booted every time the
 system boots.  I believe that some of the weird EC bugs we have been
 seeing are the result of the fact that a lot of the ram variables can be
 in a state that is unexpected by the EC.

 My latest EC code clears the ram on boot for all cases except from a wake
 from deep sleep and for a magic 0x07 restart.

 I believe this is what fixed the wedged 1-wire problem on Reubens machine.

 This fix will show up in the next firmware release > q3a14

 Closing as fixed.

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

More information about the Bugs mailing list