[ltp] [ANN] tp_smapi 0.35-test1
Shem Multinymous
linux-thinkpad@linux-thinkpad.org
Mon, 21 Jan 2008 01:58:49 -0500
Greetings,
I've prepared a test release of tp_smapi, 0.35-test1, to allow further
checking of the behavior on the new T61 firmware. If you have the new
firmware and tp_smapi 0.34 didn't work for you, please report whether
this one does. Furthermore, please check the following sysfs
attributes (I'm copying from the README) and report whether they work
as advertised:
/sys/devices/platform/hdaps/sampling_rate:
This determines the frequency at which the host queries the embedded
controller for accelerometer data (and informs the hdaps input devices).
Default=50.
/sys/devices/platform/hdaps/running_avg_filter_order:
When set to X, reported readouts will be the average of the last X physical
accelerometer measurements. Current firmware allows 1<=X<=8. Setting to a
high value decreases readout fluctuations. The averaging is handled by the
embedded controller, so no CPU resources are used. Higher values make the
readouts smoother, since it averages out both sensor noise (good) and abrupt
changes (bad). Default=2.
/sys/devices/platform/hdaps/fake_data_mode:
If set to 1, enables a test mode where the physical accelerometer readouts
are replaced with an incrementing counter. This is useful for checking the
regularity of the sampling interval and driver<->userspace communication.
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.
Thanks to the many people who helped this release by reporting and
contributing patches!
0.35-test1 2008-01-21
---------------------
- Allow loading on new T61 firmware that caused an "hdaps_check_ec failed
error. Correct operation with this firmware is not yet fully tested.
- tp_smapi: Added 3 new sysfs attributes:
/sys/devices/platform/smapi/BAT0/group0_voltage
/sys/devices/platform/smapi/BAT0/group1_voltage
/sys/devices/platform/smapi/BAT0/group2_voltage
ThinkPad batteries (at least on the 600, X3x, T4x and R5x models) contains
3 cell groups in series, where each group consisting of 2 or 3 cells
connected in parallel. The voltage of each group is given by these attributes.
(The effective performance of the battery is determined by the weakest
group, i.e., the one those voltage changes most rapidly during dis/charging.)
- hdaps whitelist: changed default orientation of ThinkPad X60 Tablet,
X61 Tablet and ThinkPad X60s and ThinkPd T60.
- hdaps: when hdaps_ec_check fails, report the values received from the EC.
https://sourceforge.net/project/showfiles.php?group_id=1212&package_id=171579
http://thinkwiki.org/wiki/tp_smapi