From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 8 04:06:16 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 A4027106566B for ; Tue, 8 Dec 2009 04:06:16 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id F39988FC12 for ; Tue, 8 Dec 2009 04:06:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nB847VSS015818; Tue, 8 Dec 2009 15:07:32 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 8 Dec 2009 15:07:30 +1100 (EST) From: Ian Smith To: Taku YAMAMOTO In-Reply-To: <20091208041000.1d2f75f8.taku@tackymt.homeip.net> Message-ID: <20091208140829.A12012@sola.nimnet.asn.au> References: <200912042337.04403.freebsd@insightbb.com> <20091208041000.1d2f75f8.taku@tackymt.homeip.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org Subject: Re: 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: Tue, 08 Dec 2009 04:06:16 -0000 On Tue, 8 Dec 2009, Taku YAMAMOTO wrote: > On Fri, 4 Dec 2009 23:37:04 -0500 > Steven Friedrich wrote: > > > 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. Another data point .. my Thinkpad T23, on either 7.0-R or 8.0-R, comes up showing between 55-60C immediately after a long sleep, before powerd kicks in to drop it back to 44-49C (99% C2 state) - and that at today's ambient temp of 36C, ~97F (trying not to drip on the keyboard, phew! :) > I'd suggest to kldload coretemp.ko for another point of view; because > it directly retrieves the core temperature from MSR - no ACPI involved. > > We can read the core temperature via sysctl dev.cpu.0.temperature like this: > > % sysctl dev.cpu.0.temperature hw.acpi.thermal.tz0.temperature > dev.cpu.0.temperature: 58.0C > hw.acpi.thermal.tz0.temperature: 46.0C > > This is obtained from my ThinkPad X60 running in 19C (66.2F) ambient for 15 > minutes with the lid closed, powerd running, C2 state enabled. > > As others stated already, I too think 52C is not so high to worry, though. Indeed. FWIW, I can confirm that kldload'ing coretemp on a PIII-M is of course useless - but does no apparent harm. > # I think it is very convenient to have a knob (or better, honors LANG) to > # let sysctl show "IK" oids in Fahrenheit. No problem with a knob, but referring to LANG won't work for Australia at least (using C since the '60s), often installed assuming EN-US, and in the case of both a 5.5-S and 8.0-R machine here, both running KDE 3, LANG isn't set at all (tcsh): % set | grep -i lang % setenv | grep -i lang % cheers, Ian