Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 11:50:41 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mitsuru IWASAKI <iwasaki@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/conf files.i386 files.ia64 src/sys/dev/a
Message-ID:  <XFMail.011026115041.jhb@FreeBSD.org>
In-Reply-To: <200110261743.f9QHh5o33409@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




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