thinkpad-acpi: make volume subdriver optional
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / platform / x86 / Kconfig
blob4e2d007e9cc744eace3a0f93b477ddff84c05057
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 || RFKILL = n
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 ACERHDF
38         tristate "Acer Aspire One temperature and fan driver"
39         depends on THERMAL && THERMAL_HWMON && ACPI
40         ---help---
41           This is a driver for Acer Aspire One netbooks. It allows to access
42           the temperature sensor and to control the fan.
44           After loading this driver the BIOS is still in control of the fan.
45           To let the kernel handle the fan, do:
46           echo -n enabled > /sys/class/thermal/thermal_zone0/mode
48           For more information about this driver see
49           <http://piie.net/files/acerhdf_README.txt>
51           If you have an Acer Aspire One netbook, say Y or M
52           here.
54 config ASUS_LAPTOP
55         tristate "Asus Laptop Extras"
56         depends on ACPI
57         depends on !ACPI_ASUS
58         select LEDS_CLASS
59         select NEW_LEDS
60         select BACKLIGHT_CLASS_DEVICE
61         depends on INPUT
62         ---help---
63           This is the new Linux driver for Asus laptops. It may also support some
64           MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
65           standard ACPI events and input events. It also adds
66           support for video output switching, LCD backlight control, Bluetooth and
67           Wlan control, and most importantly, allows you to blink those fancy LEDs.
69           For more information and a userspace daemon for handling the extra
70           buttons see <http://acpi4asus.sf.net>.
72           If you have an ACPI-compatible ASUS laptop, say Y or M here.
74 config DELL_LAPTOP
75         tristate "Dell Laptop Extras (EXPERIMENTAL)"
76         depends on X86
77         depends on DCDBAS
78         depends on EXPERIMENTAL
79         depends on BACKLIGHT_CLASS_DEVICE
80         depends on RFKILL || RFKILL = n
81         depends on POWER_SUPPLY
82         default n
83         ---help---
84         This driver adds support for rfkill and backlight control to Dell
85         laptops.
87 config DELL_WMI
88         tristate "Dell WMI extras"
89         depends on ACPI_WMI
90         depends on INPUT
91         ---help---
92           Say Y here if you want to support WMI-based hotkeys on Dell laptops.
94           To compile this driver as a module, choose M here: the module will
95           be called dell-wmi.
97 config FUJITSU_LAPTOP
98         tristate "Fujitsu Laptop Extras"
99         depends on ACPI
100         depends on INPUT
101         depends on BACKLIGHT_CLASS_DEVICE
102         depends on LEDS_CLASS || LEDS_CLASS=n
103         ---help---
104           This is a driver for laptops built by Fujitsu:
106             * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
107             * Possibly other Fujitsu laptop models
108             * Tested with S6410 and S7020
110           It adds support for LCD brightness control and some hotkeys.
112           If you have a Fujitsu laptop, say Y or M here.
114 config FUJITSU_LAPTOP_DEBUG
115         bool "Verbose debug mode for Fujitsu Laptop Extras"
116         depends on FUJITSU_LAPTOP
117         default n
118         ---help---
119           Enables extra debug output from the fujitsu extras driver, at the
120           expense of a slight increase in driver size.
122           If you are not sure, say N here.
124 config TC1100_WMI
125         tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)"
126         depends on !X86_64
127         depends on EXPERIMENTAL
128         depends on ACPI
129         select ACPI_WMI
130         ---help---
131           This is a driver for the WMI extensions (wireless and bluetooth power
132           control) of the HP Compaq TC1100 tablet.
134 config HP_WMI
135         tristate "HP WMI extras"
136         depends on ACPI_WMI
137         depends on INPUT
138         depends on RFKILL || RFKILL = n
139         help
140          Say Y here if you want to support WMI-based hotkeys on HP laptops and
141          to read data from WMI such as docking or ambient light sensor state.
143          To compile this driver as a module, choose M here: the module will
144          be called hp-wmi.
146 config MSI_LAPTOP
147         tristate "MSI Laptop Extras"
148         depends on ACPI
149         depends on BACKLIGHT_CLASS_DEVICE
150         ---help---
151           This is a driver for laptops built by MSI (MICRO-STAR
152           INTERNATIONAL):
154           MSI MegaBook S270 (MS-1013)
155           Cytron/TCM/Medion/Tchibo MD96100/SAM2000
157           It adds support for Bluetooth, WLAN and LCD brightness control.
159           More information about this driver is available at
160           <http://0pointer.de/lennart/tchibo.html>.
162           If you have an MSI S270 laptop, say Y or M here.
164 config PANASONIC_LAPTOP
165         tristate "Panasonic Laptop Extras"
166         depends on INPUT && ACPI
167         depends on BACKLIGHT_CLASS_DEVICE
168         ---help---
169           This driver adds support for access to backlight control and hotkeys
170           on Panasonic Let's Note laptops.
172           If you have a Panasonic Let's note laptop (such as the R1(N variant),
173           R2, R3, R5, T2, W2 and Y2 series), say Y.
175 config COMPAL_LAPTOP
176         tristate "Compal Laptop Extras"
177         depends on ACPI
178         depends on BACKLIGHT_CLASS_DEVICE
179         ---help---
180           This is a driver for laptops built by Compal:
182           Compal FL90/IFL90
183           Compal FL91/IFL91
184           Compal FL92/JFL92
185           Compal FT00/IFT00
187           It adds support for Bluetooth, WLAN and LCD brightness control.
189           If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here.
191 config SONY_LAPTOP
192         tristate "Sony Laptop Extras"
193         depends on ACPI
194         select BACKLIGHT_CLASS_DEVICE
195         depends on INPUT
196         depends on RFKILL
197           ---help---
198           This mini-driver drives the SNC and SPIC devices present in the ACPI
199           BIOS of the Sony Vaio laptops.
201           It gives access to some extra laptop functionalities like Bluetooth,
202           screen brightness control, Fn keys and allows powering on/off some
203           devices.
205           Read <file:Documentation/laptops/sony-laptop.txt> for more information.
207 config SONYPI_COMPAT
208         bool "Sonypi compatibility"
209         depends on SONY_LAPTOP
210           ---help---
211           Build the sonypi driver compatibility code into the sony-laptop driver.
213 config THINKPAD_ACPI
214         tristate "ThinkPad ACPI Laptop Extras"
215         depends on ACPI
216         depends on INPUT
217         depends on RFKILL || RFKILL = n
218         select BACKLIGHT_LCD_SUPPORT
219         select BACKLIGHT_CLASS_DEVICE
220         select HWMON
221         select NVRAM
222         select NEW_LEDS
223         select LEDS_CLASS
224         ---help---
225           This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
226           support for Fn-Fx key combinations, Bluetooth control, video
227           output switching, ThinkLight control, UltraBay eject and more.
228           For more information about this driver see
229           <file:Documentation/laptops/thinkpad-acpi.txt> and
230           <http://ibm-acpi.sf.net/> .
232           This driver was formerly known as ibm-acpi.
234           If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
236 config THINKPAD_ACPI_ALSA_SUPPORT
237         bool "Console audio control ALSA interface"
238         depends on THINKPAD_ACPI
239         depends on SND
240         depends on SND = y || THINKPAD_ACPI = SND
241         default y
242         ---help---
243           Enables monitoring of the built-in console audio output control
244           (headphone and speakers), which is operated by the mute and (in
245           some ThinkPad models) volume hotkeys.
247           If this option is enabled, ThinkPad-ACPI will export an ALSA card
248           with a single read-only mixer control, which should be used for
249           on-screen-display feedback purposes by the Desktop Environment.
251           Optionally, the driver will also allow software control (the
252           ALSA mixer will be made read-write).  Please refer to the driver
253           documentation for details.
255           All IBM models have both volume and mute control.  Newer Lenovo
256           models only have mute control (the volume hotkeys are just normal
257           keys and volume control is done through the main HDA mixer).
259 config THINKPAD_ACPI_DEBUGFACILITIES
260         bool "Maintainer debug facilities"
261         depends on THINKPAD_ACPI
262         default n
263         ---help---
264           Enables extra stuff in the thinkpad-acpi which is completely useless
265           for normal use.  Read the driver source to find out what it does.
267           Say N here, unless you were told by a kernel maintainer to do
268           otherwise.
270 config THINKPAD_ACPI_DEBUG
271         bool "Verbose debug mode"
272         depends on THINKPAD_ACPI
273         default n
274         ---help---
275           Enables extra debugging information, at the expense of a slightly
276           increase in driver size.
278           If you are not sure, say N here.
280 config THINKPAD_ACPI_UNSAFE_LEDS
281         bool "Allow control of important LEDs (unsafe)"
282         depends on THINKPAD_ACPI
283         default n
284         ---help---
285           Overriding LED state on ThinkPads can mask important
286           firmware alerts (like critical battery condition), or misled
287           the user into damaging the hardware (undocking or ejecting
288           the bay while buses are still active), etc.
290           LED control on the ThinkPad is write-only (with very few
291           exceptions on very ancient models), which makes it
292           impossible to know beforehand if important information will
293           be lost when one changes LED state.
295           Users that know what they are doing can enable this option
296           and the driver will allow control of every LED, including
297           the ones on the dock stations.
299           Never enable this option on a distribution kernel.
301           Say N here, unless you are building a kernel for your own
302           use, and need to control the important firmware LEDs.
304 config THINKPAD_ACPI_VIDEO
305         bool "Video output control support"
306         depends on THINKPAD_ACPI
307         default y
308         ---help---
309           Allows the thinkpad_acpi driver to provide an interface to control
310           the various video output ports.
312           This feature often won't work well, depending on ThinkPad model,
313           display state, video output devices in use, whether there is a X
314           server running, phase of the moon, and the current mood of
315           Schroedinger's cat.  If you can use X.org's RandR to control
316           your ThinkPad's video output ports instead of this feature,
317           don't think twice: do it and say N here to save memory and avoid
318           bad interactions with X.org.
320           NOTE: access to this feature is limited to processes with the
321           CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
322           where it interacts badly with X.org.
324           If you are not sure, say Y here but do try to check if you could
325           be using X.org RandR instead.
327 config THINKPAD_ACPI_HOTKEY_POLL
328         bool "Support NVRAM polling for hot keys"
329         depends on THINKPAD_ACPI
330         default y
331         ---help---
332           Some thinkpad models benefit from NVRAM polling to detect a few of
333           the hot key press events.  If you know your ThinkPad model does not
334           need to do NVRAM polling to support any of the hot keys you use,
335           unselecting this option will save about 1kB of memory.
337           ThinkPads T40 and newer, R52 and newer, and X31 and newer are
338           unlikely to need NVRAM polling in their latest BIOS versions.
340           NVRAM polling can detect at most the following keys: ThinkPad/Access
341           IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
342           Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
344           If you are not sure, say Y here.  The driver enables polling only if
345           it is strictly necessary to do so.
347 config INTEL_MENLOW
348         tristate "Thermal Management driver for Intel menlow platform"
349         depends on ACPI_THERMAL
350         select THERMAL
351         ---help---
352           ACPI thermal management enhancement driver on
353           Intel Menlow platform.
355           If unsure, say N.
357 config EEEPC_LAPTOP
358         tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
359         depends on ACPI
360         depends on INPUT
361         depends on EXPERIMENTAL
362         depends on RFKILL || RFKILL = n
363         depends on HOTPLUG_PCI
364         select BACKLIGHT_CLASS_DEVICE
365         select HWMON
366         ---help---
367           This driver supports the Fn-Fx keys on Eee PC laptops.
369           It  also gives access to some extra laptop functionalities like
370           Bluetooth, backlight and allows powering on/off some other
371           devices.
373           If you have an Eee PC laptop, say Y or M here.
376 config ACPI_WMI
377         tristate "WMI"
378         depends on ACPI
379         help
380           This driver adds support for the ACPI-WMI (Windows Management
381           Instrumentation) mapper device (PNP0C14) found on some systems.
383           ACPI-WMI is a proprietary extension to ACPI to expose parts of the
384           ACPI firmware to userspace - this is done through various vendor
385           defined methods and data blocks in a PNP0C14 device, which are then
386           made available for userspace to call.
388           The implementation of this in Linux currently only exposes this to
389           other kernel space drivers.
391           This driver is a required dependency to build the firmware specific
392           drivers needed on many machines, including Acer and HP laptops.
394           It is safe to enable this driver even if your DSDT doesn't define
395           any ACPI-WMI devices.
397 config ACPI_ASUS
398         tristate "ASUS/Medion Laptop Extras (DEPRECATED)"
399         depends on ACPI
400         select BACKLIGHT_CLASS_DEVICE
401         ---help---
402           This driver provides support for extra features of ACPI-compatible
403           ASUS laptops. As some of Medion laptops are made by ASUS, it may also
404           support some Medion laptops (such as 9675 for example).  It makes all
405           the extra buttons generate standard ACPI events that go through
406           /proc/acpi/events, and (on some models) adds support for changing the
407           display brightness and output, switching the LCD backlight on and off,
408           and most importantly, allows you to blink those fancy LEDs intended
409           for reporting mail and wireless status.
411           Note: display switching code is currently considered EXPERIMENTAL,
412           toying with these values may even lock your machine.
414           All settings are changed via /proc/acpi/asus directory entries. Owner
415           and group for these entries can be set with asus_uid and asus_gid
416           parameters.
418           More information and a userspace daemon for handling the extra buttons
419           at <http://acpi4asus.sf.net>.
421           If you have an ACPI-compatible ASUS laptop, say Y or M here. This
422           driver is still under development, so if your laptop is unsupported or
423           something works not quite as expected, please use the mailing list
424           available on the above page (acpi4asus-user@lists.sourceforge.net).
426           NOTE: This driver is deprecated and will probably be removed soon,
427           use asus-laptop instead.
429 config TOPSTAR_LAPTOP
430         tristate "Topstar Laptop Extras"
431         depends on ACPI
432         depends on INPUT
433         ---help---
434           This driver adds support for hotkeys found on Topstar laptops.
436           If you have a Topstar laptop, say Y or M here.
438 config ACPI_TOSHIBA
439         tristate "Toshiba Laptop Extras"
440         depends on ACPI
441         depends on INPUT
442         depends on RFKILL || RFKILL = n
443         select INPUT_POLLDEV
444         select BACKLIGHT_CLASS_DEVICE
445         ---help---
446           This driver adds support for access to certain system settings
447           on "legacy free" Toshiba laptops.  These laptops can be recognized by
448           their lack of a BIOS setup menu and APM support.
450           On these machines, all system configuration is handled through the
451           ACPI.  This driver is required for access to controls not covered
452           by the general ACPI drivers, such as LCD brightness, video output,
453           etc.
455           This driver differs from the non-ACPI Toshiba laptop driver (located
456           under "Processor type and features") in several aspects.
457           Configuration is accessed by reading and writing text files in the
458           /proc tree instead of by program interface to /dev.  Furthermore, no
459           power management functions are exposed, as those are handled by the
460           general ACPI drivers.
462           More information about this driver is available at
463           <http://memebeam.org/toys/ToshibaAcpiDriver>.
465           If you have a legacy free Toshiba laptop (such as the Libretto L1
466           series), say Y.
467 endif # X86_PLATFORM_DEVICES