vserver 1.9.3
[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 intefaces, 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_FAN
114         tristate "Fan"
115         depends on ACPI_INTERPRETER
116         depends on !IA64_SGI_SN
117         default m
118         help
119           This driver adds support for ACPI fan devices, allowing user-mode 
120           applications to perform basic fan control (on, off, status).
121
122 config ACPI_PROCESSOR
123         tristate "Processor"
124         depends on ACPI_INTERPRETER
125         depends on !IA64_SGI_SN
126         default m
127         help
128           This driver installs ACPI as the idle handler for Linux, and uses
129           ACPI C2 and C3 processor states to save power, on systems that
130           support it.
131
132 config ACPI_THERMAL
133         tristate "Thermal Zone"
134         depends on ACPI_PROCESSOR
135         default m
136         help
137           This driver adds support for ACPI thermal zones.  Most mobile and
138           some desktop systems support ACPI thermal zones.  It is HIGHLY
139           recommended that this option be enabled, as your processor(s)
140           may be damaged without it.
141
142 config ACPI_NUMA
143         bool "NUMA support"
144         depends on ACPI_INTERPRETER
145         depends on NUMA
146         depends on IA64
147         default y if IA64_GENERIC || IA64_SGI_SN2
148
149 config ACPI_ASUS
150         tristate "ASUS/Medion Laptop Extras"
151         depends on X86
152         depends on ACPI_INTERPRETER
153         default m
154         ---help---
155           This driver provides support for extra features of ACPI-compatible
156           ASUS laptops. As some of Medion laptops are made by ASUS, it may also
157           support some Medion laptops (such as 9675 for example).  It makes all
158           the extra buttons generate standard ACPI events that go through
159           /proc/acpi/events, and (on some models) adds support for changing the
160           display brightness and output, switching the LCD backlight on and off,
161           and most importantly, allows you to blink those fancy LEDs intended
162           for reporting mail and wireless status.
163
164           Note: display switching code is currently considered EXPERIMENTAL,
165           toying with these values may even lock your machine.
166           
167           All settings are changed via /proc/acpi/asus directory entries. Owner
168           and group for these entries can be set with asus_uid and asus_gid
169           parameters.
170           
171           More information and a userspace daemon for handling the extra buttons
172           at <http://sourceforge.net/projects/acpi4asus/>.
173           
174           If you have an ACPI-compatible ASUS laptop, say Y or M here. This
175           driver is still under development, so if your laptop is unsupported or
176           something works not quite as expected, please use the mailing list
177           available on the above page (acpi4asus-user@lists.sourceforge.net)
178           
179 config ACPI_TOSHIBA
180         tristate "Toshiba Laptop Extras"
181         depends on X86
182         depends on ACPI_INTERPRETER
183         default m
184         ---help---
185           This driver adds support for access to certain system settings
186           on "legacy free" Toshiba laptops.  These laptops can be recognized by
187           their lack of a BIOS setup menu and APM support.
188
189           On these machines, all system configuration is handled through the
190           ACPI.  This driver is required for access to controls not covered
191           by the general ACPI drivers, such as LCD brightness, video output,
192           etc.
193
194           This driver differs from the non-ACPI Toshiba laptop driver (located
195           under "Processor type and features") in several aspects.
196           Configuration is accessed by reading and writing text files in the
197           /proc tree instead of by program interface to /dev.  Furthermore, no
198           power management functions are exposed, as those are handled by the
199           general ACPI drivers.
200
201           More information about this driver is available at
202           <http://memebeam.org/toys/ToshibaAcpiDriver>.
203
204           If you have a legacy free Toshiba laptop (such as the Libretto L1
205           series), say Y.
206
207 config ACPI_CUSTOM_DSDT
208         bool "Include Custom DSDT"
209         depends on X86 && ACPI_INTERPRETER && !STANDALONE
210         default n 
211         help
212           Thist option is to load a custom ACPI DSDT
213           If you don't know what that is, say N.
214
215 config ACPI_CUSTOM_DSDT_FILE
216         string "Custom DSDT Table file to include"
217         depends on ACPI_CUSTOM_DSDT
218         default ""
219         help
220           Enter the full path name to the file wich includes the AmlCode declaration.
221
222 config ACPI_BLACKLIST_YEAR
223         int "Disable ACPI for systems before Jan 1st this year"
224         default 0
225         help
226           enter a 4-digit year, eg. 2001 to disable ACPI by default
227           on platforms with DMI BIOS date before January 1st that year.
228           "acpi=force" can be used to override this mechanism.
229
230           Enter 0 to disable this mechanism and allow ACPI to
231           run by default no matter what the year.  (default)
232
233 config ACPI_DEBUG
234         bool "Debug Statements"
235         depends on ACPI_INTERPRETER
236         depends on !IA64_SGI_SN
237         default n
238         help
239           The ACPI driver can optionally report errors with a great deal
240           of verbosity. Saying Y enables these statements. This will increase
241           your kernel size by around 50K.
242
243 config ACPI_BUS
244         bool
245         depends on ACPI_INTERPRETER
246         depends on !IA64_SGI_SN
247         default y
248
249 config ACPI_EC
250         bool
251         depends on X86
252         depends on ACPI_INTERPRETER
253         default y
254         help
255           This driver is required on some systems for the proper operation of
256           the battery and thermal drivers.  If you are compiling for a 
257           mobile system, say Y.
258
259 config ACPI_POWER
260         bool
261         depends on ACPI_INTERPRETER
262         depends on !IA64_SGI_SN
263         default y
264
265 config ACPI_PCI
266         bool
267         depends on ACPI_INTERPRETER
268         depends on !IA64_SGI_SN
269         default PCI
270
271 config ACPI_SYSTEM
272         bool
273         depends on ACPI_INTERPRETER
274         depends on !IA64_SGI_SN
275         default y
276         help
277           This driver will enable your system to shut down using ACPI, and
278           dump your ACPI DSDT table using /proc/acpi/dsdt.
279
280 config X86_PM_TIMER
281         bool "Power Management Timer Support"
282         depends on X86 && ACPI
283         depends on ACPI_BOOT && EXPERIMENTAL
284         depends on !X86_64
285         default n
286         help
287           The Power Management Timer is available on all ACPI-capable,
288           in most cases even if ACPI is unusable or blacklisted.
289
290           This timing source is not affected by powermanagement features
291           like aggressive processor idling, throttling, frequency and/or
292           voltage scaling, unlike the commonly used Time Stamp Counter
293           (TSC) timing source.
294
295           So, if you see messages like 'Losing too many ticks!' in the
296           kernel logs, and/or you are using this on a notebook which
297           does not yet have an HPET, you should say "Y" here.
298
299 endmenu
300