ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[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_DEBUG
208         bool "Debug Statements"
209         depends on ACPI_INTERPRETER
210         depends on !IA64_SGI_SN
211         default n
212         help
213           The ACPI driver can optionally report errors with a great deal
214           of verbosity. Saying Y enables these statements. This will increase
215           your kernel size by around 50K.
216
217 config ACPI_BUS
218         bool
219         depends on ACPI_INTERPRETER
220         depends on !IA64_SGI_SN
221         default y
222
223 config ACPI_EC
224         bool
225         depends on X86
226         depends on ACPI_INTERPRETER
227         default y
228         help
229           This driver is required on some systems for the proper operation of
230           the battery and thermal drivers.  If you are compiling for a 
231           mobile system, say Y.
232
233 config ACPI_POWER
234         bool
235         depends on ACPI_INTERPRETER
236         depends on !IA64_SGI_SN
237         default y
238
239 config ACPI_PCI
240         bool
241         depends on ACPI_INTERPRETER
242         depends on !IA64_SGI_SN
243         default PCI
244
245 config ACPI_SYSTEM
246         bool
247         depends on ACPI_INTERPRETER
248         depends on !IA64_SGI_SN
249         default y
250         help
251           This driver will enable your system to shut down using ACPI, and
252           dump your ACPI DSDT table using /proc/acpi/dsdt.
253
254 config X86_PM_TIMER
255         bool "Power Management Timer Support"
256         depends on X86 && ACPI
257         depends on ACPI_BOOT && EXPERIMENTAL
258         depends on !X86_64
259         default n
260         help
261           The Power Management Timer is available on all ACPI-capable,
262           in most cases even if ACPI is unusable or blacklisted.
263
264           This timing source is not affected by powermanagement features
265           like aggressive processor idling, throttling, frequency and/or
266           voltage scaling, unlike the commonly used Time Stamp Counter
267           (TSC) timing source.
268
269           So, if you see messages like 'Losing too many ticks!' in the
270           kernel logs, and/or you are using a this on a notebook which
271           does not yet have an HPET, you should say "Y" here.
272
273 endmenu
274