blob: d9d9721dcc915e54021ceba05d11d298530f60e7 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# ACPI Configuration
3#
4
5menu "ACPI (Advanced Configuration and Power Interface) Support"
Len Browndb5034222007-02-02 21:05:04 -05006 depends on !X86_NUMAQ
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 depends on !X86_VISWS
8 depends on !IA64_HP_SIM
9 depends on IA64 || X86
Robert P. J. Day9327f462007-03-04 13:17:43 -050010 depends on PM
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
12config ACPI
13 bool "ACPI Support"
14 depends on IA64 || X86
Adrian Bunk13001242006-03-28 17:04:00 -050015 depends on PCI
Andrew Morton6796a122006-12-19 12:56:13 -080016 depends on PM
Len Brown243b66e2007-02-15 22:34:36 -050017 select PNP
Linus Torvalds1da177e2005-04-16 15:20:36 -070018 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
Len Brown3e11c3c2005-05-27 04:53:27 -040047if ACPI
48
Linus Torvalds1da177e2005-04-16 15:20:36 -070049config ACPI_SLEEP
Len Brownbfea6c22005-08-25 12:15:11 -040050 bool "Sleep States"
Li Shaohua5a72e042005-06-25 14:55:06 -070051 depends on X86 && (!SMP || SUSPEND_SMP)
Len Brownbfea6c22005-08-25 12:15:11 -040052 depends on PM
Linus Torvalds1da177e2005-04-16 15:20:36 -070053 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
70config ACPI_SLEEP_PROC_FS
71 bool
72 depends on ACPI_SLEEP && PROC_FS
73 default y
74
Len Brownebb6e1a62005-04-14 23:12:56 -040075config 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
Zhang Ruib981c592007-01-29 11:02:30 +080083config ACPI_PROCFS
84 bool "Procfs interface (deprecated)"
85 depends on ACPI
86 default y
87 ---help---
88 Procfs interface for ACPI is made optional for back-compatible.
89 As the same functions are duplicated in sysfs interface
90 and this proc interface will be removed some time later,
91 it's marked as deprecated.
Zhang Rui219c3c82007-01-29 11:02:38 +080092 ( /proc/acpi/debug_layer && debug_level are deprecated by
Zhang Rui5bb730f2007-01-29 11:02:42 +080093 /sys/module/acpi/parameters/debug_layer && debug_level.
94 /proc/acpi/info is deprecated by
95 /sys/module/acpi/parameters/acpica_version )
Zhang Ruib981c592007-01-29 11:02:30 +080096
Linus Torvalds1da177e2005-04-16 15:20:36 -070097config ACPI_AC
98 tristate "AC Adapter"
99 depends on X86
Len Brown07fefe42005-08-25 12:22:04 -0400100 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101 help
102 This driver adds support for the AC Adapter object, which indicates
Len Brown07fefe42005-08-25 12:22:04 -0400103 whether a system is on AC, or not. If you have a system that can
104 switch between A/C and battery, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105
106config ACPI_BATTERY
107 tristate "Battery"
108 depends on X86
Len Brown07fefe42005-08-25 12:22:04 -0400109 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110 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
115config ACPI_BUTTON
116 tristate "Button"
Dmitry Torokhovc0968f02006-11-09 00:40:13 -0500117 depends on INPUT
Len Brown07fefe42005-08-25 12:22:04 -0400118 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119 help
Len Brown07fefe42005-08-25 12:22:04 -0400120 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.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124
125config ACPI_VIDEO
126 tristate "Video"
Yu Luming2f3d0002006-11-11 02:40:34 +0800127 depends on X86 && BACKLIGHT_CLASS_DEVICE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128 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
137config ACPI_FAN
138 tristate "Fan"
Len Brown07fefe42005-08-25 12:22:04 -0400139 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700140 help
141 This driver adds support for ACPI fan devices, allowing user-mode
142 applications to perform basic fan control (on, off, status).
143
Len Brownc8f7a622006-07-09 17:22:28 -0400144config ACPI_DOCK
145 tristate "Dock"
Len Brown8d7bff62006-07-09 22:09:57 -0400146 depends on EXPERIMENTAL
Len Brownc8f7a622006-07-09 17:22:28 -0400147 help
148 This driver adds support for ACPI controlled docking stations
149
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -0700150config ACPI_BAY
Len Brown0ed1e382007-02-02 22:39:16 -0500151 tristate "Removable Drive Bay (EXPERIMENTAL)"
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -0700152 depends on EXPERIMENTAL
Kristen Carlson Accardib1a316f2007-02-28 20:13:17 -0800153 depends on ACPI_DOCK
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -0700154 help
155 This driver adds support for ACPI controlled removable drive
156 bays such as the IBM ultrabay or the Dell Module Bay.
157
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158config ACPI_PROCESSOR
159 tristate "Processor"
Len Brown07fefe42005-08-25 12:22:04 -0400160 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161 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
Len Brown07fefe42005-08-25 12:22:04 -0400164 support it. It is required by several flavors of cpufreq
165 Performance-state drivers.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166
167config ACPI_HOTPLUG_CPU
Adrian Bunkcbfc1ba2005-07-30 04:18:00 -0400168 bool
169 depends on ACPI_PROCESSOR && HOTPLUG_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170 select ACPI_CONTAINER
Adrian Bunkcbfc1ba2005-07-30 04:18:00 -0400171 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172
173config ACPI_THERMAL
174 tristate "Thermal Zone"
175 depends on ACPI_PROCESSOR
Len Brown07fefe42005-08-25 12:22:04 -0400176 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177 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
183config ACPI_NUMA
184 bool "NUMA support"
185 depends on NUMA
Yasunori Goto762834e2006-06-23 02:03:19 -0700186 depends on (X86 || IA64)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700187 default y if IA64_GENERIC || IA64_SGI_SN2
188
189config ACPI_ASUS
190 tristate "ASUS/Medion Laptop Extras"
191 depends on X86
Holger Macht2039a6e2006-10-20 14:30:29 -0700192 select BACKLIGHT_CLASS_DEVICE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700193 ---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.
Corentin Chary85091b72007-01-26 14:04:30 +0100205
Linus Torvalds1da177e2005-04-16 15:20:36 -0700206 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.
Corentin Chary85091b72007-01-26 14:04:30 +0100209
Linus Torvalds1da177e2005-04-16 15:20:36 -0700210 More information and a userspace daemon for handling the extra buttons
211 at <http://sourceforge.net/projects/acpi4asus/>.
Corentin Chary85091b72007-01-26 14:04:30 +0100212
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213 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
Corentin Chary85091b72007-01-26 14:04:30 +0100216 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700221config ACPI_IBM
222 tristate "IBM ThinkPad Laptop Extras"
223 depends on X86
Holger Macht8acb0252006-10-20 14:30:28 -0700224 select BACKLIGHT_CLASS_DEVICE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225 ---help---
226 This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
227 support for Fn-Fx key combinations, Bluetooth control, video
228 output switching, ThinkLight control, UltraBay eject and more.
229 For more information about this driver see <file:Documentation/ibm-acpi.txt>
230 and <http://ibm-acpi.sf.net/> .
231
232 If you have an IBM ThinkPad laptop, say Y or M here.
233
Kristen Accardi63e5f242006-02-23 17:56:06 -0800234config ACPI_IBM_DOCK
235 bool "Legacy Docking Station Support"
236 depends on ACPI_IBM
Len Brown8d7bff62006-07-09 22:09:57 -0400237 depends on ACPI_DOCK=n
Kristen Accardi63e5f242006-02-23 17:56:06 -0800238 default n
239 ---help---
240 Allows the ibm_acpi driver to handle docking station events.
241 This support is obsoleted by CONFIG_HOTPLUG_PCI_ACPI. It will
242 allow locking and removing the laptop from the docking station,
243 but will not properly connect PCI devices.
244
245 If you are not sure, say N here.
246
Henrique de Moraes Holschuh2bc808a2007-02-21 13:05:38 -0200247config ACPI_IBM_BAY
248 bool "Legacy Removable Bay Support"
249 depends on ACPI_IBM
250 default y
251 ---help---
252 Allows the ibm_acpi driver to handle removable bays. It will allow
253 disabling the device in the bay, and also generate notifications when
254 the bay lever is ejected or inserted.
255
256 If you are not sure, say Y here.
257
Linus Torvalds1da177e2005-04-16 15:20:36 -0700258config ACPI_TOSHIBA
259 tristate "Toshiba Laptop Extras"
260 depends on X86
Holger Machtc9263552006-10-20 14:30:29 -0700261 select BACKLIGHT_CLASS_DEVICE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700262 ---help---
263 This driver adds support for access to certain system settings
264 on "legacy free" Toshiba laptops. These laptops can be recognized by
265 their lack of a BIOS setup menu and APM support.
266
267 On these machines, all system configuration is handled through the
268 ACPI. This driver is required for access to controls not covered
269 by the general ACPI drivers, such as LCD brightness, video output,
270 etc.
271
272 This driver differs from the non-ACPI Toshiba laptop driver (located
273 under "Processor type and features") in several aspects.
274 Configuration is accessed by reading and writing text files in the
275 /proc tree instead of by program interface to /dev. Furthermore, no
276 power management functions are exposed, as those are handled by the
277 general ACPI drivers.
278
279 More information about this driver is available at
280 <http://memebeam.org/toys/ToshibaAcpiDriver>.
281
282 If you have a legacy free Toshiba laptop (such as the Libretto L1
283 series), say Y.
284
285config ACPI_CUSTOM_DSDT
286 bool "Include Custom DSDT"
287 depends on !STANDALONE
288 default n
289 help
Matt LaPlantec73a6682006-10-03 22:24:43 +0200290 This option is to load a custom ACPI DSDT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291 If you don't know what that is, say N.
292
293config ACPI_CUSTOM_DSDT_FILE
294 string "Custom DSDT Table file to include"
295 depends on ACPI_CUSTOM_DSDT
296 default ""
297 help
Uwe Zeisbergerc30fe7f2006-03-24 18:23:14 +0100298 Enter the full path name to the file which includes the AmlCode
299 declaration.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700300
301config ACPI_BLACKLIST_YEAR
Andi Kleen2eb1bdb2006-02-26 04:18:43 +0100302 int "Disable ACPI for systems before Jan 1st this year" if X86_32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700303 default 0
304 help
305 enter a 4-digit year, eg. 2001 to disable ACPI by default
306 on platforms with DMI BIOS date before January 1st that year.
307 "acpi=force" can be used to override this mechanism.
308
309 Enter 0 to disable this mechanism and allow ACPI to
310 run by default no matter what the year. (default)
311
312config ACPI_DEBUG
313 bool "Debug Statements"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700314 default n
315 help
316 The ACPI driver can optionally report errors with a great deal
317 of verbosity. Saying Y enables these statements. This will increase
318 your kernel size by around 50K.
319
Linus Torvalds1da177e2005-04-16 15:20:36 -0700320config ACPI_EC
321 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700322 default y
323 help
324 This driver is required on some systems for the proper operation of
325 the battery and thermal drivers. If you are compiling for a
326 mobile system, say Y.
327
328config ACPI_POWER
329 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700330 default y
331
Linus Torvalds1da177e2005-04-16 15:20:36 -0700332config ACPI_SYSTEM
333 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700334 default y
335 help
336 This driver will enable your system to shut down using ACPI, and
337 dump your ACPI DSDT table using /proc/acpi/dsdt.
338
Linus Torvalds1da177e2005-04-16 15:20:36 -0700339config X86_PM_TIMER
Andi Kleene78256b2006-02-26 04:18:37 +0100340 bool "Power Management Timer Support" if EMBEDDED
Linus Torvalds1da177e2005-04-16 15:20:36 -0700341 depends on X86
Len Brown07fefe42005-08-25 12:22:04 -0400342 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700343 help
344 The Power Management Timer is available on all ACPI-capable,
345 in most cases even if ACPI is unusable or blacklisted.
346
Matt LaPlantec73a6682006-10-03 22:24:43 +0200347 This timing source is not affected by power management features
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348 like aggressive processor idling, throttling, frequency and/or
349 voltage scaling, unlike the commonly used Time Stamp Counter
350 (TSC) timing source.
351
Andi Kleene78256b2006-02-26 04:18:37 +0100352 You should nearly always say Y here because many modern
353 systems require this timer.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700354
355config ACPI_CONTAINER
356 tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
357 depends on EXPERIMENTAL
358 default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
359 ---help---
Keiichiro Tokunaga45b1b192005-03-02 00:00:00 -0500360 This allows _physical_ insertion and removal of CPUs and memory.
361 This can be useful, for example, on NUMA machines that support
362 ACPI based physical hotplug of nodes, or non-NUMA machines that
363 support physical cpu/memory hot-plug.
364
365 If one selects "m", this driver can be loaded with
366 "modprobe acpi_container".
Linus Torvalds1da177e2005-04-16 15:20:36 -0700367
368config ACPI_HOTPLUG_MEMORY
369 tristate "Memory Hotplug"
370 depends on ACPI
Yasunori Gotobc02af92006-06-27 02:53:30 -0700371 depends on MEMORY_HOTPLUG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700372 default n
373 help
374 This driver adds supports for ACPI Memory Hotplug. This driver
375 provides support for fielding notifications on ACPI memory
376 devices (PNP0C80) which represent memory ranges that may be
377 onlined or offlined during runtime.
378
379 Enabling this driver assumes that your platform hardware
380 and firmware have support for hot-plugging physical memory. If
381 your system does not support physically adding or ripping out
Matt LaPlantec73a6682006-10-03 22:24:43 +0200382 memory DIMMs at some platform defined granularity (individually
Linus Torvalds1da177e2005-04-16 15:20:36 -0700383 or as a bank) at runtime, then you need not enable this driver.
384
385 If one selects "m," this driver can be loaded using the following
386 command:
387 $>modprobe acpi_memhotplug
Rich Townsend3f86b832006-07-01 11:36:54 -0400388
389config ACPI_SBS
390 tristate "Smart Battery System (EXPERIMENTAL)"
Vladimir Lebedevb4150fc2007-03-19 17:45:50 +0300391 depends on X86
Rich Townsend3f86b832006-07-01 11:36:54 -0400392 depends on EXPERIMENTAL
Rich Townsend3f86b832006-07-01 11:36:54 -0400393 help
394 This driver adds support for the Smart Battery System.
Rich Townsend3f86b832006-07-01 11:36:54 -0400395 A "Smart Battery" is quite old and quite rare compared
396 to today's ACPI "Control Method" battery.
397
Linus Torvalds1da177e2005-04-16 15:20:36 -0700398endif # ACPI
399
400endmenu