]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # ACPI Configuration | |
3 | # | |
4 | ||
3f2c48c9 | 5 | menuconfig ACPI |
355ee5eb | 6 | bool "ACPI (Advanced Configuration and Power Interface) Support" |
1da177e4 LT |
7 | depends on !IA64_HP_SIM |
8 | depends on IA64 || X86 | |
1300124f | 9 | depends on PCI |
6796a120 | 10 | depends on PM |
243b66e7 | 11 | select PNP |
9fdd54f2 | 12 | select CPU_IDLE |
1da177e4 | 13 | default y |
1c48aa36 | 14 | help |
1da177e4 | 15 | Advanced Configuration and Power Interface (ACPI) support for |
1c48aa36 | 16 | Linux requires an ACPI-compliant platform (hardware/firmware), |
1da177e4 LT |
17 | and assumes the presence of OS-directed configuration and power |
18 | management (OSPM) software. This option will enlarge your | |
19 | kernel by about 70K. | |
20 | ||
21 | Linux ACPI provides a robust functional replacement for several | |
22 | legacy configuration and power management interfaces, including | |
23 | the Plug-and-Play BIOS specification (PnP BIOS), the | |
24 | MultiProcessor Specification (MPS), and the Advanced Power | |
25 | Management (APM) specification. If both ACPI and APM support | |
1c48aa36 | 26 | are configured, ACPI is used. |
1da177e4 | 27 | |
1c48aa36 BH |
28 | The project home page for the Linux ACPI subsystem is here: |
29 | <http://www.lesswatts.org/projects/acpi/> | |
1da177e4 LT |
30 | |
31 | Linux support for ACPI is based on Intel Corporation's ACPI | |
1c48aa36 BH |
32 | Component Architecture (ACPI CA). For more information on the |
33 | ACPI CA, see: | |
34 | <http://acpica.org/> | |
1da177e4 | 35 | |
1c48aa36 BH |
36 | ACPI is an open industry specification co-developed by |
37 | Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba. | |
38 | The specification is available at: | |
1da177e4 LT |
39 | <http://www.acpi.info> |
40 | ||
3e11c3ce LB |
41 | if ACPI |
42 | ||
673d5b43 LB |
43 | config ACPI_SLEEP |
44 | bool | |
5d1e072b | 45 | depends on SUSPEND || HIBERNATION |
673d5b43 LB |
46 | default y |
47 | ||
b981c591 | 48 | config ACPI_PROCFS |
fb804714 LB |
49 | bool "Deprecated /proc/acpi files" |
50 | depends on PROC_FS | |
1c48aa36 | 51 | help |
fb804714 | 52 | For backwards compatibility, this option allows |
405bbe9f | 53 | deprecated /proc/acpi/ files to exist, even when |
fb804714 LB |
54 | they have been replaced by functions in /sys. |
55 | The deprecated files (and their replacements) include: | |
56 | ||
74cad4ee ZY |
57 | /proc/acpi/processor/*/throttling (/sys/class/thermal/ |
58 | cooling_device*/*) | |
6e37c658 | 59 | /proc/acpi/video/*/brightness (/sys/class/backlight/) |
fb804714 LB |
60 | This option has no effect on /proc/acpi/ files |
61 | and functions which do not yet exist in /sys. | |
62 | ||
63 | Say N to delete /proc/acpi/ files that have moved to /sys/ | |
1c48aa36 | 64 | |
fdcedbba | 65 | config ACPI_PROCFS_POWER |
9e527971 | 66 | bool "Deprecated power /proc/acpi directories" |
fdcedbba AS |
67 | depends on PROC_FS |
68 | default y | |
1c48aa36 | 69 | help |
fdcedbba | 70 | For backwards compatibility, this option allows |
9e527971 | 71 | deprecated power /proc/acpi/ directories to exist, even when |
fdcedbba | 72 | they have been replaced by functions in /sys. |
9e527971 | 73 | The deprecated directories (and their replacements) include: |
fdcedbba AS |
74 | /proc/acpi/battery/* (/sys/class/power_supply/*) |
75 | /proc/acpi/ac_adapter/* (sys/class/power_supply/*) | |
9e527971 | 76 | This option has no effect on /proc/acpi/ directories |
fdcedbba | 77 | and functions, which do not yet exist in /sys |
b981c591 | 78 | |
9e527971 AC |
79 | Say N to delete power /proc/acpi/ directories that have moved to /sys/ |
80 | ||
de584afa DW |
81 | config ACPI_POWER_METER |
82 | tristate "ACPI 4.0 power meter" | |
83 | depends on HWMON | |
84 | help | |
85 | This driver exposes ACPI 4.0 power meters as hardware monitoring | |
86 | devices. Say Y (or M) if you have a computer with ACPI 4.0 firmware | |
87 | and a power meter. | |
88 | ||
89 | To compile this driver as a module, choose M here: | |
90 | the module will be called power-meter. | |
91 | ||
97749cd9 AS |
92 | config ACPI_SYSFS_POWER |
93 | bool "Future power /sys interface" | |
94 | select POWER_SUPPLY | |
95 | default y | |
1c48aa36 | 96 | help |
97749cd9 | 97 | Say N to disable power /sys interface |
9e527971 | 98 | |
14e04fb3 LB |
99 | config ACPI_PROC_EVENT |
100 | bool "Deprecated /proc/acpi/event support" | |
101 | depends on PROC_FS | |
721ebe00 | 102 | default y |
1c48aa36 BH |
103 | help |
104 | A user-space daemon, acpid, typically reads /proc/acpi/event | |
105 | and handles all ACPI-generated events. | |
14e04fb3 | 106 | |
1c48aa36 BH |
107 | These events are now delivered to user-space either |
108 | via the input layer or as netlink events. | |
14e04fb3 | 109 | |
721ebe00 | 110 | This build option enables the old code for legacy |
14e04fb3 LB |
111 | user-space implementation. After some time, this will |
112 | be moved under CONFIG_ACPI_PROCFS, and then deleted. | |
113 | ||
721ebe00 HD |
114 | Say Y here to retain the old behaviour. Say N if your |
115 | user-space is newer than kernel 2.6.23 (September 2007). | |
116 | ||
1da177e4 LT |
117 | config ACPI_AC |
118 | tristate "AC Adapter" | |
5527c8be | 119 | depends on X86 |
07fefe4c | 120 | default y |
1da177e4 | 121 | help |
1c48aa36 BH |
122 | This driver supports the AC Adapter object, which indicates |
123 | whether a system is on AC or not. If you have a system that can | |
07fefe4c | 124 | switch between A/C and battery, say Y. |
1da177e4 | 125 | |
1c48aa36 BH |
126 | To compile this driver as a module, choose M here: |
127 | the module will be called ac. | |
128 | ||
1da177e4 LT |
129 | config ACPI_BATTERY |
130 | tristate "Battery" | |
5527c8be | 131 | depends on X86 |
07fefe4c | 132 | default y |
1da177e4 LT |
133 | help |
134 | This driver adds support for battery information through | |
135 | /proc/acpi/battery. If you have a mobile system with a battery, | |
136 | say Y. | |
137 | ||
1c48aa36 BH |
138 | To compile this driver as a module, choose M here: |
139 | the module will be called battery. | |
140 | ||
1da177e4 LT |
141 | config ACPI_BUTTON |
142 | tristate "Button" | |
c0968f0e | 143 | depends on INPUT |
07fefe4c | 144 | default y |
1da177e4 | 145 | help |
1c48aa36 | 146 | This driver handles events on the power, sleep, and lid buttons. |
07fefe4c LB |
147 | A daemon reads /proc/acpi/event and perform user-defined actions |
148 | such as shutting down the system. This is necessary for | |
1c48aa36 BH |
149 | software-controlled poweroff. |
150 | ||
151 | To compile this driver as a module, choose M here: | |
152 | the module will be called button. | |
1da177e4 LT |
153 | |
154 | config ACPI_VIDEO | |
155 | tristate "Video" | |
23b0f015 | 156 | depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL |
03e2bf26 | 157 | depends on INPUT |
63c4ec90 | 158 | select THERMAL |
1da177e4 | 159 | help |
1c48aa36 | 160 | This driver implements the ACPI Extensions For Display Adapters |
1da177e4 | 161 | for integrated graphics devices on motherboard, as specified in |
1c48aa36 BH |
162 | ACPI 2.0 Specification, Appendix B. This supports basic operations |
163 | such as defining the video POST device, retrieving EDID information, | |
164 | and setting up a video output. | |
165 | ||
166 | To compile this driver as a module, choose M here: | |
167 | the module will be called video. | |
1da177e4 LT |
168 | |
169 | config ACPI_FAN | |
170 | tristate "Fan" | |
63c4ec90 | 171 | select THERMAL |
07fefe4c | 172 | default y |
1da177e4 | 173 | help |
1c48aa36 | 174 | This driver supports ACPI fan devices, allowing user-mode |
1da177e4 LT |
175 | applications to perform basic fan control (on, off, status). |
176 | ||
1c48aa36 BH |
177 | To compile this driver as a module, choose M here: |
178 | the module will be called fan. | |
179 | ||
c8f7a62c | 180 | config ACPI_DOCK |
898b054f | 181 | bool "Dock" |
8d7bff6c | 182 | depends on EXPERIMENTAL |
c8f7a62c | 183 | help |
1c48aa36 BH |
184 | This driver supports ACPI-controlled docking stations and removable |
185 | drive bays such as the IBM Ultrabay and the Dell Module Bay. | |
01b57e73 | 186 | |
1da177e4 LT |
187 | config ACPI_PROCESSOR |
188 | tristate "Processor" | |
63c4ec90 | 189 | select THERMAL |
07fefe4c | 190 | default y |
1da177e4 | 191 | help |
1c48aa36 BH |
192 | This driver installs ACPI as the idle handler for Linux and uses |
193 | ACPI C2 and C3 processor states to save power on systems that | |
07fefe4c | 194 | support it. It is required by several flavors of cpufreq |
1c48aa36 BH |
195 | performance-state drivers. |
196 | ||
197 | To compile this driver as a module, choose M here: | |
198 | the module will be called processor. | |
1da177e4 LT |
199 | |
200 | config ACPI_HOTPLUG_CPU | |
cbfc1bae AB |
201 | bool |
202 | depends on ACPI_PROCESSOR && HOTPLUG_CPU | |
1da177e4 | 203 | select ACPI_CONTAINER |
cbfc1bae | 204 | default y |
1da177e4 | 205 | |
8e0af514 SL |
206 | config ACPI_PROCESSOR_AGGREGATOR |
207 | tristate "Processor Aggregator" | |
208 | depends on ACPI_PROCESSOR | |
209 | depends on EXPERIMENTAL | |
d91f79eb | 210 | depends on X86 |
8e0af514 SL |
211 | help |
212 | ACPI 4.0 defines processor Aggregator, which enables OS to perform | |
c4c4e2a5 | 213 | specific processor configuration and control that applies to all |
8e0af514 SL |
214 | processors in the platform. Currently only logical processor idling |
215 | is defined, which is to reduce power consumption. This driver | |
c4c4e2a5 | 216 | supports the new device. |
8e0af514 | 217 | |
1da177e4 LT |
218 | config ACPI_THERMAL |
219 | tristate "Thermal Zone" | |
220 | depends on ACPI_PROCESSOR | |
3f655ef8 | 221 | select THERMAL |
07fefe4c | 222 | default y |
1da177e4 | 223 | help |
1c48aa36 | 224 | This driver supports ACPI thermal zones. Most mobile and |
1da177e4 LT |
225 | some desktop systems support ACPI thermal zones. It is HIGHLY |
226 | recommended that this option be enabled, as your processor(s) | |
227 | may be damaged without it. | |
228 | ||
1c48aa36 BH |
229 | To compile this driver as a module, choose M here: |
230 | the module will be called thermal. | |
231 | ||
1da177e4 LT |
232 | config ACPI_NUMA |
233 | bool "NUMA support" | |
234 | depends on NUMA | |
762834e8 | 235 | depends on (X86 || IA64) |
1da177e4 LT |
236 | default y if IA64_GENERIC || IA64_SGI_SN2 |
237 | ||
7ce9573e RD |
238 | config ACPI_CUSTOM_DSDT_FILE |
239 | string "Custom DSDT Table file to include" | |
240 | default "" | |
1da177e4 | 241 | depends on !STANDALONE |
1da177e4 | 242 | help |
d89e9d6b LB |
243 | This option supports a custom DSDT by linking it into the kernel. |
244 | See Documentation/acpi/dsdt-override.txt | |
245 | ||
c30fe7f7 UZ |
246 | Enter the full path name to the file which includes the AmlCode |
247 | declaration. | |
1da177e4 | 248 | |
7ce9573e RD |
249 | If unsure, don't enter a file name. |
250 | ||
251 | config ACPI_CUSTOM_DSDT | |
252 | bool | |
253 | default ACPI_CUSTOM_DSDT_FILE != "" | |
254 | ||
1da177e4 | 255 | config ACPI_BLACKLIST_YEAR |
2eb1bdba | 256 | int "Disable ACPI for systems before Jan 1st this year" if X86_32 |
1da177e4 LT |
257 | default 0 |
258 | help | |
1c48aa36 | 259 | Enter a 4-digit year, e.g., 2001, to disable ACPI by default |
1da177e4 LT |
260 | on platforms with DMI BIOS date before January 1st that year. |
261 | "acpi=force" can be used to override this mechanism. | |
262 | ||
263 | Enter 0 to disable this mechanism and allow ACPI to | |
264 | run by default no matter what the year. (default) | |
265 | ||
266 | config ACPI_DEBUG | |
267 | bool "Debug Statements" | |
1da177e4 LT |
268 | default n |
269 | help | |
a0d84a92 BH |
270 | The ACPI subsystem can produce debug output. Saying Y enables this |
271 | output and increases the kernel size by around 50K. | |
272 | ||
273 | Use the acpi.debug_layer and acpi.debug_level kernel command-line | |
274 | parameters documented in Documentation/acpi/debug.txt and | |
275 | Documentation/kernel-parameters.txt to control the type and | |
276 | amount of debug output. | |
1da177e4 | 277 | |
798d9103 TR |
278 | config ACPI_DEBUG_FUNC_TRACE |
279 | bool "Additionally enable ACPI function tracing" | |
280 | default n | |
281 | depends on ACPI_DEBUG | |
282 | help | |
283 | ACPI Debug Statements slow down ACPI processing. Function trace | |
284 | is about half of the penalty and is rarely useful. | |
285 | ||
8344b568 AC |
286 | config ACPI_PCI_SLOT |
287 | tristate "PCI slot detection driver" | |
268a03a4 | 288 | depends on SYSFS |
8344b568 AC |
289 | default n |
290 | help | |
1c48aa36 BH |
291 | This driver creates entries in /sys/bus/pci/slots/ for all PCI |
292 | slots in the system. This can help correlate PCI bus addresses, | |
293 | i.e., segment/bus/device/function tuples, with physical slots in | |
294 | the system. If you are unsure, say N. | |
295 | ||
296 | To compile this driver as a module, choose M here: | |
297 | the module will be called pci_slot. | |
8344b568 | 298 | |
1da177e4 | 299 | config X86_PM_TIMER |
e78256b8 | 300 | bool "Power Management Timer Support" if EMBEDDED |
1da177e4 | 301 | depends on X86 |
07fefe4c | 302 | default y |
1da177e4 LT |
303 | help |
304 | The Power Management Timer is available on all ACPI-capable, | |
305 | in most cases even if ACPI is unusable or blacklisted. | |
306 | ||
c73a668c | 307 | This timing source is not affected by power management features |
1da177e4 LT |
308 | like aggressive processor idling, throttling, frequency and/or |
309 | voltage scaling, unlike the commonly used Time Stamp Counter | |
310 | (TSC) timing source. | |
311 | ||
e78256b8 AK |
312 | You should nearly always say Y here because many modern |
313 | systems require this timer. | |
1da177e4 LT |
314 | |
315 | config ACPI_CONTAINER | |
1c48aa36 | 316 | tristate "Container and Module Devices (EXPERIMENTAL)" |
1da177e4 LT |
317 | depends on EXPERIMENTAL |
318 | default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO) | |
1c48aa36 BH |
319 | help |
320 | This driver supports ACPI Container and Module devices (IDs | |
321 | ACPI0004, PNP0A05, and PNP0A06). | |
45b1b196 | 322 | |
1c48aa36 BH |
323 | This helps support hotplug of nodes, CPUs, and memory. |
324 | ||
325 | To compile this driver as a module, choose M here: | |
326 | the module will be called container. | |
1da177e4 LT |
327 | |
328 | config ACPI_HOTPLUG_MEMORY | |
329 | tristate "Memory Hotplug" | |
bc02af93 | 330 | depends on MEMORY_HOTPLUG |
1da177e4 LT |
331 | default n |
332 | help | |
1c48aa36 BH |
333 | This driver supports ACPI memory hotplug. The driver |
334 | fields notifications on ACPI memory devices (PNP0C80), | |
335 | which represent memory ranges that may be onlined or | |
336 | offlined during runtime. | |
1da177e4 | 337 | |
1c48aa36 BH |
338 | If your hardware and firmware do not support adding or |
339 | removing memory devices at runtime, you need not enable | |
340 | this driver. | |
1da177e4 | 341 | |
1c48aa36 BH |
342 | To compile this driver as a module, choose M here: |
343 | the module will be called acpi_memhotplug. | |
3f86b832 RT |
344 | |
345 | config ACPI_SBS | |
94f6c086 | 346 | tristate "Smart Battery System" |
b4150fc4 | 347 | depends on X86 |
3f86b832 | 348 | help |
1c48aa36 | 349 | This driver supports the Smart Battery System, another |
94f6c086 | 350 | type of access to battery information, found on some laptops. |
3f86b832 | 351 | |
1c48aa36 BH |
352 | To compile this driver as a module, choose M here: |
353 | the modules will be called sbs and sbshc. | |
354 | ||
801eab81 HY |
355 | config ACPI_HED |
356 | tristate "Hardware Error Device" | |
357 | help | |
358 | This driver supports the Hardware Error Device (PNP0C33), | |
359 | which is used to report some hardware errors notified via | |
360 | SCI, mainly the corrected errors. | |
361 | ||
a643ce20 HY |
362 | source "drivers/acpi/apei/Kconfig" |
363 | ||
1da177e4 | 364 | endif # ACPI |