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