| @@ -1,40 +1,40 @@ | | | @@ -1,40 +1,40 @@ |
1 | .\" $NetBSD: acpi.4,v 1.28 2008/04/30 13:10:53 martin Exp $ | | 1 | .\" $NetBSD: acpi.4,v 1.29 2008/09/21 11:12:36 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" | | 14 | .\" |
15 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | | 15 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS |
16 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | | 16 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
17 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | | 17 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
18 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | | 18 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS |
19 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | | 19 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
20 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | | 20 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
21 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 21 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
22 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 22 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
23 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 23 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
24 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 24 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
25 | .\" POSSIBILITY OF SUCH DAMAGE. | | 25 | .\" POSSIBILITY OF SUCH DAMAGE. |
26 | .\" | | 26 | .\" |
27 | .Dd May 8, 2007 | | 27 | .Dd September 21, 2008 |
28 | .Dt ACPI 4 | | 28 | .Dt ACPI 4 |
29 | .Os | | 29 | .Os |
30 | .Sh NAME | | 30 | .Sh NAME |
31 | .Nm acpi | | 31 | .Nm acpi |
32 | .Nd Advanced Configuration and Power Interface | | 32 | .Nd Advanced Configuration and Power Interface |
33 | .Sh SYNOPSIS | | 33 | .Sh SYNOPSIS |
34 | .Cd "acpi0 at mainbus0" | | 34 | .Cd "acpi0 at mainbus0" |
35 | .Cd "acpiacad* at acpi?" | | 35 | .Cd "acpiacad* at acpi?" |
36 | .Cd "acpibat* at acpi?" | | 36 | .Cd "acpibat* at acpi?" |
37 | .Cd "acpibut* at acpi?" | | 37 | .Cd "acpibut* at acpi?" |
38 | .Cd "acpiec* at acpi?" | | 38 | .Cd "acpiec* at acpi?" |
39 | .Cd "acpilid* at acpi?" | | 39 | .Cd "acpilid* at acpi?" |
40 | .Cd "acpitz* at acpi?" | | 40 | .Cd "acpitz* at acpi?" |
| @@ -93,26 +93,56 @@ ACPI-CA. | | | @@ -93,26 +93,56 @@ ACPI-CA. |
93 | Do not enable this option unless you are debugging. | | 93 | Do not enable this option unless you are debugging. |
94 | .It Dv ACPI_DSDT_OVERRIDE | | 94 | .It Dv ACPI_DSDT_OVERRIDE |
95 | Force a given DSDT instead of the BIOS-supplied version. | | 95 | Force a given DSDT instead of the BIOS-supplied version. |
96 | Use | | 96 | Use |
97 | .Dv ACPI_DSDT_FILE | | 97 | .Dv ACPI_DSDT_FILE |
98 | to specify a DSDT. | | 98 | to specify a DSDT. |
99 | .It Dv ACPI_DSDT_FILE="filename" | | 99 | .It Dv ACPI_DSDT_FILE="filename" |
100 | If | | 100 | If |
101 | .Dv ACPI_DSDT_FILE | | 101 | .Dv ACPI_DSDT_FILE |
102 | is not specified, default to | | 102 | is not specified, default to |
103 | .Dq dsdt.hex | | 103 | .Dq dsdt.hex |
104 | in the build directory. | | 104 | in the build directory. |
105 | .El | | 105 | .El |
| | | 106 | .Ss sysctl support |
| | | 107 | Two |
| | | 108 | .Xr sysctl 8 |
| | | 109 | settings are especially relevant for |
| | | 110 | .Nm : |
| | | 111 | .Li hw.acpi_supported_states |
| | | 112 | and |
| | | 113 | .Li machdep.acpi_vbios_reset . |
| | | 114 | .Li hw.acpi_supported_states |
| | | 115 | is a list of the supported states (see |
| | | 116 | .Xr sysctl 7 ) . |
| | | 117 | .Li machdep.acpi_vbios_reset |
| | | 118 | defines the handling of the graphics card. |
| | | 119 | The supported values for this are: |
| | | 120 | .Bl -tag -width 2 |
| | | 121 | .It 0 |
| | | 122 | No attempt to reset the VGA controller is done. |
| | | 123 | .It 1 |
| | | 124 | Call the VGA BIOS when still in real mode. |
| | | 125 | This can result in direct reboots. |
| | | 126 | In that case, use |
| | | 127 | .Sq 2 |
| | | 128 | or |
| | | 129 | .Ic vbetool post |
| | | 130 | from the |
| | | 131 | .Pa pkgsrc/sysutils/vbetool |
| | | 132 | package. |
| | | 133 | .It 2 |
| | | 134 | Call the VGA BIOS using the in-kernel x86 emulator. |
| | | 135 | .El |
106 | .Sh SUPPORTED DEVICES | | 136 | .Sh SUPPORTED DEVICES |
107 | .Nx | | 137 | .Nx |
108 | .Tn ACPI | | 138 | .Tn ACPI |
109 | supports several machine-dependent and machine-independent devices: | | 139 | supports several machine-dependent and machine-independent devices: |
110 | .Ss machine-independent devices | | 140 | .Ss machine-independent devices |
111 | .Bl -tag -width pcdisplay -offset indent | | 141 | .Bl -tag -width pcdisplay -offset indent |
112 | .It acpiacad | | 142 | .It acpiacad |
113 | .Tn ACPI | | 143 | .Tn ACPI |
114 | AC adapters. | | 144 | AC adapters. |
115 | .It acpibat | | 145 | .It acpibat |
116 | .Tn ACPI | | 146 | .Tn ACPI |
117 | Control Method Batteries. | | 147 | Control Method Batteries. |
118 | .It acpibut | | 148 | .It acpibut |