Re: temperature standard - global config option?

Dr. Kelsey Hudson (kernel@blackhole.compendium-tech.com)
Wed, 6 Jun 2001 12:01:25 -0700 (PDT)


On 6 Jun 2001, David N. Welton wrote:

>
> [ please CC replies to me ]
>
> Perusing the kernel sources while investigating watchdog drivers, I
> notice that in some places, Fahrenheit is used, and in some places,
> Celsius. It would seem logical to me to have a global config option,
> so that you *know* that you talk devices either in F or C.
>
> I searched the archives for discussions regarding this, but didn't
> find anything, apologies if I missed something.

If something is done, Celsius should be default (as the US is brain-dead
like that; nearly everywhere else uses Celsius as the standard) and
fahrenheit as an option.

I wrote a patch for the 'sensors' utility in lm_sensors that did just
that; supplied fahrenheit conversion for the sensors via a commandline
option. Perhaps there could be a config option in the kernel (or a proc
entry/ioctl?) that controls this.

Kelsey Hudson khudson@ctica.com
Software Engineer
Compendium Technologies, Inc (619) 725-0771
---------------------------------------------------------------------------

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