ACPI testing/debugging guide?
Scott Lambert
lambert at lambertfam.org
Tue Jun 17 16:12:09 PDT 2003
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
More information about the freebsd-current
mailing list