thinkpad-acpi: restrict access to some firmware LEDs
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / platform / x86 / Kconfig
blobd45c6ab729f8a9c48919303ad1c2ab0553662d78
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 FUJITSU_LAPTOP
71         tristate "Fujitsu Laptop Extras"
72         depends on ACPI
73         depends on INPUT
74         depends on BACKLIGHT_CLASS_DEVICE
75         ---help---
76           This is a driver for laptops built by Fujitsu:
78             * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
79             * Possibly other Fujitsu laptop models
80             * Tested with S6410 and S7020
82           It adds support for LCD brightness control and some hotkeys.
84           If you have a Fujitsu laptop, say Y or M here.
86 config FUJITSU_LAPTOP_DEBUG
87         bool "Verbose debug mode for Fujitsu Laptop Extras"
88         depends on FUJITSU_LAPTOP
89         default n
90         ---help---
91           Enables extra debug output from the fujitsu extras driver, at the
92           expense of a slight increase in driver size.
94           If you are not sure, say N here.
96 config TC1100_WMI
97         tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)"
98         depends on !X86_64
99         depends on EXPERIMENTAL
100         depends on ACPI
101         select ACPI_WMI
102         ---help---
103           This is a driver for the WMI extensions (wireless and bluetooth power
104           control) of the HP Compaq TC1100 tablet.
106 config HP_WMI
107         tristate "HP WMI extras"
108         depends on ACPI_WMI
109         depends on INPUT
110         depends on RFKILL
111         help
112          Say Y here if you want to support WMI-based hotkeys on HP laptops and
113          to read data from WMI such as docking or ambient light sensor state.
115          To compile this driver as a module, choose M here: the module will
116          be called hp-wmi.
118 config MSI_LAPTOP
119         tristate "MSI Laptop Extras"
120         depends on ACPI
121         depends on BACKLIGHT_CLASS_DEVICE
122         ---help---
123           This is a driver for laptops built by MSI (MICRO-STAR
124           INTERNATIONAL):
126           MSI MegaBook S270 (MS-1013)
127           Cytron/TCM/Medion/Tchibo MD96100/SAM2000
129           It adds support for Bluetooth, WLAN and LCD brightness control.
131           More information about this driver is available at
132           <http://0pointer.de/lennart/tchibo.html>.
134           If you have an MSI S270 laptop, say Y or M here.
136 config PANASONIC_LAPTOP
137         tristate "Panasonic Laptop Extras"
138         depends on INPUT && ACPI
139         depends on BACKLIGHT_CLASS_DEVICE
140         ---help---
141           This driver adds support for access to backlight control and hotkeys
142           on Panasonic Let's Note laptops.
144           If you have a Panasonic Let's note laptop (such as the R1(N variant),
145           R2, R3, R5, T2, W2 and Y2 series), say Y.
147 config COMPAL_LAPTOP
148         tristate "Compal Laptop Extras"
149         depends on ACPI
150         depends on BACKLIGHT_CLASS_DEVICE
151         ---help---
152           This is a driver for laptops built by Compal:
154           Compal FL90/IFL90
155           Compal FL91/IFL91
156           Compal FL92/JFL92
157           Compal FT00/IFT00
159           It adds support for Bluetooth, WLAN and LCD brightness control.
161           If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here.
163 config SONY_LAPTOP
164         tristate "Sony Laptop Extras"
165         depends on ACPI
166         select BACKLIGHT_CLASS_DEVICE
167         depends on INPUT
168           ---help---
169           This mini-driver drives the SNC and SPIC devices present in the ACPI
170           BIOS of the Sony Vaio laptops.
172           It gives access to some extra laptop functionalities like Bluetooth,
173           screen brightness control, Fn keys and allows powering on/off some
174           devices.
176           Read <file:Documentation/laptops/sony-laptop.txt> for more information.
178 config SONYPI_COMPAT
179         bool "Sonypi compatibility"
180         depends on SONY_LAPTOP
181           ---help---
182           Build the sonypi driver compatibility code into the sony-laptop driver.
184 config THINKPAD_ACPI
185         tristate "ThinkPad ACPI Laptop Extras"
186         depends on ACPI
187         depends on INPUT
188         select BACKLIGHT_LCD_SUPPORT
189         select BACKLIGHT_CLASS_DEVICE
190         select HWMON
191         select NVRAM
192         select NEW_LEDS
193         select LEDS_CLASS
194         select NET
195         select RFKILL
196         ---help---
197           This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
198           support for Fn-Fx key combinations, Bluetooth control, video
199           output switching, ThinkLight control, UltraBay eject and more.
200           For more information about this driver see
201           <file:Documentation/laptops/thinkpad-acpi.txt> and
202           <http://ibm-acpi.sf.net/> .
204           This driver was formerly known as ibm-acpi.
206           If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
208 config THINKPAD_ACPI_DEBUGFACILITIES
209         bool "Maintainer debug facilities"
210         depends on THINKPAD_ACPI
211         default n
212         ---help---
213           Enables extra stuff in the thinkpad-acpi which is completely useless
214           for normal use.  Read the driver source to find out what it does.
216           Say N here, unless you were told by a kernel maintainer to do
217           otherwise.
219 config THINKPAD_ACPI_DEBUG
220         bool "Verbose debug mode"
221         depends on THINKPAD_ACPI
222         default n
223         ---help---
224           Enables extra debugging information, at the expense of a slightly
225           increase in driver size.
227           If you are not sure, say N here.
229 config THINKPAD_ACPI_UNSAFE_LEDS
230         bool "Allow control of important LEDs (unsafe)"
231         depends on THINKPAD_ACPI
232         default n
233         ---help---
234           Overriding LED state on ThinkPads can mask important
235           firmware alerts (like critical battery condition), or misled
236           the user into damaging the hardware (undocking or ejecting
237           the bay while buses are still active), etc.
239           LED control on the ThinkPad is write-only (with very few
240           exceptions on very ancient models), which makes it
241           impossible to know beforehand if important information will
242           be lost when one changes LED state.
244           Users that know what they are doing can enable this option
245           and the driver will allow control of every LED, including
246           the ones on the dock stations.
248           Never enable this option on a distribution kernel.
250           Say N here, unless you are building a kernel for your own
251           use, and need to control the important firmware LEDs.
253 config THINKPAD_ACPI_DOCK
254         bool "Legacy Docking Station Support"
255         depends on THINKPAD_ACPI
256         depends on ACPI_DOCK=n
257         default n
258         ---help---
259           Allows the thinkpad_acpi driver to handle docking station events.
260           This support was made obsolete by the generic ACPI docking station
261           support (CONFIG_ACPI_DOCK).  It will allow locking and removing the
262           laptop from the docking station, but will not properly connect PCI
263           devices.
265           If you are not sure, say N here.
267 config THINKPAD_ACPI_BAY
268         bool "Legacy Removable Bay Support"
269         depends on THINKPAD_ACPI
270         default y
271         ---help---
272           Allows the thinkpad_acpi driver to handle removable bays.  It will
273           electrically disable the device in the bay, and also generate
274           notifications when the bay lever is ejected or inserted.
276           If you are not sure, say Y here.
278 config THINKPAD_ACPI_VIDEO
279         bool "Video output control support"
280         depends on THINKPAD_ACPI
281         default y
282         ---help---
283           Allows the thinkpad_acpi driver to provide an interface to control
284           the various video output ports.
286           This feature often won't work well, depending on ThinkPad model,
287           display state, video output devices in use, whether there is a X
288           server running, phase of the moon, and the current mood of
289           Schroedinger's cat.  If you can use X.org's RandR to control
290           your ThinkPad's video output ports instead of this feature,
291           don't think twice: do it and say N here to save some memory.
293           If you are not sure, say Y here.
295 config THINKPAD_ACPI_HOTKEY_POLL
296         bool "Support NVRAM polling for hot keys"
297         depends on THINKPAD_ACPI
298         default y
299         ---help---
300           Some thinkpad models benefit from NVRAM polling to detect a few of
301           the hot key press events.  If you know your ThinkPad model does not
302           need to do NVRAM polling to support any of the hot keys you use,
303           unselecting this option will save about 1kB of memory.
305           ThinkPads T40 and newer, R52 and newer, and X31 and newer are
306           unlikely to need NVRAM polling in their latest BIOS versions.
308           NVRAM polling can detect at most the following keys: ThinkPad/Access
309           IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
310           Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
312           If you are not sure, say Y here.  The driver enables polling only if
313           it is strictly necessary to do so.
315 config INTEL_MENLOW
316         tristate "Thermal Management driver for Intel menlow platform"
317         depends on ACPI_THERMAL
318         select THERMAL
319         ---help---
320           ACPI thermal management enhancement driver on
321           Intel Menlow platform.
323           If unsure, say N.
325 config EEEPC_LAPTOP
326         tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
327         depends on ACPI
328         depends on INPUT
329         depends on EXPERIMENTAL
330         select BACKLIGHT_CLASS_DEVICE
331         select HWMON
332         select RFKILL
333         ---help---
334           This driver supports the Fn-Fx keys on Eee PC laptops.
335           It also adds the ability to switch camera/wlan on/off.
337           If you have an Eee PC laptop, say Y or M here.
340 config ACPI_WMI
341         tristate "WMI"
342         depends on ACPI
343         help
344           This driver adds support for the ACPI-WMI (Windows Management
345           Instrumentation) mapper device (PNP0C14) found on some systems.
347           ACPI-WMI is a proprietary extension to ACPI to expose parts of the
348           ACPI firmware to userspace - this is done through various vendor
349           defined methods and data blocks in a PNP0C14 device, which are then
350           made available for userspace to call.
352           The implementation of this in Linux currently only exposes this to
353           other kernel space drivers.
355           This driver is a required dependency to build the firmware specific
356           drivers needed on many machines, including Acer and HP laptops.
358           It is safe to enable this driver even if your DSDT doesn't define
359           any ACPI-WMI devices.
361 config ACPI_ASUS
362         tristate "ASUS/Medion Laptop Extras"
363         depends on ACPI
364         select BACKLIGHT_CLASS_DEVICE
365         ---help---
366           This driver provides support for extra features of ACPI-compatible
367           ASUS laptops. As some of Medion laptops are made by ASUS, it may also
368           support some Medion laptops (such as 9675 for example).  It makes all
369           the extra buttons generate standard ACPI events that go through
370           /proc/acpi/events, and (on some models) adds support for changing the
371           display brightness and output, switching the LCD backlight on and off,
372           and most importantly, allows you to blink those fancy LEDs intended
373           for reporting mail and wireless status.
375           Note: display switching code is currently considered EXPERIMENTAL,
376           toying with these values may even lock your machine.
378           All settings are changed via /proc/acpi/asus directory entries. Owner
379           and group for these entries can be set with asus_uid and asus_gid
380           parameters.
382           More information and a userspace daemon for handling the extra buttons
383           at <http://sourceforge.net/projects/acpi4asus/>.
385           If you have an ACPI-compatible ASUS laptop, say Y or M here. This
386           driver is still under development, so if your laptop is unsupported or
387           something works not quite as expected, please use the mailing list
388           available on the above page (acpi4asus-user@lists.sourceforge.net).
390           NOTE: This driver is deprecated and will probably be removed soon,
391           use asus-laptop instead.
393 config ACPI_TOSHIBA
394         tristate "Toshiba Laptop Extras"
395         depends on ACPI
396         depends on INPUT
397         select INPUT_POLLDEV
398         select NET
399         select RFKILL
400         select BACKLIGHT_CLASS_DEVICE
401         ---help---
402           This driver adds support for access to certain system settings
403           on "legacy free" Toshiba laptops.  These laptops can be recognized by
404           their lack of a BIOS setup menu and APM support.
406           On these machines, all system configuration is handled through the
407           ACPI.  This driver is required for access to controls not covered
408           by the general ACPI drivers, such as LCD brightness, video output,
409           etc.
411           This driver differs from the non-ACPI Toshiba laptop driver (located
412           under "Processor type and features") in several aspects.
413           Configuration is accessed by reading and writing text files in the
414           /proc tree instead of by program interface to /dev.  Furthermore, no
415           power management functions are exposed, as those are handled by the
416           general ACPI drivers.
418           More information about this driver is available at
419           <http://memebeam.org/toys/ToshibaAcpiDriver>.
421           If you have a legacy free Toshiba laptop (such as the Libretto L1
422           series), say Y.
423 endif # X86_PLATFORM_DEVICES