203 lines
5.3 KiB
Groff
203 lines
5.3 KiB
Groff
.\" $NetBSD: acpi.4,v 1.22 2006/03/26 14:27:54 wiz Exp $
|
|
.\"
|
|
.\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
|
|
.\" All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the NetBSD
|
|
.\" Foundation, Inc. and its contributors.
|
|
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
|
.\" contributors may be used to endorse or promote products derived
|
|
.\" from this software without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
.\"
|
|
.Dd March 25, 2006
|
|
.Dt ACPI 4
|
|
.Os
|
|
.Sh NAME
|
|
.Nm acpi
|
|
.Nd Advanced Configuration and Power Interface
|
|
.Sh SYNOPSIS
|
|
.Cd "acpi0 at mainbus0"
|
|
.Cd "acpiacad* at acpi?"
|
|
.Cd "acpibat* at acpi?"
|
|
.Cd "acpibut* at acpi?"
|
|
.Cd "acpiec* at acpi?"
|
|
.Cd "acpilid* at acpi?"
|
|
.Cd "acpitz* at acpi?"
|
|
.Cd "attimer* at acpi?"
|
|
.Cd "com* at acpi?"
|
|
.Cd "fdc* at acpi?"
|
|
.Cd "joy* at acpi?"
|
|
.Cd "lpt* at acpi?"
|
|
.Cd "mpu* at acpi?"
|
|
.Cd "npx* at acpi?"
|
|
.Cd "pckbc* at acpi?"
|
|
.Cd "pcppi* at acpi?"
|
|
.Cd "sony* at acpi?"
|
|
.Cd "spic* at acpi?"
|
|
.Cd "vald* at acpi?"
|
|
.Cd "wss* at acpi?"
|
|
.Pp
|
|
.Cd "options ACPI_DEBUG"
|
|
.Cd "options ACPIVERBOSE"
|
|
.Cd "options ACPI_ACTIVATE_DEV"
|
|
.Cd "options ACPICA_PEDANTIC"
|
|
.Cd "options ACPI_DSDT_OVERRIDE"
|
|
.Sh DESCRIPTION
|
|
.Nx
|
|
provides machine-independent bus support for
|
|
.Tn ACPI
|
|
devices and includes several
|
|
.Tn ACPI
|
|
device drivers.
|
|
.Pp
|
|
The
|
|
.Nx
|
|
implementation of
|
|
.Tn ACPI
|
|
integrates Intel's ACPI Component Architecture
|
|
(aka ACPI-CA) for the OS-independent part.
|
|
The ACPI-CA provides
|
|
OS-neutral ACPI functionalities such as ACPI BIOS table support,
|
|
an ACPI event framework and an AML (ACPI Machine Language) interpreter.
|
|
.Pp
|
|
Options:
|
|
.Bl -tag -width ACPI_DSDT_FILE__filename_XX -offset 3n
|
|
.It Dv ACPI_DEBUG
|
|
Enable ACPI debugging message outputs.
|
|
.It Dv ACPI_ACTIVATE_DEV
|
|
Determine if the ACPI driver should attempt to activate
|
|
inactive devices.
|
|
The default is off.
|
|
.It Dv ACPICA_PEDANTIC
|
|
Force strict conformance to the ACPI specification in the
|
|
ACPI-CA.
|
|
Do not enable this option unless you are debugging.
|
|
.It Dv ACPI_DSDT_OVERRIDE
|
|
Force a given DSDT instead of the BIOS-supplied version.
|
|
Use
|
|
.Dv ACPI_DSDT_FILE
|
|
to specify a DSDT.
|
|
.It Dv ACPI_DSDT_FILE="filename"
|
|
If
|
|
.Dv ACPI_DSDT_FILE
|
|
is not specified, default to
|
|
.Dq dsdt.hex
|
|
in the build directory.
|
|
.El
|
|
.Sh SUPPORTED DEVICES
|
|
.Nx
|
|
.Tn ACPI
|
|
supports several machine-dependent and machine-independent devices:
|
|
.Ss machine-independent devices
|
|
.Bl -tag -width pcdisplay -offset indent
|
|
.It acpiacad
|
|
.Tn ACPI
|
|
AC adapters.
|
|
.It acpibat
|
|
.Tn ACPI
|
|
Control Method Batteries.
|
|
.It acpibut
|
|
.Tn ACPI
|
|
power and sleep buttons.
|
|
.It acpiec
|
|
.Tn ACPI
|
|
Embedded Controllers.
|
|
.It acpilid
|
|
.Tn ACPI
|
|
lid switches.
|
|
.It acpitz
|
|
.Tn ACPI
|
|
thermal zones.
|
|
.It attimer
|
|
AT Timer.
|
|
.It com
|
|
NS8250-, NS16450-, and NS16550-based serial ports.
|
|
.It fdc
|
|
Floppy disk controllers.
|
|
.It joy
|
|
Joystick/Game port interface.
|
|
.It lpt
|
|
Standard ISA parallel port interface.
|
|
.It mpu
|
|
Roland MPU-401 (compatible) MIDI UART.
|
|
.It pcppi
|
|
AT-style speaker sound.
|
|
.It wss
|
|
Windows Sound System-compatible sound cards based on the AD1848 and compatible chips.
|
|
.El
|
|
.Ss i386-dependent devices
|
|
.Bl -tag -width pcdisplay -offset indent
|
|
.It npx
|
|
i386 numeric processing extension coprocessor.
|
|
.It pckbc
|
|
PC keyboard controllers.
|
|
.It sony
|
|
Sony Miscellaneous Controller
|
|
.It spic
|
|
Sony programmable I/O controller.
|
|
.It vald
|
|
Toshiba Libretto device.
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Xr acpiacad 4 ,
|
|
.Xr acpibat 4 ,
|
|
.Xr acpibut 4 ,
|
|
.Xr acpiec 4 ,
|
|
.Xr acpilid 4 ,
|
|
.Xr acpitz 4 ,
|
|
.Xr apm 4 ,
|
|
.Xr attimer 4 ,
|
|
.Xr com 4 ,
|
|
.Xr fdc 4 ,
|
|
.Xr joy 4 ,
|
|
.Xr lpt 4 ,
|
|
.Xr mpu 4 ,
|
|
.Xr npx 4 ,
|
|
.Xr pci 4 ,
|
|
.Xr pckbc 4 ,
|
|
.Xr pcppi 4 ,
|
|
.Xr sony 4 ,
|
|
.Xr spic 4 ,
|
|
.Xr vald 4 ,
|
|
.Xr wss 4
|
|
.Rs
|
|
.%T ACPI specification
|
|
.%O http://www.acpi.info/
|
|
.Re
|
|
.Rs
|
|
.%T Intel ACPI CA (Component Architecture)
|
|
.%O http://developer.intel.com/technology/iapc/acpi/
|
|
.Re
|
|
.Sh HISTORY
|
|
The
|
|
.Nm
|
|
driver
|
|
appeared in
|
|
.Nx 1.6 .
|
|
.Sh BUGS
|
|
Most of the
|
|
.Tn ACPI
|
|
power management functionalities are not implemented.
|