Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 15:54:13 -0700
From:      Hiten Pandya <hmp@FreeBSD.ORG>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        dnelson@allantgroup.com
Subject:   Re: ACPI testing/debugging guide?
Message-ID:  <20030617225413.GC58008@perrin.int.nxad.com>
In-Reply-To: <20030617.162959.27781208.imp@bsdimp.com>
References:  <20030617180552.GA4769@laptop.lambertfam.org> <20030617181649.GM64929@dan.emsphone.com> <20030617.162959.27781208.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> : 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?

	Why not the use http://people.freebsd.org/~hmp/acpi_temp.c

		-- Hiten (hmp@FreeBSD.ORG)



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