thinkpad-acpi: make volume subdriver optional
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / platform / x86 / Kconfig
blob3372bf4efa9648c7b06d7bf0e62ce0940071dec9
2 # X86 Platform Specific Drivers
5 menuconfig X86_PLATFORM_DEVICES
6         bool "X86 Platform Specific Device Drivers"
7         default y
8         ---help---
9           Say Y here to get to see options for device drivers for various
10           x86 platforms, including vendor-specific laptop extension drivers.
11           This option alone does not add any kernel code.
13           If you say N, all options in this submenu will be skipped and disabled.
15 if X86_PLATFORM_DEVICES
17 config ACER_WMI
18         tristate "Acer WMI Laptop Extras"
19         depends on ACPI
20         depends on LEDS_CLASS
21         depends on NEW_LEDS
22         depends on BACKLIGHT_CLASS_DEVICE
23         depends on SERIO_I8042
24         depends on RFKILL
25         select ACPI_WMI
26         ---help---
27           This is a driver for newer Acer (and Wistron) laptops. It adds
28           wireless radio and bluetooth control, and on some laptops,
29           exposes the mail LED and LCD backlight.
31           For more information about this driver see
32           <file:Documentation/laptops/acer-wmi.txt>
34           If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
35           here.
37 config ASUS_LAPTOP
38         tristate "Asus Laptop Extras (EXPERIMENTAL)"
39         depends on ACPI
40         depends on EXPERIMENTAL && !ACPI_ASUS
41         select LEDS_CLASS
42         select NEW_LEDS
43         select BACKLIGHT_CLASS_DEVICE
44         depends on INPUT
45         ---help---
46           This is the new Linux driver for Asus laptops. It may also support some
47           MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
48           standard ACPI events that go through /proc/acpi/events. It also adds
49           support for video output switching, LCD backlight control, Bluetooth and
50           Wlan control, and most importantly, allows you to blink those fancy LEDs.
52           For more information and a userspace daemon for handling the extra
53           buttons see <http://acpi4asus.sf.net/>.
55           If you have an ACPI-compatible ASUS laptop, say Y or M here.
57 config DELL_LAPTOP
58         tristate "Dell Laptop Extras (EXPERIMENTAL)"
59         depends on X86
60         depends on DCDBAS
61         depends on EXPERIMENTAL
62         depends on BACKLIGHT_CLASS_DEVICE
63         depends on RFKILL
64         depends on POWER_SUPPLY
65         default n
66         ---help---
67         This driver adds support for rfkill and backlight control to Dell
68         laptops.
70 config DELL_WMI
71         tristate "Dell WMI extras"
72         depends on ACPI_WMI
73         depends on INPUT
74         ---help---
75           Say Y here if you want to support WMI-based hotkeys on Dell laptops.
77           To compile this driver as a module, choose M here: the module will
78           be called dell-wmi.
80 config FUJITSU_LAPTOP
81         tristate "Fujitsu Laptop Extras"
82         depends on ACPI
83         depends on INPUT
84         depends on BACKLIGHT_CLASS_DEVICE
85         ---help---
86           This is a driver for laptops built by Fujitsu:
88             * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
89             * Possibly other Fujitsu laptop models
90             * Tested with S6410 and S7020
92           It adds support for LCD brightness control and some hotkeys.
94           If you have a Fujitsu laptop, say Y or M here.
96 config FUJITSU_LAPTOP_DEBUG
97         bool "Verbose debug mode for Fujitsu Laptop Extras"
98         depends on FUJITSU_LAPTOP
99         default n
100         ---help---
101           Enables extra debug output from the fujitsu extras driver, at the
102           expense of a slight increase in driver size.
104           If you are not sure, say N here.
106 config TC1100_WMI
107         tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)"
108         depends on !X86_64
109         depends on EXPERIMENTAL
110         depends on ACPI
111         select ACPI_WMI
112         ---help---
113           This is a driver for the WMI extensions (wireless and bluetooth power
114           control) of the HP Compaq TC1100 tablet.
116 config HP_WMI
117         tristate "HP WMI extras"
118         depends on ACPI_WMI
119         depends on INPUT
120         depends on RFKILL
121         help
122          Say Y here if you want to support WMI-based hotkeys on HP laptops and
123          to read data from WMI such as docking or ambient light sensor state.
125          To compile this driver as a module, choose M here: the module will
126          be called hp-wmi.
128 config MSI_LAPTOP
129         tristate "MSI Laptop Extras"
130         depends on ACPI
131         depends on BACKLIGHT_CLASS_DEVICE
132         ---help---
133           This is a driver for laptops built by MSI (MICRO-STAR
134           INTERNATIONAL):
136           MSI MegaBook S270 (MS-1013)
137           Cytron/TCM/Medion/Tchibo MD96100/SAM2000
139           It adds support for Bluetooth, WLAN and LCD brightness control.
141           More information about this driver is available at
142           <http://0pointer.de/lennart/tchibo.html>.
144           If you have an MSI S270 laptop, say Y or M here.
146 config PANASONIC_LAPTOP
147         tristate "Panasonic Laptop Extras"
148         depends on INPUT && ACPI
149         depends on BACKLIGHT_CLASS_DEVICE
150         ---help---
151           This driver adds support for access to backlight control and hotkeys
152           on Panasonic Let's Note laptops.
154           If you have a Panasonic Let's note laptop (such as the R1(N variant),
155           R2, R3, R5, T2, W2 and Y2 series), say Y.
157 config COMPAL_LAPTOP
158         tristate "Compal Laptop Extras"
159         depends on ACPI
160         depends on BACKLIGHT_CLASS_DEVICE
161         ---help---
162           This is a driver for laptops built by Compal:
164           Compal FL90/IFL90
165           Compal FL91/IFL91
166           Compal FL92/JFL92
167           Compal FT00/IFT00
169           It adds support for Bluetooth, WLAN and LCD brightness control.
171           If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here.
173 config SONY_LAPTOP
174         tristate "Sony Laptop Extras"
175         depends on ACPI
176         select BACKLIGHT_CLASS_DEVICE
177         depends on INPUT
178         depends on RFKILL
179           ---help---
180           This mini-driver drives the SNC and SPIC devices present in the ACPI
181           BIOS of the Sony Vaio laptops.
183           It gives access to some extra laptop functionalities like Bluetooth,
184           screen brightness control, Fn keys and allows powering on/off some
185           devices.
187           Read <file:Documentation/laptops/sony-laptop.txt> for more information.
189 config SONYPI_COMPAT
190         bool "Sonypi compatibility"
191         depends on SONY_LAPTOP
192           ---help---
193           Build the sonypi driver compatibility code into the sony-laptop driver.
195 config THINKPAD_ACPI
196         tristate "ThinkPad ACPI Laptop Extras"
197         depends on ACPI
198         depends on INPUT
199         select BACKLIGHT_LCD_SUPPORT
200         select BACKLIGHT_CLASS_DEVICE
201         select HWMON
202         select NVRAM
203         select NEW_LEDS
204         select LEDS_CLASS
205         select NET
206         select RFKILL
207         ---help---
208           This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
209           support for Fn-Fx key combinations, Bluetooth control, video
210           output switching, ThinkLight control, UltraBay eject and more.
211           For more information about this driver see
212           <file:Documentation/laptops/thinkpad-acpi.txt> and
213           <http://ibm-acpi.sf.net/> .
215           This driver was formerly known as ibm-acpi.
217           If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
219 config THINKPAD_ACPI_ALSA_SUPPORT
220         bool "Console audio control ALSA interface"
221         depends on THINKPAD_ACPI
222         depends on SND
223         depends on SND = y || THINKPAD_ACPI = SND
224         default y
225         ---help---
226           Enables monitoring of the built-in console audio output control
227           (headphone and speakers), which is operated by the mute and (in
228           some ThinkPad models) volume hotkeys.
230           If this option is enabled, ThinkPad-ACPI will export an ALSA card
231           with a single read-only mixer control, which should be used for
232           on-screen-display feedback purposes by the Desktop Environment.
234           Optionally, the driver will also allow software control (the
235           ALSA mixer will be made read-write).  Please refer to the driver
236           documentation for details.
238           All IBM models have both volume and mute control.  Newer Lenovo
239           models only have mute control (the volume hotkeys are just normal
240           keys and volume control is done through the main HDA mixer).
242 config THINKPAD_ACPI_DEBUGFACILITIES
243         bool "Maintainer debug facilities"
244         depends on THINKPAD_ACPI
245         default n
246         ---help---
247           Enables extra stuff in the thinkpad-acpi which is completely useless
248           for normal use.  Read the driver source to find out what it does.
250           Say N here, unless you were told by a kernel maintainer to do
251           otherwise.
253 config THINKPAD_ACPI_DEBUG
254         bool "Verbose debug mode"
255         depends on THINKPAD_ACPI
256         default n
257         ---help---
258           Enables extra debugging information, at the expense of a slightly
259           increase in driver size.
261           If you are not sure, say N here.
263 config THINKPAD_ACPI_UNSAFE_LEDS
264         bool "Allow control of important LEDs (unsafe)"
265         depends on THINKPAD_ACPI
266         default n
267         ---help---
268           Overriding LED state on ThinkPads can mask important
269           firmware alerts (like critical battery condition), or misled
270           the user into damaging the hardware (undocking or ejecting
271           the bay while buses are still active), etc.
273           LED control on the ThinkPad is write-only (with very few
274           exceptions on very ancient models), which makes it
275           impossible to know beforehand if important information will
276           be lost when one changes LED state.
278           Users that know what they are doing can enable this option
279           and the driver will allow control of every LED, including
280           the ones on the dock stations.
282           Never enable this option on a distribution kernel.
284           Say N here, unless you are building a kernel for your own
285           use, and need to control the important firmware LEDs.
287 config THINKPAD_ACPI_VIDEO
288         bool "Video output control support"
289         depends on THINKPAD_ACPI
290         default y
291         ---help---
292           Allows the thinkpad_acpi driver to provide an interface to control
293           the various video output ports.
295           This feature often won't work well, depending on ThinkPad model,
296           display state, video output devices in use, whether there is a X
297           server running, phase of the moon, and the current mood of
298           Schroedinger's cat.  If you can use X.org's RandR to control
299           your ThinkPad's video output ports instead of this feature,
300           don't think twice: do it and say N here to save some memory.
302           If you are not sure, say Y here.
304 config THINKPAD_ACPI_HOTKEY_POLL
305         bool "Support NVRAM polling for hot keys"
306         depends on THINKPAD_ACPI
307         default y
308         ---help---
309           Some thinkpad models benefit from NVRAM polling to detect a few of
310           the hot key press events.  If you know your ThinkPad model does not
311           need to do NVRAM polling to support any of the hot keys you use,
312           unselecting this option will save about 1kB of memory.
314           ThinkPads T40 and newer, R52 and newer, and X31 and newer are
315           unlikely to need NVRAM polling in their latest BIOS versions.
317           NVRAM polling can detect at most the following keys: ThinkPad/Access
318           IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
319           Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
321           If you are not sure, say Y here.  The driver enables polling only if
322           it is strictly necessary to do so.
324 config INTEL_MENLOW
325         tristate "Thermal Management driver for Intel menlow platform"
326         depends on ACPI_THERMAL
327         select THERMAL
328         ---help---
329           ACPI thermal management enhancement driver on
330           Intel Menlow platform.
332           If unsure, say N.
334 config EEEPC_LAPTOP
335         tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
336         depends on ACPI
337         depends on INPUT
338         depends on EXPERIMENTAL
339         select BACKLIGHT_CLASS_DEVICE
340         select HWMON
341         select RFKILL
342         ---help---
343           This driver supports the Fn-Fx keys on Eee PC laptops.
344           It also adds the ability to switch camera/wlan on/off.
346           If you have an Eee PC laptop, say Y or M here.
349 config ACPI_WMI
350         tristate "WMI"
351         depends on ACPI
352         help
353           This driver adds support for the ACPI-WMI (Windows Management
354           Instrumentation) mapper device (PNP0C14) found on some systems.
356           ACPI-WMI is a proprietary extension to ACPI to expose parts of the
357           ACPI firmware to userspace - this is done through various vendor
358           defined methods and data blocks in a PNP0C14 device, which are then
359           made available for userspace to call.
361           The implementation of this in Linux currently only exposes this to
362           other kernel space drivers.
364           This driver is a required dependency to build the firmware specific
365           drivers needed on many machines, including Acer and HP laptops.
367           It is safe to enable this driver even if your DSDT doesn't define
368           any ACPI-WMI devices.
370 config ACPI_ASUS
371         tristate "ASUS/Medion Laptop Extras"
372         depends on ACPI
373         select BACKLIGHT_CLASS_DEVICE
374         ---help---
375           This driver provides support for extra features of ACPI-compatible
376           ASUS laptops. As some of Medion laptops are made by ASUS, it may also
377           support some Medion laptops (such as 9675 for example).  It makes all
378           the extra buttons generate standard ACPI events that go through
379           /proc/acpi/events, and (on some models) adds support for changing the
380           display brightness and output, switching the LCD backlight on and off,
381           and most importantly, allows you to blink those fancy LEDs intended
382           for reporting mail and wireless status.
384           Note: display switching code is currently considered EXPERIMENTAL,
385           toying with these values may even lock your machine.
387           All settings are changed via /proc/acpi/asus directory entries. Owner
388           and group for these entries can be set with asus_uid and asus_gid
389           parameters.
391           More information and a userspace daemon for handling the extra buttons
392           at <http://sourceforge.net/projects/acpi4asus/>.
394           If you have an ACPI-compatible ASUS laptop, say Y or M here. This
395           driver is still under development, so if your laptop is unsupported or
396           something works not quite as expected, please use the mailing list
397           available on the above page (acpi4asus-user@lists.sourceforge.net).
399           NOTE: This driver is deprecated and will probably be removed soon,
400           use asus-laptop instead.
402 config ACPI_TOSHIBA
403         tristate "Toshiba Laptop Extras"
404         depends on ACPI
405         depends on INPUT
406         select INPUT_POLLDEV
407         select NET
408         select RFKILL
409         select BACKLIGHT_CLASS_DEVICE
410         ---help---
411           This driver adds support for access to certain system settings
412           on "legacy free" Toshiba laptops.  These laptops can be recognized by
413           their lack of a BIOS setup menu and APM support.
415           On these machines, all system configuration is handled through the
416           ACPI.  This driver is required for access to controls not covered
417           by the general ACPI drivers, such as LCD brightness, video output,
418           etc.
420           This driver differs from the non-ACPI Toshiba laptop driver (located
421           under "Processor type and features") in several aspects.
422           Configuration is accessed by reading and writing text files in the
423           /proc tree instead of by program interface to /dev.  Furthermore, no
424           power management functions are exposed, as those are handled by the
425           general ACPI drivers.
427           More information about this driver is available at
428           <http://memebeam.org/toys/ToshibaAcpiDriver>.
430           If you have a legacy free Toshiba laptop (such as the Libretto L1
431           series), say Y.
432 endif # X86_PLATFORM_DEVICES