Re: Linux 2.6.25 (coretemp reads high temperatures)

From: Pavel Machek
Date: Mon May 05 2008 - 09:45:19 EST


On Sun 2008-05-04 14:42:29, Henrique de Moraes Holschuh wrote:
> 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.

Yes, that would be nice.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/