Re: lm sensors sysfs file structure

Albert Cahalan (albert@users.sourceforge.net)
27 Mar 2003 18:00:51 -0500


Greg KH writes:

> temp_max[1-3] Temperature max value.
> Fixed point value in form XXXXX and
> should be divided by
> 100 to get degrees Celsius.
> Read/Write value.

Celsius can go negative, which may be yucky
and hard to test. Kelvin generally doesn't
suffer this problem. (yeah, yeah, quantum stuff...)

Getting temperature display into "top" would sure
be nice, but not if that means requiring a library
that almost nobody has installed. It's good to give
apps a simple way to get CPU temperature, including
per-CPU data for SMP systems when available.

Info about sensor quality would be good. For example,
my CPU measures temperature in 4-degree increments
and is not calibrated.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/