Re: Linux 2.6.25 (coretemp reads high temperatures)
From: Henrique de Moraes Holschuh
Date: Sun May 04 2008 - 13:42:45 EST
On Fri, 02 May 2008, Pavel Machek wrote:
> > Actually, just libsensors would, and the local admin can adjust it at
> > will using the config file.
> >
> > Nobody in userspace should be reading hwmon sysfs directly without the
> > use of libsensors. If they are, it is their bug, and it is unsupported
> > AFAIK.
>
> Hmm, that's an interesting ABI design. No, I do not think that's a
> good idea.
That's how it is. The kernel drivers are to attempt to do their best to
give proper readings. But if they don't, the library can apply
arbritary user-configurable adjustments.
I'd rather different attribute names like "raw_temp#" were used when the
adjustment thorugh libsensors is *required*, though.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/