Re: W1: w1_slave units, standardize 1C or .001C? Break API

From: Evgeniy Polyakov
Date: Tue Jan 22 2008 - 16:12:50 EST


On Wed, Jan 23, 2008 at 12:07:41AM +0300, Evgeniy Polyakov (johnpol@xxxxxxxxxxx) wrote:
> On Mon, Jan 21, 2008 at 07:11:07PM -0800, H. Peter Anvin (hpa@xxxxxxxxx) wrote:
> > >Millikelvins would have the nice property of never being negative. :)
> > >
> >
> > Alternatively, centikelvins would fit nicely in 16 bits if anyone cares...
> >
> > 655.35 K = 382.20 °C = 719.96 °F
>
> I have no objection on adding new sysfs files which will return
> temperature relative to one on Mars or Venus :)

Even more, what about possibility of changing of the base, relative to
which temperature is displayed? By default I vote for centigrades,
those, who live behind the oceans, can setup Fahrenheit, Kelvin or anything
else, but please in a new file :)
David will this work for you?

--
Evgeniy Polyakov
--
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/