blob: eded2e81cc1b91db8b60190611a1c0bcd52c4dbd [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 Brownbe914922005-03-18 16:00:29 -05006 depends on PM
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 depends on !X86_VISWS
8 depends on !IA64_HP_SIM
9 depends on IA64 || X86
10
11config ACPI
12 bool "ACPI Support"
13 depends on IA64 || X86
14
15 default y
16 ---help---
17 Advanced Configuration and Power Interface (ACPI) support for
18 Linux requires an ACPI compliant platform (hardware/firmware),
19 and assumes the presence of OS-directed configuration and power
20 management (OSPM) software. This option will enlarge your
21 kernel by about 70K.
22
23 Linux ACPI provides a robust functional replacement for several
24 legacy configuration and power management interfaces, including
25 the Plug-and-Play BIOS specification (PnP BIOS), the
26 MultiProcessor Specification (MPS), and the Advanced Power
27 Management (APM) specification. If both ACPI and APM support
28 are configured, whichever is loaded first shall be used.
29
30 The ACPI SourceForge project contains the latest source code,
31 documentation, tools, mailing list subscription, and other
32 information. This project is available at:
33 <http://sourceforge.net/projects/acpi>
34
35 Linux support for ACPI is based on Intel Corporation's ACPI
36 Component Architecture (ACPI CA). For more information see:
37 <http://developer.intel.com/technology/iapc/acpi>
38
39 ACPI is an open industry specification co-developed by Compaq,
40 Intel, Microsoft, Phoenix, and Toshiba. The specification is
41 available at:
42 <http://www.acpi.info>
43
Len Brown3e11c3c2005-05-27 04:53:27 -040044if ACPI
45
Linus Torvalds1da177e2005-04-16 15:20:36 -070046config ACPI_BOOT
47 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070048 default y
49
Linus Torvalds1da177e2005-04-16 15:20:36 -070050config ACPI_INTERPRETER
51 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070052 default y
53
54if ACPI_INTERPRETER
55
56config ACPI_SLEEP
57 bool "Sleep States (EXPERIMENTAL)"
58 depends on X86
Len Brownbe914922005-03-18 16:00:29 -050059 depends on EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -070060 default y
61 ---help---
62 This option adds support for ACPI suspend states.
63
64 With this option, you will be able to put the system "to sleep".
65 Sleep states are low power states for the system and devices. All
66 of the system operating state is saved to either memory or disk
67 (depending on the state), to allow the system to resume operation
68 quickly at your request.
69
70 Although this option sounds really nifty, barely any of the device
71 drivers have been converted to the new driver model and hence few
72 have proper power management support.
73
74 This option is not recommended for anyone except those doing driver
75 power management development.
76
77config ACPI_SLEEP_PROC_FS
78 bool
79 depends on ACPI_SLEEP && PROC_FS
80 default y
81
Len Brownebb6e1a62005-04-14 23:12:56 -040082config ACPI_SLEEP_PROC_SLEEP
83 bool "/proc/acpi/sleep (deprecated)"
84 depends on ACPI_SLEEP_PROC_FS
85 default n
86 ---help---
87 Create /proc/acpi/sleep
88 Deprecated by /sys/power/state
89
Linus Torvalds1da177e2005-04-16 15:20:36 -070090config ACPI_AC
91 tristate "AC Adapter"
92 depends on X86
93 default m
94 help
95 This driver adds support for the AC Adapter object, which indicates
96 whether a system is on AC, or not. Typically, only mobile systems
97 have this object, since desktops are always on AC.
98
99config ACPI_BATTERY
100 tristate "Battery"
101 depends on X86
102 default m
103 help
104 This driver adds support for battery information through
105 /proc/acpi/battery. If you have a mobile system with a battery,
106 say Y.
107
108config ACPI_BUTTON
109 tristate "Button"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110 default m
111 help
112 This driver registers for events based on buttons, such as the
113 power, sleep, and lid switch. In the future, a daemon will read
114 /proc/acpi/event and perform user-defined actions such as shutting
115 down the system. Until then, you can cat it, and see output when
116 a button is pressed.
117
118config ACPI_VIDEO
119 tristate "Video"
120 depends on EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121 default m
122 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
Luming Yufb9802f2005-03-18 18:03:45 -0500131config ACPI_HOTKEY
132 tristate "Generic Hotkey"
133 depends on ACPI_INTERPRETER
134 depends on EXPERIMENTAL
135 depends on !IA64_SGI_SN
Luming Yu79cda7d2005-08-03 18:07:59 -0400136 default n
Luming Yufb9802f2005-03-18 18:03:45 -0500137 help
Luming Yu79cda7d2005-08-03 18:07:59 -0400138 Experimental consolidated hotkey driver.
139 If you are unsure, say N.
Luming Yufb9802f2005-03-18 18:03:45 -0500140
Linus Torvalds1da177e2005-04-16 15:20:36 -0700141config ACPI_FAN
142 tristate "Fan"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143 default m
144 help
145 This driver adds support for ACPI fan devices, allowing user-mode
146 applications to perform basic fan control (on, off, status).
147
148config ACPI_PROCESSOR
149 tristate "Processor"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150 default m
151 help
152 This driver installs ACPI as the idle handler for Linux, and uses
153 ACPI C2 and C3 processor states to save power, on systems that
154 support it.
155
156config ACPI_HOTPLUG_CPU
Adrian Bunkcbfc1ba2005-07-30 04:18:00 -0400157 bool
158 depends on ACPI_PROCESSOR && HOTPLUG_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700159 select ACPI_CONTAINER
Adrian Bunkcbfc1ba2005-07-30 04:18:00 -0400160 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161
162config ACPI_THERMAL
163 tristate "Thermal Zone"
164 depends on ACPI_PROCESSOR
165 default m
166 help
167 This driver adds support for ACPI thermal zones. Most mobile and
168 some desktop systems support ACPI thermal zones. It is HIGHLY
169 recommended that this option be enabled, as your processor(s)
170 may be damaged without it.
171
172config ACPI_NUMA
173 bool "NUMA support"
174 depends on NUMA
175 depends on (IA64 || X86_64)
176 default y if IA64_GENERIC || IA64_SGI_SN2
177
178config ACPI_ASUS
179 tristate "ASUS/Medion Laptop Extras"
180 depends on X86
181 default m
182 ---help---
183 This driver provides support for extra features of ACPI-compatible
184 ASUS laptops. As some of Medion laptops are made by ASUS, it may also
185 support some Medion laptops (such as 9675 for example). It makes all
186 the extra buttons generate standard ACPI events that go through
187 /proc/acpi/events, and (on some models) adds support for changing the
188 display brightness and output, switching the LCD backlight on and off,
189 and most importantly, allows you to blink those fancy LEDs intended
190 for reporting mail and wireless status.
191
192 Note: display switching code is currently considered EXPERIMENTAL,
193 toying with these values may even lock your machine.
194
195 All settings are changed via /proc/acpi/asus directory entries. Owner
196 and group for these entries can be set with asus_uid and asus_gid
197 parameters.
198
199 More information and a userspace daemon for handling the extra buttons
200 at <http://sourceforge.net/projects/acpi4asus/>.
201
202 If you have an ACPI-compatible ASUS laptop, say Y or M here. This
203 driver is still under development, so if your laptop is unsupported or
204 something works not quite as expected, please use the mailing list
205 available on the above page (acpi4asus-user@lists.sourceforge.net)
206
207config ACPI_IBM
208 tristate "IBM ThinkPad Laptop Extras"
209 depends on X86
210 default m
211 ---help---
212 This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
213 support for Fn-Fx key combinations, Bluetooth control, video
214 output switching, ThinkLight control, UltraBay eject and more.
215 For more information about this driver see <file:Documentation/ibm-acpi.txt>
216 and <http://ibm-acpi.sf.net/> .
217
218 If you have an IBM ThinkPad laptop, say Y or M here.
219
220config ACPI_TOSHIBA
221 tristate "Toshiba Laptop Extras"
222 depends on X86
223 default m
224 ---help---
225 This driver adds support for access to certain system settings
226 on "legacy free" Toshiba laptops. These laptops can be recognized by
227 their lack of a BIOS setup menu and APM support.
228
229 On these machines, all system configuration is handled through the
230 ACPI. This driver is required for access to controls not covered
231 by the general ACPI drivers, such as LCD brightness, video output,
232 etc.
233
234 This driver differs from the non-ACPI Toshiba laptop driver (located
235 under "Processor type and features") in several aspects.
236 Configuration is accessed by reading and writing text files in the
237 /proc tree instead of by program interface to /dev. Furthermore, no
238 power management functions are exposed, as those are handled by the
239 general ACPI drivers.
240
241 More information about this driver is available at
242 <http://memebeam.org/toys/ToshibaAcpiDriver>.
243
244 If you have a legacy free Toshiba laptop (such as the Libretto L1
245 series), say Y.
246
247config ACPI_CUSTOM_DSDT
248 bool "Include Custom DSDT"
249 depends on !STANDALONE
250 default n
251 help
252 Thist option is to load a custom ACPI DSDT
253 If you don't know what that is, say N.
254
255config ACPI_CUSTOM_DSDT_FILE
256 string "Custom DSDT Table file to include"
257 depends on ACPI_CUSTOM_DSDT
258 default ""
259 help
260 Enter the full path name to the file wich includes the AmlCode declaration.
261
262config ACPI_BLACKLIST_YEAR
263 int "Disable ACPI for systems before Jan 1st this year"
264 depends on ACPI_INTERPRETER
265 default 0
266 help
267 enter a 4-digit year, eg. 2001 to disable ACPI by default
268 on platforms with DMI BIOS date before January 1st that year.
269 "acpi=force" can be used to override this mechanism.
270
271 Enter 0 to disable this mechanism and allow ACPI to
272 run by default no matter what the year. (default)
273
274config ACPI_DEBUG
275 bool "Debug Statements"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700276 default n
277 help
278 The ACPI driver can optionally report errors with a great deal
279 of verbosity. Saying Y enables these statements. This will increase
280 your kernel size by around 50K.
281
282config ACPI_BUS
283 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700284 default y
285
286config ACPI_EC
287 bool
288 depends on X86
289 default y
290 help
291 This driver is required on some systems for the proper operation of
292 the battery and thermal drivers. If you are compiling for a
293 mobile system, say Y.
294
295config ACPI_POWER
296 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700297 default y
298
299config ACPI_PCI
300 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700301 default PCI
302
303config ACPI_SYSTEM
304 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700305 default y
306 help
307 This driver will enable your system to shut down using ACPI, and
308 dump your ACPI DSDT table using /proc/acpi/dsdt.
309
310endif # ACPI_INTERPRETER
311
312config X86_PM_TIMER
313 bool "Power Management Timer Support"
314 depends on X86
315 depends on ACPI_BOOT && EXPERIMENTAL
316 depends on !X86_64
317 default n
318 help
319 The Power Management Timer is available on all ACPI-capable,
320 in most cases even if ACPI is unusable or blacklisted.
321
322 This timing source is not affected by powermanagement features
323 like aggressive processor idling, throttling, frequency and/or
324 voltage scaling, unlike the commonly used Time Stamp Counter
325 (TSC) timing source.
326
327 So, if you see messages like 'Losing too many ticks!' in the
328 kernel logs, and/or you are using this on a notebook which
329 does not yet have an HPET, you should say "Y" here.
330
331config ACPI_CONTAINER
332 tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
333 depends on EXPERIMENTAL
334 default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
335 ---help---
Keiichiro Tokunaga45b1b192005-03-02 00:00:00 -0500336 This allows _physical_ insertion and removal of CPUs and memory.
337 This can be useful, for example, on NUMA machines that support
338 ACPI based physical hotplug of nodes, or non-NUMA machines that
339 support physical cpu/memory hot-plug.
340
341 If one selects "m", this driver can be loaded with
342 "modprobe acpi_container".
Linus Torvalds1da177e2005-04-16 15:20:36 -0700343
344config ACPI_HOTPLUG_MEMORY
345 tristate "Memory Hotplug"
346 depends on ACPI
347 depends on MEMORY_HOTPLUG
348 default n
349 help
350 This driver adds supports for ACPI Memory Hotplug. This driver
351 provides support for fielding notifications on ACPI memory
352 devices (PNP0C80) which represent memory ranges that may be
353 onlined or offlined during runtime.
354
355 Enabling this driver assumes that your platform hardware
356 and firmware have support for hot-plugging physical memory. If
357 your system does not support physically adding or ripping out
358 memory DIMMs at some platfrom defined granularity (individually
359 or as a bank) at runtime, then you need not enable this driver.
360
361 If one selects "m," this driver can be loaded using the following
362 command:
363 $>modprobe acpi_memhotplug
364endif # ACPI
365
366endmenu