blob: 8b6de1462558942d20a724dada18024287a4610e [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
52 depends on !IA64_SGI_SN
53 default y
54
55if ACPI_INTERPRETER
56
57config ACPI_SLEEP
58 bool "Sleep States (EXPERIMENTAL)"
59 depends on X86
Len Brownbe914922005-03-18 16:00:29 -050060 depends on EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -070061 default y
62 ---help---
63 This option adds support for ACPI suspend states.
64
65 With this option, you will be able to put the system "to sleep".
66 Sleep states are low power states for the system and devices. All
67 of the system operating state is saved to either memory or disk
68 (depending on the state), to allow the system to resume operation
69 quickly at your request.
70
71 Although this option sounds really nifty, barely any of the device
72 drivers have been converted to the new driver model and hence few
73 have proper power management support.
74
75 This option is not recommended for anyone except those doing driver
76 power management development.
77
78config ACPI_SLEEP_PROC_FS
79 bool
80 depends on ACPI_SLEEP && PROC_FS
81 default y
82
Len Brownebb6e1a2005-04-14 23:12:56 -040083config ACPI_SLEEP_PROC_SLEEP
84 bool "/proc/acpi/sleep (deprecated)"
85 depends on ACPI_SLEEP_PROC_FS
86 default n
87 ---help---
88 Create /proc/acpi/sleep
89 Deprecated by /sys/power/state
90
Linus Torvalds1da177e2005-04-16 15:20:36 -070091config ACPI_AC
92 tristate "AC Adapter"
93 depends on X86
94 default m
95 help
96 This driver adds support for the AC Adapter object, which indicates
97 whether a system is on AC, or not. Typically, only mobile systems
98 have this object, since desktops are always on AC.
99
100config ACPI_BATTERY
101 tristate "Battery"
102 depends on X86
103 default m
104 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"
111 depends on !IA64_SGI_SN
112 default m
113 help
114 This driver registers for events based on buttons, such as the
115 power, sleep, and lid switch. In the future, a daemon will read
116 /proc/acpi/event and perform user-defined actions such as shutting
117 down the system. Until then, you can cat it, and see output when
118 a button is pressed.
119
120config ACPI_VIDEO
121 tristate "Video"
122 depends on EXPERIMENTAL
123 depends on !IA64_SGI_SN
124 default m
125 help
126 This driver implement the ACPI Extensions For Display Adapters
127 for integrated graphics devices on motherboard, as specified in
128 ACPI 2.0 Specification, Appendix B, allowing to perform some basic
129 control like defining the video POST device, retrieving EDID information
130 or to setup a video output, etc.
131 Note that this is an ref. implementation only. It may or may not work
132 for your integrated video device.
133
Luming Yufb9802f2005-03-18 18:03:45 -0500134config ACPI_HOTKEY
135 tristate "Generic Hotkey"
136 depends on ACPI_INTERPRETER
137 depends on EXPERIMENTAL
138 depends on !IA64_SGI_SN
139 default m
140 help
141 ACPI generic hotkey
142
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143config ACPI_FAN
144 tristate "Fan"
145 depends on !IA64_SGI_SN
146 default m
147 help
148 This driver adds support for ACPI fan devices, allowing user-mode
149 applications to perform basic fan control (on, off, status).
150
151config ACPI_PROCESSOR
152 tristate "Processor"
153 depends on !IA64_SGI_SN
154 default m
155 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
158 support it.
159
160config ACPI_HOTPLUG_CPU
161 bool "Processor Hotplug (EXPERIMENTAL)"
162 depends on ACPI_PROCESSOR && HOTPLUG_CPU && EXPERIMENTAL
163 depends on !IA64_SGI_SN
164 select ACPI_CONTAINER
165 default n
166 ---help---
167 Select this option if your platform support physical CPU hotplug.
168
169config ACPI_THERMAL
170 tristate "Thermal Zone"
171 depends on ACPI_PROCESSOR
172 default m
173 help
174 This driver adds support for ACPI thermal zones. Most mobile and
175 some desktop systems support ACPI thermal zones. It is HIGHLY
176 recommended that this option be enabled, as your processor(s)
177 may be damaged without it.
178
179config ACPI_NUMA
180 bool "NUMA support"
181 depends on NUMA
182 depends on (IA64 || X86_64)
183 default y if IA64_GENERIC || IA64_SGI_SN2
184
185config ACPI_ASUS
186 tristate "ASUS/Medion Laptop Extras"
187 depends on X86
188 default m
189 ---help---
190 This driver provides support for extra features of ACPI-compatible
191 ASUS laptops. As some of Medion laptops are made by ASUS, it may also
192 support some Medion laptops (such as 9675 for example). It makes all
193 the extra buttons generate standard ACPI events that go through
194 /proc/acpi/events, and (on some models) adds support for changing the
195 display brightness and output, switching the LCD backlight on and off,
196 and most importantly, allows you to blink those fancy LEDs intended
197 for reporting mail and wireless status.
198
199 Note: display switching code is currently considered EXPERIMENTAL,
200 toying with these values may even lock your machine.
201
202 All settings are changed via /proc/acpi/asus directory entries. Owner
203 and group for these entries can be set with asus_uid and asus_gid
204 parameters.
205
206 More information and a userspace daemon for handling the extra buttons
207 at <http://sourceforge.net/projects/acpi4asus/>.
208
209 If you have an ACPI-compatible ASUS laptop, say Y or M here. This
210 driver is still under development, so if your laptop is unsupported or
211 something works not quite as expected, please use the mailing list
212 available on the above page (acpi4asus-user@lists.sourceforge.net)
213
214config ACPI_IBM
215 tristate "IBM ThinkPad Laptop Extras"
216 depends on X86
217 default m
218 ---help---
219 This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
220 support for Fn-Fx key combinations, Bluetooth control, video
221 output switching, ThinkLight control, UltraBay eject and more.
222 For more information about this driver see <file:Documentation/ibm-acpi.txt>
223 and <http://ibm-acpi.sf.net/> .
224
225 If you have an IBM ThinkPad laptop, say Y or M here.
226
227config ACPI_TOSHIBA
228 tristate "Toshiba Laptop Extras"
229 depends on X86
230 default m
231 ---help---
232 This driver adds support for access to certain system settings
233 on "legacy free" Toshiba laptops. These laptops can be recognized by
234 their lack of a BIOS setup menu and APM support.
235
236 On these machines, all system configuration is handled through the
237 ACPI. This driver is required for access to controls not covered
238 by the general ACPI drivers, such as LCD brightness, video output,
239 etc.
240
241 This driver differs from the non-ACPI Toshiba laptop driver (located
242 under "Processor type and features") in several aspects.
243 Configuration is accessed by reading and writing text files in the
244 /proc tree instead of by program interface to /dev. Furthermore, no
245 power management functions are exposed, as those are handled by the
246 general ACPI drivers.
247
248 More information about this driver is available at
249 <http://memebeam.org/toys/ToshibaAcpiDriver>.
250
251 If you have a legacy free Toshiba laptop (such as the Libretto L1
252 series), say Y.
253
254config ACPI_CUSTOM_DSDT
255 bool "Include Custom DSDT"
256 depends on !STANDALONE
257 default n
258 help
259 Thist option is to load a custom ACPI DSDT
260 If you don't know what that is, say N.
261
262config ACPI_CUSTOM_DSDT_FILE
263 string "Custom DSDT Table file to include"
264 depends on ACPI_CUSTOM_DSDT
265 default ""
266 help
267 Enter the full path name to the file wich includes the AmlCode declaration.
268
269config ACPI_BLACKLIST_YEAR
270 int "Disable ACPI for systems before Jan 1st this year"
271 depends on ACPI_INTERPRETER
272 default 0
273 help
274 enter a 4-digit year, eg. 2001 to disable ACPI by default
275 on platforms with DMI BIOS date before January 1st that year.
276 "acpi=force" can be used to override this mechanism.
277
278 Enter 0 to disable this mechanism and allow ACPI to
279 run by default no matter what the year. (default)
280
281config ACPI_DEBUG
282 bool "Debug Statements"
283 depends on !IA64_SGI_SN
284 default n
285 help
286 The ACPI driver can optionally report errors with a great deal
287 of verbosity. Saying Y enables these statements. This will increase
288 your kernel size by around 50K.
289
290config ACPI_BUS
291 bool
292 depends on !IA64_SGI_SN
293 default y
294
295config ACPI_EC
296 bool
297 depends on X86
298 default y
299 help
300 This driver is required on some systems for the proper operation of
301 the battery and thermal drivers. If you are compiling for a
302 mobile system, say Y.
303
304config ACPI_POWER
305 bool
306 depends on !IA64_SGI_SN
307 default y
308
309config ACPI_PCI
310 bool
311 depends on !IA64_SGI_SN
312 default PCI
313
314config ACPI_SYSTEM
315 bool
316 depends on !IA64_SGI_SN
317 default y
318 help
319 This driver will enable your system to shut down using ACPI, and
320 dump your ACPI DSDT table using /proc/acpi/dsdt.
321
322endif # ACPI_INTERPRETER
323
324config X86_PM_TIMER
325 bool "Power Management Timer Support"
326 depends on X86
327 depends on ACPI_BOOT && EXPERIMENTAL
328 depends on !X86_64
329 default n
330 help
331 The Power Management Timer is available on all ACPI-capable,
332 in most cases even if ACPI is unusable or blacklisted.
333
334 This timing source is not affected by powermanagement features
335 like aggressive processor idling, throttling, frequency and/or
336 voltage scaling, unlike the commonly used Time Stamp Counter
337 (TSC) timing source.
338
339 So, if you see messages like 'Losing too many ticks!' in the
340 kernel logs, and/or you are using this on a notebook which
341 does not yet have an HPET, you should say "Y" here.
342
343config ACPI_CONTAINER
344 tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
345 depends on EXPERIMENTAL
346 default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
347 ---help---
Keiichiro Tokunaga45b1b192005-03-02 00:00:00 -0500348 This allows _physical_ insertion and removal of CPUs and memory.
349 This can be useful, for example, on NUMA machines that support
350 ACPI based physical hotplug of nodes, or non-NUMA machines that
351 support physical cpu/memory hot-plug.
352
353 If one selects "m", this driver can be loaded with
354 "modprobe acpi_container".
Linus Torvalds1da177e2005-04-16 15:20:36 -0700355
356config ACPI_HOTPLUG_MEMORY
357 tristate "Memory Hotplug"
358 depends on ACPI
359 depends on MEMORY_HOTPLUG
360 default n
361 help
362 This driver adds supports for ACPI Memory Hotplug. This driver
363 provides support for fielding notifications on ACPI memory
364 devices (PNP0C80) which represent memory ranges that may be
365 onlined or offlined during runtime.
366
367 Enabling this driver assumes that your platform hardware
368 and firmware have support for hot-plugging physical memory. If
369 your system does not support physically adding or ripping out
370 memory DIMMs at some platfrom defined granularity (individually
371 or as a bank) at runtime, then you need not enable this driver.
372
373 If one selects "m," this driver can be loaded using the following
374 command:
375 $>modprobe acpi_memhotplug
376endif # ACPI
377
378endmenu