New XO-1.5 10.2.0 build 122

2010-05-01 Thread Chris Ball
http://wiki.laptop.org/go/F11_for_1.5 http://build.laptop.org/10.2.0/os122 Compressed image size: 677.68mb (-0.70mb since build 121) Description of changes in this build: * kernel, #10137: correct camera framerate setting (note, this version of the patch may break the camera f

[PATCH 3/3] olpc-battery: add support for CURRENT_NOW

2010-05-01 Thread Sascha Silbe
CURRENT_AVG is actually CURRENT_NOW (the EC code directly passes through the value from the gas gauge instead of the internally used average). We retain CURRENT_AVG as an alias for compatibility reasons, it will be removed later. This change allows an unpatched UPower (0.9.2) to calculate TimeToEm

[PATCH 2/3] olpc-battery: add support for CHARGE_NOW

2010-05-01 Thread Sascha Silbe
CHARGE_NOW is needed by UPower to return the current capacity ('Percentage'). This patch violates the power supply class definition (as we already do for CAPACITY though it isn't as obvious there), but this is the best we can do without adding rather sophisticated algorithms to either the EC or UP

[PATCH 1/3] olpc-battery: add support for CHARGE_FULL_DESIGN

2010-05-01 Thread Sascha Silbe
The maximum ("full") charge of the battery is required for UPower to return the current capacity, both directly (as CHARGE_FULL_DESIGN) and indirectly (calculating CHARGE_NOW). Signed-off-by: Sascha Silbe --- drivers/power/olpc_battery.c | 54 ++ 1 files

[PATCH v3 0/3] olpc-battery: add properties required by UPower

2010-05-01 Thread Sascha Silbe
Changes v2->v3: - style fixes for switch () according to scripts/checkpatch.pl output - add Signed-Off-By Changes v1->v2: - calculate CHARGE_FULL_DESIGN based on technology and manufacturer - replace CHARGE_AVG with CHARGE_NOW - add CURRENT_NOW ___ Dev

Re: [PATCH (V2) 0/3] battery: add properties required by UPower

2010-05-01 Thread Paul Fox
thanks sascha! these look good. i'll apply soon. paul sascha wrote: > After some research and comments from Paul Fox and Richard Smith (thanks!) > I've revised and split up the patch. > > Changes: > - calculate CHARGE_FULL_DESIGN based on technology and manufacturer > - replace CHARGE_AV

[PATCH 2/3] battery: add CHARGE_NOW

2010-05-01 Thread Sascha Silbe
CHARGE_NOW is needed by UPower to return the current capacity ('Percentage'). This patch violates the power supply class definition (as we already do for CAPACITY though it isn't as obvious there), but this is the best we can do without adding rather sophisticated algorithms to either the EC or UP

[PATCH 3/3] battery: add CURRENT_NOW

2010-05-01 Thread Sascha Silbe
CURRENT_AVG is actually CURRENT_NOW (the EC code directly passes through the value from the gas gauge instead of the internally used average). We retain CURRENT_AVG as an alias for compatibility reasons, it will be removed later. This change allows an unpatched UPower (0.9.2) to calculate TimeToEm

[PATCH 1/3] battery: add CHARGE_FULL_DESIGN

2010-05-01 Thread Sascha Silbe
The maximum ("full") charge of the battery is required for UPower to return the current capacity, both directly (as CHARGE_FULL_DESIGN) and indirectly (calculating CHARGE_NOW). --- drivers/power/olpc_battery.c | 57 ++ 1 files changed, 57 insertions(+), 0

[PATCH (V2) 0/3] battery: add properties required by UPower

2010-05-01 Thread Sascha Silbe
After some research and comments from Paul Fox and Richard Smith (thanks!) I've revised and split up the patch. Changes: - calculate CHARGE_FULL_DESIGN based on technology and manufacturer - replace CHARGE_AVG with CHARGE_NOW - add CURRENT_NOW ___ Devel