blob: a02e2f58219c3a39537f9d707304dda2c553e834 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# ACPI Configuration
3#
4
Jan Engelhardt3f2c48c2007-07-03 01:40:59 -04005menuconfig ACPI
6 bool "ACPI Support (Advanced Configuration and Power Interface) Support"
Len Browndb5034222007-02-02 21:05:04 -05007 depends on !X86_NUMAQ
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 depends on !X86_VISWS
9 depends on !IA64_HP_SIM
10 depends on IA64 || X86
Adrian Bunk13001242006-03-28 17:04:00 -050011 depends on PCI
Andrew Morton6796a122006-12-19 12:56:13 -080012 depends on PM
Len Brown243b66e2007-02-15 22:34:36 -050013 select PNP
Linus Torvalds1da177e2005-04-16 15:20:36 -070014 default y
15 ---help---
16 Advanced Configuration and Power Interface (ACPI) support for
17 Linux requires an ACPI compliant platform (hardware/firmware),
18 and assumes the presence of OS-directed configuration and power
19 management (OSPM) software. This option will enlarge your
20 kernel by about 70K.
21
22 Linux ACPI provides a robust functional replacement for several
23 legacy configuration and power management interfaces, including
24 the Plug-and-Play BIOS specification (PnP BIOS), the
25 MultiProcessor Specification (MPS), and the Advanced Power
26 Management (APM) specification. If both ACPI and APM support
27 are configured, whichever is loaded first shall be used.
28
29 The ACPI SourceForge project contains the latest source code,
30 documentation, tools, mailing list subscription, and other
31 information. This project is available at:
32 <http://sourceforge.net/projects/acpi>
33
34 Linux support for ACPI is based on Intel Corporation's ACPI
35 Component Architecture (ACPI CA). For more information see:
36 <http://developer.intel.com/technology/iapc/acpi>
37
38 ACPI is an open industry specification co-developed by Compaq,
39 Intel, Microsoft, Phoenix, and Toshiba. The specification is
40 available at:
41 <http://www.acpi.info>
42
Len Brown3e11c3c2005-05-27 04:53:27 -040043if ACPI
44
Linus Torvalds1da177e2005-04-16 15:20:36 -070045config ACPI_SLEEP
Len Brownbfea6c22005-08-25 12:15:11 -040046 bool "Sleep States"
Li Shaohua5a72e042005-06-25 14:55:06 -070047 depends on X86 && (!SMP || SUSPEND_SMP)
Linus Torvalds1da177e2005-04-16 15:20:36 -070048 default y
49 ---help---
50 This option adds support for ACPI suspend states.
51
52 With this option, you will be able to put the system "to sleep".
53 Sleep states are low power states for the system and devices. All
54 of the system operating state is saved to either memory or disk
55 (depending on the state), to allow the system to resume operation
56 quickly at your request.
57
58 Although this option sounds really nifty, barely any of the device
59 drivers have been converted to the new driver model and hence few
60 have proper power management support.
61
62 This option is not recommended for anyone except those doing driver
63 power management development.
64
65config ACPI_SLEEP_PROC_FS
66 bool
67 depends on ACPI_SLEEP && PROC_FS
68 default y
69
Len Brownebb6e1a62005-04-14 23:12:56 -040070config ACPI_SLEEP_PROC_SLEEP
71 bool "/proc/acpi/sleep (deprecated)"
72 depends on ACPI_SLEEP_PROC_FS
73 default n
74 ---help---
75 Create /proc/acpi/sleep
76 Deprecated by /sys/power/state
77
Zhang Ruib981c592007-01-29 11:02:30 +080078config ACPI_PROCFS
79 bool "Procfs interface (deprecated)"
Zhang Ruib981c592007-01-29 11:02:30 +080080 default y
81 ---help---
Borislav Petkovcf6c6042007-04-25 14:29:50 -040082 The Procfs interface for ACPI is made optional for backward compatibility.
83 As the same functions are duplicated in the sysfs interface
Zhang Ruib981c592007-01-29 11:02:30 +080084 and this proc interface will be removed some time later,
85 it's marked as deprecated.
Zhang Rui219c3c82007-01-29 11:02:38 +080086 ( /proc/acpi/debug_layer && debug_level are deprecated by
Zhang Rui5bb730f2007-01-29 11:02:42 +080087 /sys/module/acpi/parameters/debug_layer && debug_level.
88 /proc/acpi/info is deprecated by
89 /sys/module/acpi/parameters/acpica_version )
Zhang Ruib981c592007-01-29 11:02:30 +080090
Linus Torvalds1da177e2005-04-16 15:20:36 -070091config ACPI_AC
92 tristate "AC Adapter"
93 depends on X86
Len Brown07fefe42005-08-25 12:22:04 -040094 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -070095 help
96 This driver adds support for the AC Adapter object, which indicates
Len Brown07fefe42005-08-25 12:22:04 -040097 whether a system is on AC, or not. If you have a system that can
98 switch between A/C and battery, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -070099
100config ACPI_BATTERY
101 tristate "Battery"
102 depends on X86
Len Brown07fefe42005-08-25 12:22:04 -0400103 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104 help
105 This driver adds support for battery information through
106 /proc/acpi/battery. If you have a mobile system with a battery,
107 say Y.
108
109config ACPI_BUTTON
110 tristate "Button"
Dmitry Torokhovc0968f02006-11-09 00:40:13 -0500111 depends on INPUT
Len Brown07fefe42005-08-25 12:22:04 -0400112 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113 help
Len Brown07fefe42005-08-25 12:22:04 -0400114 This driver handles events on the power, sleep and lid buttons.
115 A daemon reads /proc/acpi/event and perform user-defined actions
116 such as shutting down the system. This is necessary for
117 software controlled poweroff.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700118
119config ACPI_VIDEO
120 tristate "Video"
Yu Luming2f3d0002006-11-11 02:40:34 +0800121 depends on X86 && BACKLIGHT_CLASS_DEVICE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700122 help
123 This driver implement the ACPI Extensions For Display Adapters
124 for integrated graphics devices on motherboard, as specified in
125 ACPI 2.0 Specification, Appendix B, allowing to perform some basic
126 control like defining the video POST device, retrieving EDID information
127 or to setup a video output, etc.
128 Note that this is an ref. implementation only. It may or may not work
129 for your integrated video device.
130
131config ACPI_FAN
132 tristate "Fan"
Len Brown07fefe42005-08-25 12:22:04 -0400133 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700134 help
135 This driver adds support for ACPI fan devices, allowing user-mode
136 applications to perform basic fan control (on, off, status).
137
Len Brownc8f7a622006-07-09 17:22:28 -0400138config ACPI_DOCK
139 tristate "Dock"
Len Brown8d7bff62006-07-09 22:09:57 -0400140 depends on EXPERIMENTAL
Len Brownc8f7a622006-07-09 17:22:28 -0400141 help
142 This driver adds support for ACPI controlled docking stations
143
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -0700144config ACPI_BAY
Len Brown0ed1e382007-02-02 22:39:16 -0500145 tristate "Removable Drive Bay (EXPERIMENTAL)"
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -0700146 depends on EXPERIMENTAL
Kristen Carlson Accardib1a316f2007-02-28 20:13:17 -0800147 depends on ACPI_DOCK
Kristen Carlson Accardi01b57e72006-10-20 14:30:25 -0700148 help
149 This driver adds support for ACPI controlled removable drive
150 bays such as the IBM ultrabay or the Dell Module Bay.
151
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152config ACPI_PROCESSOR
153 tristate "Processor"
Len Brown07fefe42005-08-25 12:22:04 -0400154 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155 help
156 This driver installs ACPI as the idle handler for Linux, and uses
157 ACPI C2 and C3 processor states to save power, on systems that
Len Brown07fefe42005-08-25 12:22:04 -0400158 support it. It is required by several flavors of cpufreq
159 Performance-state drivers.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700160
161config ACPI_HOTPLUG_CPU
Adrian Bunkcbfc1ba2005-07-30 04:18:00 -0400162 bool
163 depends on ACPI_PROCESSOR && HOTPLUG_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164 select ACPI_CONTAINER
Adrian Bunkcbfc1ba2005-07-30 04:18:00 -0400165 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166
167config ACPI_THERMAL
168 tristate "Thermal Zone"
169 depends on ACPI_PROCESSOR
Len Brown07fefe42005-08-25 12:22:04 -0400170 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171 help
172 This driver adds support for ACPI thermal zones. Most mobile and
173 some desktop systems support ACPI thermal zones. It is HIGHLY
174 recommended that this option be enabled, as your processor(s)
175 may be damaged without it.
176
177config ACPI_NUMA
178 bool "NUMA support"
179 depends on NUMA
Yasunori Goto762834e2006-06-23 02:03:19 -0700180 depends on (X86 || IA64)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181 default y if IA64_GENERIC || IA64_SGI_SN2
182
183config ACPI_ASUS
184 tristate "ASUS/Medion Laptop Extras"
185 depends on X86
Holger Macht2039a6e2006-10-20 14:30:29 -0700186 select BACKLIGHT_CLASS_DEVICE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700187 ---help---
188 This driver provides support for extra features of ACPI-compatible
189 ASUS laptops. As some of Medion laptops are made by ASUS, it may also
190 support some Medion laptops (such as 9675 for example). It makes all
191 the extra buttons generate standard ACPI events that go through
192 /proc/acpi/events, and (on some models) adds support for changing the
193 display brightness and output, switching the LCD backlight on and off,
194 and most importantly, allows you to blink those fancy LEDs intended
195 for reporting mail and wireless status.
196
197 Note: display switching code is currently considered EXPERIMENTAL,
198 toying with these values may even lock your machine.
Corentin Chary85091b72007-01-26 14:04:30 +0100199
Linus Torvalds1da177e2005-04-16 15:20:36 -0700200 All settings are changed via /proc/acpi/asus directory entries. Owner
201 and group for these entries can be set with asus_uid and asus_gid
202 parameters.
Corentin Chary85091b72007-01-26 14:04:30 +0100203
Linus Torvalds1da177e2005-04-16 15:20:36 -0700204 More information and a userspace daemon for handling the extra buttons
205 at <http://sourceforge.net/projects/acpi4asus/>.
Corentin Chary85091b72007-01-26 14:04:30 +0100206
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207 If you have an ACPI-compatible ASUS laptop, say Y or M here. This
208 driver is still under development, so if your laptop is unsupported or
209 something works not quite as expected, please use the mailing list
Corentin Chary85091b72007-01-26 14:04:30 +0100210 available on the above page (acpi4asus-user@lists.sourceforge.net).
211
212 NOTE: This driver is deprecated and will probably be removed soon,
213 use asus-laptop instead.
214
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215config ACPI_TOSHIBA
216 tristate "Toshiba Laptop Extras"
217 depends on X86
Holger Machtc9263552006-10-20 14:30:29 -0700218 select BACKLIGHT_CLASS_DEVICE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219 ---help---
220 This driver adds support for access to certain system settings
221 on "legacy free" Toshiba laptops. These laptops can be recognized by
222 their lack of a BIOS setup menu and APM support.
223
224 On these machines, all system configuration is handled through the
225 ACPI. This driver is required for access to controls not covered
226 by the general ACPI drivers, such as LCD brightness, video output,
227 etc.
228
229 This driver differs from the non-ACPI Toshiba laptop driver (located
230 under "Processor type and features") in several aspects.
231 Configuration is accessed by reading and writing text files in the
232 /proc tree instead of by program interface to /dev. Furthermore, no
233 power management functions are exposed, as those are handled by the
234 general ACPI drivers.
235
236 More information about this driver is available at
237 <http://memebeam.org/toys/ToshibaAcpiDriver>.
238
239 If you have a legacy free Toshiba laptop (such as the Libretto L1
240 series), say Y.
241
242config ACPI_CUSTOM_DSDT
243 bool "Include Custom DSDT"
244 depends on !STANDALONE
245 default n
246 help
Matt LaPlantec73a6682006-10-03 22:24:43 +0200247 This option is to load a custom ACPI DSDT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700248 If you don't know what that is, say N.
249
250config ACPI_CUSTOM_DSDT_FILE
251 string "Custom DSDT Table file to include"
252 depends on ACPI_CUSTOM_DSDT
253 default ""
254 help
Uwe Zeisbergerc30fe7f2006-03-24 18:23:14 +0100255 Enter the full path name to the file which includes the AmlCode
256 declaration.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257
258config ACPI_BLACKLIST_YEAR
Andi Kleen2eb1bdb2006-02-26 04:18:43 +0100259 int "Disable ACPI for systems before Jan 1st this year" if X86_32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700260 default 0
261 help
262 enter a 4-digit year, eg. 2001 to disable ACPI by default
263 on platforms with DMI BIOS date before January 1st that year.
264 "acpi=force" can be used to override this mechanism.
265
266 Enter 0 to disable this mechanism and allow ACPI to
267 run by default no matter what the year. (default)
268
269config ACPI_DEBUG
270 bool "Debug Statements"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700271 default n
272 help
273 The ACPI driver can optionally report errors with a great deal
274 of verbosity. Saying Y enables these statements. This will increase
275 your kernel size by around 50K.
276
Linus Torvalds1da177e2005-04-16 15:20:36 -0700277config ACPI_EC
278 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700279 default y
280 help
281 This driver is required on some systems for the proper operation of
282 the battery and thermal drivers. If you are compiling for a
283 mobile system, say Y.
284
285config ACPI_POWER
286 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700287 default y
288
Linus Torvalds1da177e2005-04-16 15:20:36 -0700289config ACPI_SYSTEM
290 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291 default y
292 help
293 This driver will enable your system to shut down using ACPI, and
294 dump your ACPI DSDT table using /proc/acpi/dsdt.
295
Linus Torvalds1da177e2005-04-16 15:20:36 -0700296config X86_PM_TIMER
Andi Kleene78256b2006-02-26 04:18:37 +0100297 bool "Power Management Timer Support" if EMBEDDED
Linus Torvalds1da177e2005-04-16 15:20:36 -0700298 depends on X86
Len Brown07fefe42005-08-25 12:22:04 -0400299 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700300 help
301 The Power Management Timer is available on all ACPI-capable,
302 in most cases even if ACPI is unusable or blacklisted.
303
Matt LaPlantec73a6682006-10-03 22:24:43 +0200304 This timing source is not affected by power management features
Linus Torvalds1da177e2005-04-16 15:20:36 -0700305 like aggressive processor idling, throttling, frequency and/or
306 voltage scaling, unlike the commonly used Time Stamp Counter
307 (TSC) timing source.
308
Andi Kleene78256b2006-02-26 04:18:37 +0100309 You should nearly always say Y here because many modern
310 systems require this timer.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700311
312config ACPI_CONTAINER
313 tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
314 depends on EXPERIMENTAL
315 default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
316 ---help---
Keiichiro Tokunaga45b1b192005-03-02 00:00:00 -0500317 This allows _physical_ insertion and removal of CPUs and memory.
318 This can be useful, for example, on NUMA machines that support
319 ACPI based physical hotplug of nodes, or non-NUMA machines that
320 support physical cpu/memory hot-plug.
321
322 If one selects "m", this driver can be loaded with
323 "modprobe acpi_container".
Linus Torvalds1da177e2005-04-16 15:20:36 -0700324
325config ACPI_HOTPLUG_MEMORY
326 tristate "Memory Hotplug"
Yasunori Gotobc02af92006-06-27 02:53:30 -0700327 depends on MEMORY_HOTPLUG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700328 default n
329 help
330 This driver adds supports for ACPI Memory Hotplug. This driver
331 provides support for fielding notifications on ACPI memory
332 devices (PNP0C80) which represent memory ranges that may be
333 onlined or offlined during runtime.
334
335 Enabling this driver assumes that your platform hardware
336 and firmware have support for hot-plugging physical memory. If
337 your system does not support physically adding or ripping out
Matt LaPlantec73a6682006-10-03 22:24:43 +0200338 memory DIMMs at some platform defined granularity (individually
Linus Torvalds1da177e2005-04-16 15:20:36 -0700339 or as a bank) at runtime, then you need not enable this driver.
340
341 If one selects "m," this driver can be loaded using the following
342 command:
343 $>modprobe acpi_memhotplug
Rich Townsend3f86b832006-07-01 11:36:54 -0400344
345config ACPI_SBS
346 tristate "Smart Battery System (EXPERIMENTAL)"
Vladimir Lebedevb4150fc2007-03-19 17:45:50 +0300347 depends on X86
Rich Townsend3f86b832006-07-01 11:36:54 -0400348 depends on EXPERIMENTAL
Rich Townsend3f86b832006-07-01 11:36:54 -0400349 help
350 This driver adds support for the Smart Battery System.
Rich Townsend3f86b832006-07-01 11:36:54 -0400351 A "Smart Battery" is quite old and quite rare compared
352 to today's ACPI "Control Method" battery.
353
Linus Torvalds1da177e2005-04-16 15:20:36 -0700354endif # ACPI