Re: ACPI testing/debugging guide?

From: Scott Lambert <lambert_at_lambertfam.org>
Date: Tue, 17 Jun 2003 19:11:42 -0400
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_at_dan.emsphone.com>
> >             Dan Nelson <dnelson_at_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_at_lambertfam.org      
Received on Tue Jun 17 2003 - 14:12:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:12 UTC