]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # ACPI Configuration | |
3 | # | |
4 | ||
5 | menu "ACPI (Advanced Configuration and Power Interface) Support" | |
db503422 | 6 | depends on !X86_NUMAQ |
1da177e4 LT |
7 | depends on !X86_VISWS |
8 | depends on !IA64_HP_SIM | |
9 | depends on IA64 || X86 | |
9327f46e | 10 | depends on PM |
1da177e4 LT |
11 | |
12 | config ACPI | |
13 | bool "ACPI Support" | |
14 | depends on IA64 || X86 | |
1300124f | 15 | depends on PCI |
6796a120 | 16 | depends on PM |
243b66e7 | 17 | select PNP |
1da177e4 LT |
18 | default y |
19 | ---help--- | |
20 | Advanced Configuration and Power Interface (ACPI) support for | |
21 | Linux requires an ACPI compliant platform (hardware/firmware), | |
22 | and assumes the presence of OS-directed configuration and power | |
23 | management (OSPM) software. This option will enlarge your | |
24 | kernel by about 70K. | |
25 | ||
26 | Linux ACPI provides a robust functional replacement for several | |
27 | legacy configuration and power management interfaces, including | |
28 | the Plug-and-Play BIOS specification (PnP BIOS), the | |
29 | MultiProcessor Specification (MPS), and the Advanced Power | |
30 | Management (APM) specification. If both ACPI and APM support | |
31 | are configured, whichever is loaded first shall be used. | |
32 | ||
33 | The ACPI SourceForge project contains the latest source code, | |
34 | documentation, tools, mailing list subscription, and other | |
35 | information. This project is available at: | |
36 | <http://sourceforge.net/projects/acpi> | |
37 | ||
38 | Linux support for ACPI is based on Intel Corporation's ACPI | |
39 | Component Architecture (ACPI CA). For more information see: | |
40 | <http://developer.intel.com/technology/iapc/acpi> | |
41 | ||
42 | ACPI is an open industry specification co-developed by Compaq, | |
43 | Intel, Microsoft, Phoenix, and Toshiba. The specification is | |
44 | available at: | |
45 | <http://www.acpi.info> | |
46 | ||
3e11c3ce LB |
47 | if ACPI |
48 | ||
1da177e4 | 49 | config ACPI_SLEEP |
bfea6c2a | 50 | bool "Sleep States" |
5a72e04d | 51 | depends on X86 && (!SMP || SUSPEND_SMP) |
bfea6c2a | 52 | depends on PM |
1da177e4 LT |
53 | default y |
54 | ---help--- | |
55 | This option adds support for ACPI suspend states. | |
56 | ||
57 | With this option, you will be able to put the system "to sleep". | |
58 | Sleep states are low power states for the system and devices. All | |
59 | of the system operating state is saved to either memory or disk | |
60 | (depending on the state), to allow the system to resume operation | |
61 | quickly at your request. | |
62 | ||
63 | Although this option sounds really nifty, barely any of the device | |
64 | drivers have been converted to the new driver model and hence few | |
65 | have proper power management support. | |
66 | ||
67 | This option is not recommended for anyone except those doing driver | |
68 | power management development. | |
69 | ||
70 | config ACPI_SLEEP_PROC_FS | |
71 | bool | |
72 | depends on ACPI_SLEEP && PROC_FS | |
73 | default y | |
74 | ||
ebb6e1a6 LB |
75 | config ACPI_SLEEP_PROC_SLEEP |
76 | bool "/proc/acpi/sleep (deprecated)" | |
77 | depends on ACPI_SLEEP_PROC_FS | |
78 | default n | |
79 | ---help--- | |
80 | Create /proc/acpi/sleep | |
81 | Deprecated by /sys/power/state | |
82 | ||
b981c591 ZR |
83 | config ACPI_PROCFS |
84 | bool "Procfs interface (deprecated)" | |
85 | depends on ACPI | |
86 | default y | |
87 | ---help--- | |
cf6c6045 BP |
88 | The Procfs interface for ACPI is made optional for backward compatibility. |
89 | As the same functions are duplicated in the sysfs interface | |
b981c591 ZR |
90 | and this proc interface will be removed some time later, |
91 | it's marked as deprecated. | |
219c3c8e | 92 | ( /proc/acpi/debug_layer && debug_level are deprecated by |
5bb730fd ZR |
93 | /sys/module/acpi/parameters/debug_layer && debug_level. |
94 | /proc/acpi/info is deprecated by | |
95 | /sys/module/acpi/parameters/acpica_version ) | |
b981c591 | 96 | |
1da177e4 LT |
97 | config ACPI_AC |
98 | tristate "AC Adapter" | |
99 | depends on X86 | |
07fefe4c | 100 | default y |
1da177e4 LT |
101 | help |
102 | This driver adds support for the AC Adapter object, which indicates | |
07fefe4c LB |
103 | whether a system is on AC, or not. If you have a system that can |
104 | switch between A/C and battery, say Y. | |
1da177e4 LT |
105 | |
106 | config ACPI_BATTERY | |
107 | tristate "Battery" | |
108 | depends on X86 | |
07fefe4c | 109 | default y |
1da177e4 LT |
110 | help |
111 | This driver adds support for battery information through | |
112 | /proc/acpi/battery. If you have a mobile system with a battery, | |
113 | say Y. | |
114 | ||
115 | config ACPI_BUTTON | |
116 | tristate "Button" | |
c0968f0e | 117 | depends on INPUT |
07fefe4c | 118 | default y |
1da177e4 | 119 | help |
07fefe4c LB |
120 | This driver handles events on the power, sleep and lid buttons. |
121 | A daemon reads /proc/acpi/event and perform user-defined actions | |
122 | such as shutting down the system. This is necessary for | |
123 | software controlled poweroff. | |
1da177e4 LT |
124 | |
125 | config ACPI_VIDEO | |
126 | tristate "Video" | |
2f3d000a | 127 | depends on X86 && BACKLIGHT_CLASS_DEVICE |
1da177e4 LT |
128 | help |
129 | This driver implement the ACPI Extensions For Display Adapters | |
130 | for integrated graphics devices on motherboard, as specified in | |
131 | ACPI 2.0 Specification, Appendix B, allowing to perform some basic | |
132 | control like defining the video POST device, retrieving EDID information | |
133 | or to setup a video output, etc. | |
134 | Note that this is an ref. implementation only. It may or may not work | |
135 | for your integrated video device. | |
136 | ||
137 | config ACPI_FAN | |
138 | tristate "Fan" | |
07fefe4c | 139 | default y |
1da177e4 LT |
140 | help |
141 | This driver adds support for ACPI fan devices, allowing user-mode | |
142 | applications to perform basic fan control (on, off, status). | |
143 | ||
c8f7a62c LB |
144 | config ACPI_DOCK |
145 | tristate "Dock" | |
8d7bff6c | 146 | depends on EXPERIMENTAL |
c8f7a62c LB |
147 | help |
148 | This driver adds support for ACPI controlled docking stations | |
149 | ||
01b57e73 | 150 | config ACPI_BAY |
0ed1e38d | 151 | tristate "Removable Drive Bay (EXPERIMENTAL)" |
01b57e73 | 152 | depends on EXPERIMENTAL |
b1a316f6 | 153 | depends on ACPI_DOCK |
01b57e73 KCA |
154 | help |
155 | This driver adds support for ACPI controlled removable drive | |
156 | bays such as the IBM ultrabay or the Dell Module Bay. | |
157 | ||
1da177e4 LT |
158 | config ACPI_PROCESSOR |
159 | tristate "Processor" | |
07fefe4c | 160 | default y |
1da177e4 LT |
161 | help |
162 | This driver installs ACPI as the idle handler for Linux, and uses | |
163 | ACPI C2 and C3 processor states to save power, on systems that | |
07fefe4c LB |
164 | support it. It is required by several flavors of cpufreq |
165 | Performance-state drivers. | |
1da177e4 LT |
166 | |
167 | config ACPI_HOTPLUG_CPU | |
cbfc1bae AB |
168 | bool |
169 | depends on ACPI_PROCESSOR && HOTPLUG_CPU | |
1da177e4 | 170 | select ACPI_CONTAINER |
cbfc1bae | 171 | default y |
1da177e4 LT |
172 | |
173 | config ACPI_THERMAL | |
174 | tristate "Thermal Zone" | |
175 | depends on ACPI_PROCESSOR | |
07fefe4c | 176 | default y |
1da177e4 LT |
177 | help |
178 | This driver adds support for ACPI thermal zones. Most mobile and | |
179 | some desktop systems support ACPI thermal zones. It is HIGHLY | |
180 | recommended that this option be enabled, as your processor(s) | |
181 | may be damaged without it. | |
182 | ||
183 | config ACPI_NUMA | |
184 | bool "NUMA support" | |
185 | depends on NUMA | |
762834e8 | 186 | depends on (X86 || IA64) |
1da177e4 LT |
187 | default y if IA64_GENERIC || IA64_SGI_SN2 |
188 | ||
189 | config ACPI_ASUS | |
190 | tristate "ASUS/Medion Laptop Extras" | |
191 | depends on X86 | |
2039a6eb | 192 | select BACKLIGHT_CLASS_DEVICE |
1da177e4 LT |
193 | ---help--- |
194 | This driver provides support for extra features of ACPI-compatible | |
195 | ASUS laptops. As some of Medion laptops are made by ASUS, it may also | |
196 | support some Medion laptops (such as 9675 for example). It makes all | |
197 | the extra buttons generate standard ACPI events that go through | |
198 | /proc/acpi/events, and (on some models) adds support for changing the | |
199 | display brightness and output, switching the LCD backlight on and off, | |
200 | and most importantly, allows you to blink those fancy LEDs intended | |
201 | for reporting mail and wireless status. | |
202 | ||
203 | Note: display switching code is currently considered EXPERIMENTAL, | |
204 | toying with these values may even lock your machine. | |
85091b71 | 205 | |
1da177e4 LT |
206 | All settings are changed via /proc/acpi/asus directory entries. Owner |
207 | and group for these entries can be set with asus_uid and asus_gid | |
208 | parameters. | |
85091b71 | 209 | |
1da177e4 LT |
210 | More information and a userspace daemon for handling the extra buttons |
211 | at <http://sourceforge.net/projects/acpi4asus/>. | |
85091b71 | 212 | |
1da177e4 LT |
213 | If you have an ACPI-compatible ASUS laptop, say Y or M here. This |
214 | driver is still under development, so if your laptop is unsupported or | |
215 | something works not quite as expected, please use the mailing list | |
85091b71 CC |
216 | available on the above page (acpi4asus-user@lists.sourceforge.net). |
217 | ||
218 | NOTE: This driver is deprecated and will probably be removed soon, | |
219 | use asus-laptop instead. | |
220 | ||
1da177e4 LT |
221 | config ACPI_TOSHIBA |
222 | tristate "Toshiba Laptop Extras" | |
223 | depends on X86 | |
c9263557 | 224 | select BACKLIGHT_CLASS_DEVICE |
1da177e4 LT |
225 | ---help--- |
226 | This driver adds support for access to certain system settings | |
227 | on "legacy free" Toshiba laptops. These laptops can be recognized by | |
228 | their lack of a BIOS setup menu and APM support. | |
229 | ||
230 | On these machines, all system configuration is handled through the | |
231 | ACPI. This driver is required for access to controls not covered | |
232 | by the general ACPI drivers, such as LCD brightness, video output, | |
233 | etc. | |
234 | ||
235 | This driver differs from the non-ACPI Toshiba laptop driver (located | |
236 | under "Processor type and features") in several aspects. | |
237 | Configuration is accessed by reading and writing text files in the | |
238 | /proc tree instead of by program interface to /dev. Furthermore, no | |
239 | power management functions are exposed, as those are handled by the | |
240 | general ACPI drivers. | |
241 | ||
242 | More information about this driver is available at | |
243 | <http://memebeam.org/toys/ToshibaAcpiDriver>. | |
244 | ||
245 | If you have a legacy free Toshiba laptop (such as the Libretto L1 | |
246 | series), say Y. | |
247 | ||
248 | config ACPI_CUSTOM_DSDT | |
249 | bool "Include Custom DSDT" | |
250 | depends on !STANDALONE | |
251 | default n | |
252 | help | |
c73a668c | 253 | This option is to load a custom ACPI DSDT |
1da177e4 LT |
254 | If you don't know what that is, say N. |
255 | ||
256 | config ACPI_CUSTOM_DSDT_FILE | |
257 | string "Custom DSDT Table file to include" | |
258 | depends on ACPI_CUSTOM_DSDT | |
259 | default "" | |
260 | help | |
c30fe7f7 UZ |
261 | Enter the full path name to the file which includes the AmlCode |
262 | declaration. | |
1da177e4 LT |
263 | |
264 | config ACPI_BLACKLIST_YEAR | |
2eb1bdba | 265 | int "Disable ACPI for systems before Jan 1st this year" if X86_32 |
1da177e4 LT |
266 | default 0 |
267 | help | |
268 | enter a 4-digit year, eg. 2001 to disable ACPI by default | |
269 | on platforms with DMI BIOS date before January 1st that year. | |
270 | "acpi=force" can be used to override this mechanism. | |
271 | ||
272 | Enter 0 to disable this mechanism and allow ACPI to | |
273 | run by default no matter what the year. (default) | |
274 | ||
275 | config ACPI_DEBUG | |
276 | bool "Debug Statements" | |
1da177e4 LT |
277 | default n |
278 | help | |
279 | The ACPI driver can optionally report errors with a great deal | |
280 | of verbosity. Saying Y enables these statements. This will increase | |
281 | your kernel size by around 50K. | |
282 | ||
1da177e4 LT |
283 | config ACPI_EC |
284 | bool | |
1da177e4 LT |
285 | default y |
286 | help | |
287 | This driver is required on some systems for the proper operation of | |
288 | the battery and thermal drivers. If you are compiling for a | |
289 | mobile system, say Y. | |
290 | ||
291 | config ACPI_POWER | |
292 | bool | |
1da177e4 LT |
293 | default y |
294 | ||
1da177e4 LT |
295 | config ACPI_SYSTEM |
296 | bool | |
1da177e4 LT |
297 | default y |
298 | help | |
299 | This driver will enable your system to shut down using ACPI, and | |
300 | dump your ACPI DSDT table using /proc/acpi/dsdt. | |
301 | ||
1da177e4 | 302 | config X86_PM_TIMER |
e78256b8 | 303 | bool "Power Management Timer Support" if EMBEDDED |
1da177e4 | 304 | depends on X86 |
07fefe4c | 305 | default y |
1da177e4 LT |
306 | help |
307 | The Power Management Timer is available on all ACPI-capable, | |
308 | in most cases even if ACPI is unusable or blacklisted. | |
309 | ||
c73a668c | 310 | This timing source is not affected by power management features |
1da177e4 LT |
311 | like aggressive processor idling, throttling, frequency and/or |
312 | voltage scaling, unlike the commonly used Time Stamp Counter | |
313 | (TSC) timing source. | |
314 | ||
e78256b8 AK |
315 | You should nearly always say Y here because many modern |
316 | systems require this timer. | |
1da177e4 LT |
317 | |
318 | config ACPI_CONTAINER | |
319 | tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)" | |
320 | depends on EXPERIMENTAL | |
321 | default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO) | |
322 | ---help--- | |
45b1b196 KT |
323 | This allows _physical_ insertion and removal of CPUs and memory. |
324 | This can be useful, for example, on NUMA machines that support | |
325 | ACPI based physical hotplug of nodes, or non-NUMA machines that | |
326 | support physical cpu/memory hot-plug. | |
327 | ||
328 | If one selects "m", this driver can be loaded with | |
329 | "modprobe acpi_container". | |
1da177e4 LT |
330 | |
331 | config ACPI_HOTPLUG_MEMORY | |
332 | tristate "Memory Hotplug" | |
333 | depends on ACPI | |
bc02af93 | 334 | depends on MEMORY_HOTPLUG |
1da177e4 LT |
335 | default n |
336 | help | |
337 | This driver adds supports for ACPI Memory Hotplug. This driver | |
338 | provides support for fielding notifications on ACPI memory | |
339 | devices (PNP0C80) which represent memory ranges that may be | |
340 | onlined or offlined during runtime. | |
341 | ||
342 | Enabling this driver assumes that your platform hardware | |
343 | and firmware have support for hot-plugging physical memory. If | |
344 | your system does not support physically adding or ripping out | |
c73a668c | 345 | memory DIMMs at some platform defined granularity (individually |
1da177e4 LT |
346 | or as a bank) at runtime, then you need not enable this driver. |
347 | ||
348 | If one selects "m," this driver can be loaded using the following | |
349 | command: | |
350 | $>modprobe acpi_memhotplug | |
3f86b832 RT |
351 | |
352 | config ACPI_SBS | |
353 | tristate "Smart Battery System (EXPERIMENTAL)" | |
b4150fc4 | 354 | depends on X86 |
3f86b832 | 355 | depends on EXPERIMENTAL |
3f86b832 RT |
356 | help |
357 | This driver adds support for the Smart Battery System. | |
3f86b832 RT |
358 | A "Smart Battery" is quite old and quite rare compared |
359 | to today's ACPI "Control Method" battery. | |
360 | ||
1da177e4 LT |
361 | endif # ACPI |
362 | ||
363 | endmenu |