Monitoring temperature with acpi (sysctls)
John Baldwin
jhb at freebsd.org
Fri Jul 28 15:24:54 UTC 2006
On Friday 28 July 2006 10:51, Spartak Radchenko wrote:
> John Baldwin ?????:
> > If ACPI doesn't include the sysctl's that's due to your BIOS, not FreeBSD.
> > You can verify by doing an acpidump and seeing if you have any thermal
> > zones listed in your ASL.
> What if there is a thermal zone, but sysctl returns meaningless numbers?
>
> router# sysctl hw.acpi.thermal
> hw.acpi.thermal.min_runtime: 0
> hw.acpi.thermal.polling_rate: 10
> hw.acpi.thermal.tz0.temperature: -257.-1C
> hw.acpi.thermal.tz0.active: -1
> hw.acpi.thermal.tz0.passive_cooling: 1
> hw.acpi.thermal.tz0.thermal_flags: 0
> hw.acpi.thermal.tz0._PSV: 50.0C
> hw.acpi.thermal.tz0._HOT: -1
> hw.acpi.thermal.tz0._CRT: 60.0C
> hw.acpi.thermal.tz0._ACx: 50.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
>
> If I understand it correctly, the current temperature is -257C, or 16
> degrees from absolute zero.
> Motherboard is Via MS8000.
Well, that means your BIOS has a different sort of issue. It probably has a
bogus _TMP method. That's still going to be your BIOS' fault. The
temperature value is defined in the standard to be in units of .1 K. So a
raw value of 160 would give 16.0 K, or the value you are seeing.
--
John Baldwin
More information about the freebsd-stable
mailing list