[ltp] Re: [ANN] tp_smapi - a new Linux SMAPI driver
Shem Multinymous
linux-thinkpad@linux-thinkpad.org
Mon, 5 Dec 2005 15:52:34 +0200
------=_Part_34692_14229709.1133790754926
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi,
Attached is a new version of the SMAPI driver.
0.03 2005-12-05
----------------
- Added /sys/devices/platform/smapi/inhibit_charge
- Fixed #includes
- Kernel 2.6.15 compatibility
- Added versionless IBM machines to DMI whiteliste
- Added retries to SMAPI request code
- Added list of supported models to README
Model-specific status
---------------------
* ThinkPad T43
works: all
* ThinkPad X40, T42p, G41
work: start_charge_thresh, inhbit_charge
don't work: stop_charge_thresh (not supported by hardware)
* ThinkPad T40p, R40
unknown: inhbit_charge
don't work: start_charge_thresh, stop_charge_thresh
Volker, Peter, Stefan, Csillag, Jiang, Michael, Uwe:
Thanks for the detailed feedback! Could you verify the above on your machin=
es?
Shem
------=_Part_34692_14229709.1133790754926
Content-Type: application/x-gzip; name=tp_smapi-0.03.tgz
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="tp_smapi-0.03.tgz"
H4sIACtElEMAA+xbeXfbRpLPv8KnKHMtGZTBS6dNmc5SImVzomtIKrZ3JssHAk0RIxwMDkmcxPvZ
t6q7cRI67Nizu2/D52eBfVRX1/mrRjNcTAJHX1i1Zr253fjhu3ya+Nnf3RV/9/J/5eeHVnN7Z7e5
s4X/fmi2Wvut5g+w+33YyX+iINR9gB+Yr7sPjXus///oJ8zp/1S/ZjPLZt92DVLwHur4Hv23mjvb
sf5b27uk/+3tndYP0Py2bJR//p/r35qxX0F9rv7UH571T4b9k3531K9qVUX5qTcYQrsDDduaNhzP
jGwWNJ6rwZzZNkSu7jCo+dXGNLJsU7n40KOxcffi1qwq9Yv352ef2mDYTHfB9nQTp/E/lotCt21F
MdlMj+ywDbEZ1q89Rcl8yfQYytpz9bT7U78KtSNcifirwmnnuYqLV0FyqCh8ubay5jtQm6XTs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