From owner-freebsd-acpi@FreeBSD.ORG Sat Dec 5 05:05:51 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 490371065679 for ; Sat, 5 Dec 2009 05:05:51 +0000 (UTC) (envelope-from freebsd@insightbb.com) Received: from mxsf09.insightbb.com (mxsf09.insightbb.com [74.128.0.79]) by mx1.freebsd.org (Postfix) with ESMTP id 1900D8FC12 for ; Sat, 5 Dec 2009 05:05:50 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.47,346,1257138000"; d="scan'208";a="214873411" Received: from unknown (HELO asav03.insightbb.com) ([172.31.249.123]) by mxsf09.insightbb.com with ESMTP; 04 Dec 2009 23:37:10 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkgGADtyGUvQLicL/2dsb2JhbACBTI8BAcU9hDMEgWc X-IronPort-AV: E=Sophos;i="4.47,346,1257138000"; d="scan'208";a="116151110" Received: from 208-46-39-11.dia.static.qwest.net (HELO laptop2.stevenfriedrich.org) ([208.46.39.11]) by asavout03.insightbb.com with ESMTP; 04 Dec 2009 23:37:10 -0500 To: freebsd-acpi@freebsd.org From: Steven Friedrich Date: Fri, 4 Dec 2009 23:37:04 -0500 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912042337.04403.freebsd@insightbb.com> Subject: ACPI temperature X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2009 05:05:51 -0000 I sent this to questions last Sunday, but only one person responded. He's running FreeBSD 8 and I think his system is reporting bogus temps too. I think there might be a missing scaling factor. I'm a hardware guy, but I don't currently have temperature measuring equipment and I would want to do it on one of my towers (which are currently in storage), not my laptop anyway. 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