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