From owner-cvs-all Fri Oct 26 11:51:55 2001 Delivered-To: cvs-all@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 0C7DC37B40A for ; Fri, 26 Oct 2001 11:50:47 -0700 (PDT) Received: (qmail 19905 invoked from network); 26 Oct 2001 18:50:45 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Oct 2001 18:50:45 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200110261743.f9QHh5o33409@freefall.freebsd.org> Date: Fri, 26 Oct 2001 11:50:41 -0700 (PDT) From: John Baldwin To: Mitsuru IWASAKI Subject: RE: cvs commit: src/sys/conf files.i386 files.ia64 src/sys/dev/a Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 26-Oct-01 Mitsuru IWASAKI wrote: > iwasaki 2001/10/26 10:43:05 PDT > > Modified files: > sys/conf files.i386 files.ia64 > sys/dev/acpica acpi.c acpi_acad.c acpi_battery.c > acpivar.h > sys/modules/acpi Makefile > Added files: > sys/i386/acpica acpi_machdep.c > sys/ia64/acpica acpi_machdep.c > Log: > Add APM compatibility feature to ACPI. > This emulates APM device node interface APIs (mainly ioctl) and > provides APM services for the applications. The goal is to support > most of APM applications without any changes. > Implemented ioctls in this commit are: > - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) > - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) > - APMIO_GETINFO and APMIO_GETINFO_OLD > - APMIO_GETPWSTATUS > > With above, many APM applications which get batteries, ac-line > info. and transition the system into suspend/standby mode (such as > wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-) > > Reviewed by: arch@, audit@ and some guys Woot! Thanks! /me hurrily cvsups so he can get the battery monitor in X The only downside: I would hate for the APM interface to become our standard power management interface in the future. :-P I would prefer that eventually we use your libpower type stuff and convert ports to use that instead so it's not so heavily tied to APM. Esp. since the libpower stuff might support other power management interfaces on other archs, etc. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message