#9353 NORM 1.5-ATe: olpc_battery.c missing former functionality

Zarro Boogs per Child bugtracker at laptop.org
Tue Jun 16 15:22:54 EDT 2009


#9353: olpc_battery.c missing former functionality
--------------------+-------------------------------------------------------
 Reporter:  pgf     |                 Owner:  dsaxena      
     Type:  defect  |                Status:  new          
 Priority:  normal  |             Milestone:  1.5-ATest    
Component:  kernel  |               Version:  not specified
 Keywords:          |           Next_action:  never set    
 Verified:  1       |   Deployment_affected:               
Blockedby:          |              Blocking:               
--------------------+-------------------------------------------------------
 in the transition from the "testing" branch of olpc2.6, to upstream and
 back to the "2.6.30rc5" branch, olpc_battery.c has become less featureful.

 in particular, at least the following three commits are missing:


 {{{
 commit efcf931f2bae5331330b45c8012f18efc3b6b16a
 Author: David Woodhouse <dwmw2 at infradead.org>
 Date:   Wed Aug 15 19:58:43 2007 +0800

     [BATTERY] Add serial number and accumulated current registers to
 properties

     Signed-off-by: David Woodhouse <dwmw2 at infradead.org>


 commit a76c694e2257720132c88f1f09d881401d6a72a9
 Author: Andres Salomon <dilinger at debian.org>
 Date:   Wed Apr 30 16:35:41 2008 -0400

     power_supply: add missing accum_current bit to sysfs core

     This is needed by olpc_battery (and was probably causing the
 olpc_bat_init
     oops).

     Signed-off-by: Andres Salomon <dilinger at debian.org>



 commit 222f7583b4602355bf507280ff466a9c19090729
 Author: Andres Salomon <dilinger at debian.org>
 Date:   Thu Sep 4 15:13:37 2008 -0400

     OLPC: power_supply: add an 'error' property that displays raw errors

     Grab the error code from EC_BAT_ERRCODE and let the user see it
 (rather
     than attempting to decode it as we do with PROP_HEALTH).

     Signed-off-by: Andres Salomon <dilinger at debian.org>


 }}}

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


More information about the Bugs mailing list