From owner-freebsd-current@FreeBSD.ORG Tue Jun 17 15:54:15 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3178D37B401 for ; Tue, 17 Jun 2003 15:54:15 -0700 (PDT) Received: from perrin.int.nxad.com (internal.ext.nxad.com [69.1.70.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE78B43F93 for ; Tue, 17 Jun 2003 15:54:14 -0700 (PDT) (envelope-from hmp@nxad.com) Received: by perrin.int.nxad.com (Postfix, from userid 1072) id 80FD821058; Tue, 17 Jun 2003 15:54:13 -0700 (PDT) Date: Tue, 17 Jun 2003 15:54:13 -0700 From: Hiten Pandya To: "M. Warner Losh" Message-ID: <20030617225413.GC58008@perrin.int.nxad.com> References: <20030617180552.GA4769@laptop.lambertfam.org> <20030617181649.GM64929@dan.emsphone.com> <20030617.162959.27781208.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030617.162959.27781208.imp@bsdimp.com> X-Operating-System: FreeBSD FreeBSD 4.7-STABLE User-Agent: Mutt/1.5.4i cc: FreeBSD-current@freebsd.org cc: dnelson@allantgroup.com Subject: Re: ACPI testing/debugging guide? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 22:54:15 -0000 On Tue, Jun 17, 2003 at 04:29:59PM -0600, M. Warner Losh wrote: > In message: <20030617181649.GM64929@dan.emsphone.com> > Dan Nelson 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)