[ltp] Re: Critical Temperature Trip Points?

Theodore Tso linux-thinkpad@linux-thinkpad.org
Tue, 29 Apr 2008 15:36:51 -0400


Something else that might be worth trying would be to try reading
battery termperature via the smapi interface, using tp-smapi module.
See:

	http://www.thinkwiki.org/wiki/Tp_smapi

and

	http://tpctl.sourceforge.net/

This will allow you to read the temperature from

     /sys/devices/platform/smapi/BAT0/temperature

.... as well as a number of really cool stuff that would otherwise
require booting Windows, such as the number of charge/discharge
cycles, etc.

So if you can't boot windows, another way of double checking the
answers being returned by ACPI is to use the tp_smapi module, since
I'm pretty sure this is the same interface which is used by the
Windows control panel (since it exposes information that isn't
available via the ACPI interface, it must be using smapi for at least
some of the information, and perhaps for all of it).

Regards,

						- Ted

P.S.  There's a scary disclaimer text on the thinkwiki site, probably
for liability reasons, but I've used tp_smapi just fine on my T60p and
X61s without any problems.  And as I've mentioned, it seems highly
likely the Windows drivers supplied by Lenovo is using the smapi
interface...