Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2009 10:24:06 -0500
From:      Steven Friedrich <freebsd@insightbb.com>
To:        questions@freebsd.org
Subject:   ACPI temperature
Message-ID:  <200911291024.06896.freebsd@insightbb.com>

next in thread | raw e-mail | index | archive | help
I booted my HP Pavilion zd8215us and I immediately invoked chkCPUTemperature.
The first temp reported was 52C, which is 125.6F. This leads me to believe
that acpi has an anomaly regarding temperature measurement. The ambient temp 
was 71F (21.6C). The machine had been off for over eight hours.

Here's chkCPUTemperature:

#!/bin/sh
# $Id:$
#

# CPU Temperature Information from ACPI
POLLING_RATE=`sysctl hw.acpi.thermal.polling_rate|awk '{print $2}'`
while [ 1 ]
do
	sysctl hw.acpi.thermal.tz0.temperature
	sleep $POLLING_RATE
done

uname -a
FreeBSD laptop2.StevenFriedrich.org 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #1: 
Sat Oct  3 18:47:43 EDT 2009     
root@laptop2.StevenFriedrich.org:/usr/obj/usr/src/sys/LAPTOP  i386



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