From owner-freebsd-current@FreeBSD.ORG Sat Nov 22 17:24:25 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 6924D16A4CE for ; Sat, 22 Nov 2003 17:24:25 -0800 (PST) Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id F323643FAF for ; Sat, 22 Nov 2003 17:24:23 -0800 (PST) (envelope-from l.ertl@univie.ac.at) Received: from wireless (adslle.cc.univie.ac.at [131.130.102.11]) hAN1O6lB068270; Sun, 23 Nov 2003 02:24:12 +0100 Date: Sun, 23 Nov 2003 02:24:06 +0100 (CET) From: Lukas Ertl To: Ryan Sommers In-Reply-To: <20031123004302.21319.qmail@neuroflux.com> Message-ID: <20031123021445.R778@korben.in.tern> References: <20031123004302.21319.qmail@neuroflux.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-DCC-ZID-Univie-Metrics: mailbox 4251; Body=2 Fuz1=2 Fuz2=2 cc: freebsd-current@freebsd.org Subject: Re: ACPI and APM testing on Dell Inspiron 8200 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: Sun, 23 Nov 2003 01:24:25 -0000 On Sat, 22 Nov 2003, Ryan Sommers wrote: > I'm having difficulty getting battery and thermal status. If I compile the > kernel with APM support I get battery statistics but if I try to put > APM/ACPI in the kernel ACPI reports that another PM system is enabled and > doesn't load the /dev/acpi device. Yes, you can have either ACPI or APM, but not both at the same time. > If I take APM out and compile in ACPI I get /dev/acpi and all that goes > with it; but the battery status does not show up correctly. The log you have posted shows that you're running on AC, that's why battery time is 0. Plus, you somehow made it to fill up the battery to 118%. :-) The log also shows that you're loading a customized DSDT at boot, maybe that is borked. > (Which brings me to the point, in the NOTES file it's noted > that device acpi is deprecated, but if you don't add the device you don't > get acpi support...) Yes, this info is currently out-of-date. There were some recent changes to the interrupt code that made it necessary to compile acpi into the kernel. I'm not sure if someone already works on making it a module again. Generally, you should use acpidump(8) to dump your ACPI tables and ASL, put it on a website and post a link to it here. Maybe someone can take a look at it then. regards, le -- Lukas Ertl eMail: l.ertl@univie.ac.at UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://mailbox.univie.ac.at/~le/