svn commit: r300421 - in head/sys: arm/allwinner arm/broadcom/bcm2835 arm/freescale/imx arm/mv dev/acpi_support dev/acpica dev/amdtemp dev/coretemp dev/iicbus powerpc/powermac

Justin Hibbits chmeeedalf at gmail.com
Sun May 22 19:12:26 UTC 2016


On May 22, 2016 13:51, "Ravi Pokala" <rpokala at mac.com> wrote:
>
> -----Original Message-----
> From: <owner-src-committers at freebsd.org> on behalf of Luiz Otavio O Souza
<loos at FreeBSD.org>
> Date: 2016-05-22, Sunday at 06:58
> To: <src-committers at freebsd.org>, <svn-src-all at freebsd.org>, <
svn-src-head at freebsd.org>
> Subject: svn commit: r300421 - in head/sys: arm/allwinner
arm/broadcom/bcm2835 arm/freescale/imx arm/mv dev/acpi_support dev/acpica
dev/amdtemp dev/coretemp dev/iicbus powerpc/powermac
>
> >Author: loos
> >Date: Sun May 22 13:58:32 2016
> >New Revision: 300421
> >URL: https://svnweb.freebsd.org/changeset/base/300421
> >
> >Log:
> >  Fix the deciKelvin to Celsius conversion in kernel.
> >
> >  After r285994, sysctl(8) was fixed to use 273.15 instead of 273.20 as
0C
> >  reference and as result, the temperature read in sysctl(8) now exibits
a
> >  +0.1C difference.
>
> Out of morbid curiosity, why do these things report in deciKelvin anyway?
Are there sensors we support out there which report native Kelvin, or that
report sub-degree precision?
>
> Thanks,
>
> Ravi (rpokala@)
>

There are many i2c sensors which report in sub-degree centigrade. Though
some of them are in 1/8 (or other power of 2) degree precision, not 1/10.

- Justin


More information about the svn-src-head mailing list