Revert "ACPI: add documentation for deprecated /proc/acpi/battery in ACPI_PROCFS"
[safe/jmp/linux-2.6] / drivers / acpi / Kconfig
1 #
2 # ACPI Configuration
3 #
4
5 menuconfig ACPI
6         bool "ACPI (Advanced Configuration and Power Interface) Support"
7         depends on !X86_NUMAQ
8         depends on !X86_VISWS
9         depends on !IA64_HP_SIM
10         depends on IA64 || X86
11         depends on PCI
12         depends on PM
13         select PNP
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 if ACPI
44
45 config ACPI_SLEEP
46         bool
47         depends on PM_SLEEP
48         default y
49
50 config ACPI_PROCFS
51         bool "Deprecated /proc/acpi files"
52         depends on PROC_FS
53         default y
54         ---help---
55           For backwards compatibility, this option allows
56           deprecated /proc/acpi/ files to exist, even when
57           they have been replaced by functions in /sys.
58           The deprecated files (and their replacements) include:
59
60           /proc/acpi/sleep (/sys/power/state)
61           /proc/acpi/info (/sys/modules/acpi/parameters/acpica_version)
62           /proc/acpi/dsdt (/sys/firmware/acpi/tables/DSDT)
63           /proc/acpi/fadt (/sys/firmware/acpi/tables/FACP)
64           /proc/acpi/debug_layer (/sys/module/acpi/parameters/debug_layer)
65           /proc/acpi/debug_level (/sys/module/acpi/parameters/debug_level)
66
67           This option has no effect on /proc/acpi/ files
68           and functions which do not yet exist in /sys.
69
70           Say N to delete /proc/acpi/ files that have moved to /sys/
71 config ACPI_PROCFS_POWER
72         bool "Deprecated power /proc/acpi folders"
73         depends on PROC_FS
74         default y
75         ---help---
76           For backwards compatibility, this option allows
77           deprecated power /proc/acpi/ folders to exist, even when
78           they have been replaced by functions in /sys.
79           The deprecated folders (and their replacements) include:
80           /proc/acpi/battery/* (/sys/class/power_supply/*)
81           /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
82           This option has no effect on /proc/acpi/ folders
83           and functions, which do not yet exist in /sys
84
85           Say N to delete power /proc/acpi/ folders that have moved to /sys/
86 config ACPI_PROC_EVENT
87         bool "Deprecated /proc/acpi/event support"
88         depends on PROC_FS
89         default y
90         ---help---
91           A user-space daemon, acpi, typically read /proc/acpi/event
92           and handled all ACPI sub-system generated events.
93
94           These events are now delivered to user-space via
95           either the input layer, or as netlink events.
96
97           This build option enables the old code for legacy
98           user-space implementation.  After some time, this will
99           be moved under CONFIG_ACPI_PROCFS, and then deleted.
100
101           Say Y here to retain the old behaviour.  Say N if your
102           user-space is newer than kernel 2.6.23 (September 2007).
103
104 config ACPI_AC
105         tristate "AC Adapter"
106         depends on X86
107         select POWER_SUPPLY
108         default y
109         help
110           This driver adds support for the AC Adapter object, which indicates
111           whether a system is on AC, or not. If you have a system that can
112           switch between A/C and battery, say Y.
113
114 config ACPI_BATTERY
115         tristate "Battery"
116         depends on X86
117         select POWER_SUPPLY
118         default y
119         help
120           This driver adds support for battery information through
121           /proc/acpi/battery. If you have a mobile system with a battery, 
122           say Y.
123
124 config ACPI_BUTTON
125         tristate "Button"
126         depends on INPUT
127         default y
128         help
129           This driver handles events on the power, sleep and lid buttons.
130           A daemon reads /proc/acpi/event and perform user-defined actions
131           such as shutting down the system.  This is necessary for
132           software controlled poweroff.
133
134 config ACPI_VIDEO
135         tristate "Video"
136         depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
137         depends on INPUT
138         help
139           This driver implement the ACPI Extensions For Display Adapters
140           for integrated graphics devices on motherboard, as specified in
141           ACPI 2.0 Specification, Appendix B, allowing to perform some basic
142           control like defining the video POST device, retrieving EDID information
143           or to setup a video output, etc.
144           Note that this is an ref. implementation only.  It may or may not work
145           for your integrated video device.
146
147 config ACPI_FAN
148         tristate "Fan"
149         default y
150         help
151           This driver adds support for ACPI fan devices, allowing user-mode 
152           applications to perform basic fan control (on, off, status).
153
154 config ACPI_DOCK
155         tristate "Dock"
156         depends on EXPERIMENTAL
157         help
158           This driver adds support for ACPI controlled docking stations
159
160 config ACPI_BAY
161         tristate "Removable Drive Bay (EXPERIMENTAL)"
162         depends on EXPERIMENTAL
163         depends on ACPI_DOCK
164         help
165           This driver adds support for ACPI controlled removable drive
166           bays such as the IBM ultrabay or the Dell Module Bay.
167
168 config ACPI_PROCESSOR
169         tristate "Processor"
170         default y
171         help
172           This driver installs ACPI as the idle handler for Linux, and uses
173           ACPI C2 and C3 processor states to save power, on systems that
174           support it.  It is required by several flavors of cpufreq
175           Performance-state drivers.
176
177 config ACPI_HOTPLUG_CPU
178         bool
179         depends on ACPI_PROCESSOR && HOTPLUG_CPU
180         select ACPI_CONTAINER
181         default y
182
183 config ACPI_THERMAL
184         tristate "Thermal Zone"
185         depends on ACPI_PROCESSOR
186         default y
187         help
188           This driver adds support for ACPI thermal zones.  Most mobile and
189           some desktop systems support ACPI thermal zones.  It is HIGHLY
190           recommended that this option be enabled, as your processor(s)
191           may be damaged without it.
192
193 config ACPI_NUMA
194         bool "NUMA support"
195         depends on NUMA
196         depends on (X86 || IA64)
197         default y if IA64_GENERIC || IA64_SGI_SN2
198
199 config ACPI_ASUS
200         tristate "ASUS/Medion Laptop Extras"
201         depends on X86
202         select BACKLIGHT_CLASS_DEVICE
203         ---help---
204           This driver provides support for extra features of ACPI-compatible
205           ASUS laptops. As some of Medion laptops are made by ASUS, it may also
206           support some Medion laptops (such as 9675 for example).  It makes all
207           the extra buttons generate standard ACPI events that go through
208           /proc/acpi/events, and (on some models) adds support for changing the
209           display brightness and output, switching the LCD backlight on and off,
210           and most importantly, allows you to blink those fancy LEDs intended
211           for reporting mail and wireless status.
212
213           Note: display switching code is currently considered EXPERIMENTAL,
214           toying with these values may even lock your machine.
215
216           All settings are changed via /proc/acpi/asus directory entries. Owner
217           and group for these entries can be set with asus_uid and asus_gid
218           parameters.
219
220           More information and a userspace daemon for handling the extra buttons
221           at <http://sourceforge.net/projects/acpi4asus/>.
222
223           If you have an ACPI-compatible ASUS laptop, say Y or M here. This
224           driver is still under development, so if your laptop is unsupported or
225           something works not quite as expected, please use the mailing list
226           available on the above page (acpi4asus-user@lists.sourceforge.net).
227
228           NOTE: This driver is deprecated and will probably be removed soon,
229           use asus-laptop instead.
230
231 config ACPI_TOSHIBA
232         tristate "Toshiba Laptop Extras"
233         depends on X86
234         select BACKLIGHT_CLASS_DEVICE
235         ---help---
236           This driver adds support for access to certain system settings
237           on "legacy free" Toshiba laptops.  These laptops can be recognized by
238           their lack of a BIOS setup menu and APM support.
239
240           On these machines, all system configuration is handled through the
241           ACPI.  This driver is required for access to controls not covered
242           by the general ACPI drivers, such as LCD brightness, video output,
243           etc.
244
245           This driver differs from the non-ACPI Toshiba laptop driver (located
246           under "Processor type and features") in several aspects.
247           Configuration is accessed by reading and writing text files in the
248           /proc tree instead of by program interface to /dev.  Furthermore, no
249           power management functions are exposed, as those are handled by the
250           general ACPI drivers.
251
252           More information about this driver is available at
253           <http://memebeam.org/toys/ToshibaAcpiDriver>.
254
255           If you have a legacy free Toshiba laptop (such as the Libretto L1
256           series), say Y.
257
258 config ACPI_CUSTOM_DSDT
259         bool "Include Custom DSDT"
260         depends on !STANDALONE
261         default n 
262         help
263           This option is to load a custom ACPI DSDT
264           If you don't know what that is, say N.
265
266 config ACPI_CUSTOM_DSDT_FILE
267         string "Custom DSDT Table file to include"
268         depends on ACPI_CUSTOM_DSDT
269         default ""
270         help
271           Enter the full path name to the file which includes the AmlCode
272           declaration.
273
274 config ACPI_BLACKLIST_YEAR
275         int "Disable ACPI for systems before Jan 1st this year" if X86_32
276         default 0
277         help
278           enter a 4-digit year, eg. 2001 to disable ACPI by default
279           on platforms with DMI BIOS date before January 1st that year.
280           "acpi=force" can be used to override this mechanism.
281
282           Enter 0 to disable this mechanism and allow ACPI to
283           run by default no matter what the year.  (default)
284
285 config ACPI_DEBUG
286         bool "Debug Statements"
287         default n
288         help
289           The ACPI driver can optionally report errors with a great deal
290           of verbosity. Saying Y enables these statements. This will increase
291           your kernel size by around 50K.
292
293 config ACPI_DEBUG_FUNC_TRACE
294         bool "Additionally enable ACPI function tracing"
295         default n
296         depends on ACPI_DEBUG
297         help
298           ACPI Debug Statements slow down ACPI processing. Function trace
299           is about half of the penalty and is rarely useful.
300
301 config ACPI_EC
302         bool
303         default y
304         help
305           This driver is required on some systems for the proper operation of
306           the battery and thermal drivers.  If you are compiling for a 
307           mobile system, say Y.
308
309 config ACPI_POWER
310         bool
311         default y
312
313 config ACPI_SYSTEM
314         bool
315         default y
316         help
317           This driver will enable your system to shut down using ACPI, and
318           dump your ACPI DSDT table using /proc/acpi/dsdt.
319
320 config X86_PM_TIMER
321         bool "Power Management Timer Support" if EMBEDDED
322         depends on X86
323         default y
324         help
325           The Power Management Timer is available on all ACPI-capable,
326           in most cases even if ACPI is unusable or blacklisted.
327
328           This timing source is not affected by power management features
329           like aggressive processor idling, throttling, frequency and/or
330           voltage scaling, unlike the commonly used Time Stamp Counter
331           (TSC) timing source.
332
333           You should nearly always say Y here because many modern
334           systems require this timer. 
335
336 config ACPI_CONTAINER
337         tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
338         depends on EXPERIMENTAL
339         default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
340          ---help---
341           This allows _physical_ insertion and removal of CPUs and memory.
342           This can be useful, for example, on NUMA machines that support
343           ACPI based physical hotplug of nodes, or non-NUMA machines that
344           support physical cpu/memory hot-plug.
345
346           If one selects "m", this driver can be loaded with
347           "modprobe acpi_container".
348
349 config ACPI_HOTPLUG_MEMORY
350         tristate "Memory Hotplug"
351         depends on MEMORY_HOTPLUG
352         default n
353         help
354           This driver adds supports for ACPI Memory Hotplug.  This driver
355           provides support for fielding notifications on ACPI memory
356           devices (PNP0C80) which represent memory ranges that may be
357           onlined or offlined during runtime.  
358
359           Enabling this driver assumes that your platform hardware
360           and firmware have support for hot-plugging physical memory. If
361           your system does not support physically adding or ripping out 
362           memory DIMMs at some platform defined granularity (individually 
363           or as a bank) at runtime, then you need not enable this driver.
364
365           If one selects "m," this driver can be loaded using the following
366           command: 
367                 $>modprobe acpi_memhotplug 
368
369 config ACPI_SBS
370         tristate "Smart Battery System"
371         depends on X86
372         select POWER_SUPPLY
373         help
374           This driver adds support for the Smart Battery System, another
375           type of access to battery information, found on some laptops.
376
377 endif   # ACPI