From owner-freebsd-current@FreeBSD.ORG Tue Jun 17 16:12:09 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 495A237B401 for ; Tue, 17 Jun 2003 16:12:09 -0700 (PDT) Received: from mail.lambertfam.org (www.lambertfam.org [216.223.208.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6DE043FB1 for ; Tue, 17 Jun 2003 16:12:08 -0700 (PDT) (envelope-from lambert@lambertfam.org) Received: from laptop.lambertfam.org (laptop.int.lambertfam.org [10.1.0.2]) by mail.lambertfam.org (Postfix) with ESMTP id 0D17334D24 for ; Tue, 17 Jun 2003 19:12:07 -0400 (EDT) Received: by laptop.lambertfam.org (Postfix, from userid 1000) id 474FC89FC; Tue, 17 Jun 2003 19:11:42 -0400 (EDT) Date: Tue, 17 Jun 2003 19:11:42 -0400 From: Scott Lambert To: FreeBSD-current@freebsd.org Message-ID: <20030617231142.GC7519@laptop.lambertfam.org> Mail-Followup-To: FreeBSD-current@freebsd.org References: <20030617180552.GA4769@laptop.lambertfam.org> <20030617181649.GM64929@dan.emsphone.com> <20030617.162959.27781208.imp@bsdimp.com> <20030617225413.GC58008@perrin.int.nxad.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030617225413.GC58008@perrin.int.nxad.com> User-Agent: Mutt/1.4.1i Subject: Re: ACPI testing/debugging guide? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 23:12:09 -0000 On Tue, Jun 17, 2003 at 03:54:13PM -0700, Hiten Pandya wrote: > On Tue, Jun 17, 2003 at 04:29:59PM -0600, M. Warner Losh wrote: > > In message: <20030617181649.GM64929@dan.emsphone.com> > > Dan Nelson writes: > > : ACPI records temperature in tenths of a Kelvin, if you can believe it :) > > > > I don't believe that. 369.2K is 96.2C, which is over 200F. That seems > > to hot to me. My laptop says 2982, which is either about 30C or > > 15.2C. Given how warm it is on my leg at the moment, I'd guess it is > > centi-Celcius. Maybe converted internally? > > Why not the use http://people.freebsd.org/~hmp/acpi_temp.c 19:07:39 Tue Jun 17 $ ./acpi_temp System temperature = 333.2 K 60.0 C 140.0 F hw.acpi.thermal.tz0.temperature: 3332 but all that program does is read the oid and do the math just like I did on my TI-85. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org