Re: ACPI testing/debugging guide?

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Tue, 17 Jun 2003 16:29:59 -0600 (MDT)
In message: <20030617181649.GM64929_at_dan.emsphone.com>
            Dan Nelson <dnelson_at_allantgroup.com> writes:
: In the last episode (Jun 17), Scott Lambert said:
: > Is there some list of actions to preform and data to collect that
: > would assist with getting the ACPI stuff lined out?
: > 
: > I've read the acpiconf man page but don't know that it gives me any
: > way to test for any specific functionality.  I've been gradually
: > piecing together the meaning of S1, S2, S3, S4, and S5 and figuring
: > out that the *_(button|switch)_state sysctl oids specify which state
: > to go to on activation of that button rather than being a descriptor
: > of the current state of the buttons.
: > 
: > I haven't figured out if the hw.acpi.thermal oids.  I think maybe
: > ACPI doesn't recognize the hardware.  Is a thermal oid value of 3692
: > actually 36.92 celcius or some scale from 0x0000 to 0xFFFF?
: 
: 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?

Warner
Received on Tue Jun 17 2003 - 13:30:26 UTC

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