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