[ltp] [ANN] tp_smapi 0.35-test1

Vincent C Jones linux-thinkpad@linux-thinkpad.org
Mon, 21 Jan 2008 20:50:06 -0500


On Mon, 2008-01-21 at 01:58 -0500, Shem Multinymous wrote:
> I've prepared a test release of tp_smapi, 0.35-test1, to allow further
> checking of the behavior on the new T61 firmware. 

Appears to work as well as the previous release. Need to add X61 (no S,
no tablet) as another "invert=6" entry (same as S & tablet). Tested on
an X61 (7675CTO).

> please check the following sysfs attributes (I'm copying from the README) and report whether they work
> as advertised:

vcjones@X61:/sys/devices/platform/hdaps> grep "" *
calibrate:(-507,516)
fake_data_mode:0
invert:6
keyboard_activity:1
modalias:hdaps
mouse_activity:1
oversampling_ratio:5
position:(-510,539)
running_avg_filter_order:2
sampling_rate:50
temp1:45

> 
> This release also adds 3 sysfs attributes for detailed voltage
> reporting on the battery cell groups. I'd love to see these added to
> the battery GUI applet! Please report if you see anything other than 3
> roughly equal values that sum up to
> /sys/devices/platform/smapi/BAT0/voltage.

Seems to be missing a fourth "group." This is the "small" 4 cell battery
option. 

vcjones@X61:/sys/devices/platform/smapi/BAT0> grep "" *
barcoding:1ZD4F79B21V
chemistry:LION
current_avg:-2120
current_now:-2661
cycle_count:18
design_capacity:37440
design_voltage:14400
dump:40 80 01 02 e0 00 00 00 00 00 00 00 00 00 00 00
dump:40 d0 00 80 fb 0b c9 38 9b f5 b8 f7 46 00 de 09
dump:40 d0 2e 0e 27 00 31 00 ff ff c0 00 12 00 -- 00
dump:40 d0 a0 0e 40 38 31 00 2b 37 3b 08 -- -- -- 00
dump:40 d0 53 4f 4e 59 00 00 00 00 00 00 00 00 00 00
dump:40 d0 39 33 50 35 30 32 38 00 00 00 00 00 00 00
dump:40 d0 4c 49 4f 4e 00 16 01 15 2a 0e 2f 0e 3f 0e
dump:40 d0 31 5a 44 34 46 37 39 42 32 31 56 00 00 00
dump:40 d0 78 37 -- -- -- -- -- -- -- -- -- -- -- 00
dump:40 d0 18 00 04 00 6c 07 a0 41 -- -- -- -- -- 00
dump:40 d0 42 16 01 15 2a 0e 2f 0e 3f 0e 31 0e 04 50
first_use_date:2007-11-24
force_discharge:0
group0_voltage:3631
group1_voltage:3647
group2_voltage:3633
inhibit_charge_minutes:0
installed:1
last_full_capacity:36300
manufacture_date:2007-09-11
manufacturer:SONY
model:93P5028
power_avg:-30818
power_now:-38682
remaining_capacity:25260
remaining_charging_time:not_charging
remaining_percent:70
remaining_running_time:49
serial:2107
start_charge_thresh:40
state:discharging
stop_charge_thresh:70
temperature:33600
voltage:14537
vcjones@X61:/sys/devices/platform/smapi/BAT0

Thanks for the great work!