Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 19:11:42 -0400
From:      Scott Lambert <lambert@lambertfam.org>
To:        FreeBSD-current@freebsd.org
Subject:   Re: ACPI testing/debugging guide?
Message-ID:  <20030617231142.GC7519@laptop.lambertfam.org>
In-Reply-To: <20030617225413.GC58008@perrin.int.nxad.com>
References:  <20030617180552.GA4769@laptop.lambertfam.org> <20030617181649.GM64929@dan.emsphone.com> <20030617.162959.27781208.imp@bsdimp.com> <20030617225413.GC58008@perrin.int.nxad.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dnelson@allantgroup.com> 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      



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