Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2006 11:14:21 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Spartak Radchenko <spartak@aif.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Monitoring temperature with acpi (sysctls)
Message-ID:  <200607281114.22512.jhb@freebsd.org>
In-Reply-To: <44CA2471.5080406@aif.ru>
References:  <44C63DFD.5040401@rogers.com> <200607280948.51239.jhb@freebsd.org> <44CA2471.5080406@aif.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607281114.22512.jhb>