]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/platform/x86/Kconfig
asus-laptop: set initial lcd state
[mirror_ubuntu-jammy-kernel.git] / drivers / platform / x86 / Kconfig
CommitLineData
41b16dce
LB
1#
2# X86 Platform Specific Drivers
3#
4
5menuconfig 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.
12
13 If you say N, all options in this submenu will be skipped and disabled.
14
15if X86_PLATFORM_DEVICES
16
17config ACER_WMI
54b1ec89 18 tristate "Acer WMI Laptop Extras"
41b16dce
LB
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
19d337df 24 depends on RFKILL || RFKILL = n
41b16dce
LB
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.
30
31 For more information about this driver see
32 <file:Documentation/laptops/acer-wmi.txt>
33
34 If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
35 here.
36
e86435eb
PF
37config 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.
43
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
47
48 For more information about this driver see
49 <http://piie.net/files/acerhdf_README.txt>
50
51 If you have an Acer Aspire One netbook, say Y or M
52 here.
53
41b16dce 54config ASUS_LAPTOP
6122af37 55 tristate "Asus Laptop Extras"
41b16dce 56 depends on ACPI
21ab01e2 57 depends on !ACPI_ASUS
e73e2c62
CC
58 select LEDS_CLASS
59 select NEW_LEDS
60 select BACKLIGHT_CLASS_DEVICE
12d6f35b 61 depends on INPUT
66a71dd1 62 select INPUT_SPARSEKMAP
41b16dce
LB
63 ---help---
64 This is the new Linux driver for Asus laptops. It may also support some
65 MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate
76593d6f 66 standard ACPI events and input events. It also adds
41b16dce
LB
67 support for video output switching, LCD backlight control, Bluetooth and
68 Wlan control, and most importantly, allows you to blink those fancy LEDs.
69
70 For more information and a userspace daemon for handling the extra
76593d6f 71 buttons see <http://acpi4asus.sf.net>.
41b16dce
LB
72
73 If you have an ACPI-compatible ASUS laptop, say Y or M here.
74
cad73120
LB
75config DELL_LAPTOP
76 tristate "Dell Laptop Extras (EXPERIMENTAL)"
77 depends on X86
78 depends on DCDBAS
79 depends on EXPERIMENTAL
80 depends on BACKLIGHT_CLASS_DEVICE
19d337df 81 depends on RFKILL || RFKILL = n
310d8c93 82 depends on POWER_SUPPLY
cad73120
LB
83 default n
84 ---help---
85 This driver adds support for rfkill and backlight control to Dell
86 laptops.
87
0b3f6109
MG
88config DELL_WMI
89 tristate "Dell WMI extras"
90 depends on ACPI_WMI
91 depends on INPUT
92 ---help---
93 Say Y here if you want to support WMI-based hotkeys on Dell laptops.
94
95 To compile this driver as a module, choose M here: the module will
96 be called dell-wmi.
97
41b16dce
LB
98config FUJITSU_LAPTOP
99 tristate "Fujitsu Laptop Extras"
100 depends on ACPI
101 depends on INPUT
102 depends on BACKLIGHT_CLASS_DEVICE
c1b5310a 103 depends on LEDS_CLASS || LEDS_CLASS=n
41b16dce
LB
104 ---help---
105 This is a driver for laptops built by Fujitsu:
106
107 * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
108 * Possibly other Fujitsu laptop models
109 * Tested with S6410 and S7020
110
111 It adds support for LCD brightness control and some hotkeys.
112
113 If you have a Fujitsu laptop, say Y or M here.
114
115config FUJITSU_LAPTOP_DEBUG
116 bool "Verbose debug mode for Fujitsu Laptop Extras"
117 depends on FUJITSU_LAPTOP
118 default n
119 ---help---
120 Enables extra debug output from the fujitsu extras driver, at the
121 expense of a slight increase in driver size.
122
123 If you are not sure, say N here.
124
125config TC1100_WMI
126 tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)"
127 depends on !X86_64
128 depends on EXPERIMENTAL
129 depends on ACPI
130 select ACPI_WMI
131 ---help---
132 This is a driver for the WMI extensions (wireless and bluetooth power
133 control) of the HP Compaq TC1100 tablet.
134
135config HP_WMI
136 tristate "HP WMI extras"
137 depends on ACPI_WMI
138 depends on INPUT
19d337df 139 depends on RFKILL || RFKILL = n
41b16dce
LB
140 help
141 Say Y here if you want to support WMI-based hotkeys on HP laptops and
142 to read data from WMI such as docking or ambient light sensor state.
143
144 To compile this driver as a module, choose M here: the module will
145 be called hp-wmi.
146
147config MSI_LAPTOP
148 tristate "MSI Laptop Extras"
149 depends on ACPI
150 depends on BACKLIGHT_CLASS_DEVICE
151 ---help---
152 This is a driver for laptops built by MSI (MICRO-STAR
153 INTERNATIONAL):
154
155 MSI MegaBook S270 (MS-1013)
156 Cytron/TCM/Medion/Tchibo MD96100/SAM2000
157
158 It adds support for Bluetooth, WLAN and LCD brightness control.
159
160 More information about this driver is available at
161 <http://0pointer.de/lennart/tchibo.html>.
162
163 If you have an MSI S270 laptop, say Y or M here.
164
165config PANASONIC_LAPTOP
166 tristate "Panasonic Laptop Extras"
167 depends on INPUT && ACPI
168 depends on BACKLIGHT_CLASS_DEVICE
169 ---help---
170 This driver adds support for access to backlight control and hotkeys
171 on Panasonic Let's Note laptops.
172
173 If you have a Panasonic Let's note laptop (such as the R1(N variant),
174 R2, R3, R5, T2, W2 and Y2 series), say Y.
175
176config COMPAL_LAPTOP
177 tristate "Compal Laptop Extras"
178 depends on ACPI
179 depends on BACKLIGHT_CLASS_DEVICE
180 ---help---
181 This is a driver for laptops built by Compal:
182
183 Compal FL90/IFL90
184 Compal FL91/IFL91
185 Compal FL92/JFL92
186 Compal FT00/IFT00
187
188 It adds support for Bluetooth, WLAN and LCD brightness control.
189
190 If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here.
191
192config SONY_LAPTOP
193 tristate "Sony Laptop Extras"
194 depends on ACPI
195 select BACKLIGHT_CLASS_DEVICE
196 depends on INPUT
14bd3136 197 depends on RFKILL
41b16dce
LB
198 ---help---
199 This mini-driver drives the SNC and SPIC devices present in the ACPI
200 BIOS of the Sony Vaio laptops.
201
202 It gives access to some extra laptop functionalities like Bluetooth,
203 screen brightness control, Fn keys and allows powering on/off some
204 devices.
205
206 Read <file:Documentation/laptops/sony-laptop.txt> for more information.
207
208config SONYPI_COMPAT
209 bool "Sonypi compatibility"
210 depends on SONY_LAPTOP
211 ---help---
212 Build the sonypi driver compatibility code into the sony-laptop driver.
213
214config THINKPAD_ACPI
215 tristate "ThinkPad ACPI Laptop Extras"
216 depends on ACPI
d263da31 217 depends on INPUT
19d337df 218 depends on RFKILL || RFKILL = n
41b16dce
LB
219 select BACKLIGHT_LCD_SUPPORT
220 select BACKLIGHT_CLASS_DEVICE
221 select HWMON
222 select NVRAM
41b16dce
LB
223 select NEW_LEDS
224 select LEDS_CLASS
41b16dce
LB
225 ---help---
226 This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
227 support for Fn-Fx key combinations, Bluetooth control, video
228 output switching, ThinkLight control, UltraBay eject and more.
229 For more information about this driver see
230 <file:Documentation/laptops/thinkpad-acpi.txt> and
231 <http://ibm-acpi.sf.net/> .
232
233 This driver was formerly known as ibm-acpi.
234
6e5b08ee
HMH
235 Extra functionality will be available if the rfkill (CONFIG_RFKILL)
236 and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
237 Note that if you want ThinkPad-ACPI to be built-in instead of
238 modular, ALSA and rfkill will also have to be built-in.
239
41b16dce
LB
240 If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
241
ff850c33
HMH
242config THINKPAD_ACPI_ALSA_SUPPORT
243 bool "Console audio control ALSA interface"
244 depends on THINKPAD_ACPI
245 depends on SND
246 depends on SND = y || THINKPAD_ACPI = SND
247 default y
248 ---help---
249 Enables monitoring of the built-in console audio output control
250 (headphone and speakers), which is operated by the mute and (in
251 some ThinkPad models) volume hotkeys.
252
253 If this option is enabled, ThinkPad-ACPI will export an ALSA card
254 with a single read-only mixer control, which should be used for
255 on-screen-display feedback purposes by the Desktop Environment.
256
257 Optionally, the driver will also allow software control (the
258 ALSA mixer will be made read-write). Please refer to the driver
259 documentation for details.
260
261 All IBM models have both volume and mute control. Newer Lenovo
262 models only have mute control (the volume hotkeys are just normal
263 keys and volume control is done through the main HDA mixer).
264
a73f3091
HMH
265config THINKPAD_ACPI_DEBUGFACILITIES
266 bool "Maintainer debug facilities"
267 depends on THINKPAD_ACPI
268 default n
269 ---help---
270 Enables extra stuff in the thinkpad-acpi which is completely useless
271 for normal use. Read the driver source to find out what it does.
272
273 Say N here, unless you were told by a kernel maintainer to do
274 otherwise.
275
41b16dce
LB
276config THINKPAD_ACPI_DEBUG
277 bool "Verbose debug mode"
278 depends on THINKPAD_ACPI
279 default n
280 ---help---
281 Enables extra debugging information, at the expense of a slightly
282 increase in driver size.
283
284 If you are not sure, say N here.
285
a4d5effc
HMH
286config THINKPAD_ACPI_UNSAFE_LEDS
287 bool "Allow control of important LEDs (unsafe)"
288 depends on THINKPAD_ACPI
289 default n
290 ---help---
291 Overriding LED state on ThinkPads can mask important
292 firmware alerts (like critical battery condition), or misled
293 the user into damaging the hardware (undocking or ejecting
294 the bay while buses are still active), etc.
295
296 LED control on the ThinkPad is write-only (with very few
297 exceptions on very ancient models), which makes it
298 impossible to know beforehand if important information will
299 be lost when one changes LED state.
300
301 Users that know what they are doing can enable this option
302 and the driver will allow control of every LED, including
303 the ones on the dock stations.
304
305 Never enable this option on a distribution kernel.
306
307 Say N here, unless you are building a kernel for your own
308 use, and need to control the important firmware LEDs.
309
41b16dce
LB
310config THINKPAD_ACPI_VIDEO
311 bool "Video output control support"
312 depends on THINKPAD_ACPI
313 default y
314 ---help---
315 Allows the thinkpad_acpi driver to provide an interface to control
316 the various video output ports.
317
318 This feature often won't work well, depending on ThinkPad model,
319 display state, video output devices in use, whether there is a X
320 server running, phase of the moon, and the current mood of
321 Schroedinger's cat. If you can use X.org's RandR to control
322 your ThinkPad's video output ports instead of this feature,
323 don't think twice: do it and say N here to save some memory.
324
325 If you are not sure, say Y here.
326
327config 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.
336
337 ThinkPads T40 and newer, R52 and newer, and X31 and newer are
338 unlikely to need NVRAM polling in their latest BIOS versions.
339
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).
343
344 If you are not sure, say Y here. The driver enables polling only if
345 it is strictly necessary to do so.
346
347config 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.
354
355 If unsure, say N.
356
357config EEEPC_LAPTOP
358 tristate "Eee PC Hotkey Driver (EXPERIMENTAL)"
359 depends on ACPI
3a5093ee 360 depends on INPUT
41b16dce 361 depends on EXPERIMENTAL
19d337df 362 depends on RFKILL || RFKILL = n
44b3615b 363 depends on HOTPLUG_PCI
d97c0def
LB
364 select BACKLIGHT_CLASS_DEVICE
365 select HWMON
3c0eb510
CC
366 select LEDS_CLASS
367 select NEW_LEDS
642e0447 368 select INPUT_SPARSEKMAP
41b16dce
LB
369 ---help---
370 This driver supports the Fn-Fx keys on Eee PC laptops.
76593d6f
CC
371
372 It also gives access to some extra laptop functionalities like
373 Bluetooth, backlight and allows powering on/off some other
374 devices.
41b16dce
LB
375
376 If you have an Eee PC laptop, say Y or M here.
377
b4f9fe12
LB
378
379config ACPI_WMI
5fcdd177 380 tristate "WMI"
b4f9fe12 381 depends on ACPI
b4f9fe12
LB
382 help
383 This driver adds support for the ACPI-WMI (Windows Management
384 Instrumentation) mapper device (PNP0C14) found on some systems.
385
386 ACPI-WMI is a proprietary extension to ACPI to expose parts of the
387 ACPI firmware to userspace - this is done through various vendor
388 defined methods and data blocks in a PNP0C14 device, which are then
389 made available for userspace to call.
390
391 The implementation of this in Linux currently only exposes this to
392 other kernel space drivers.
393
394 This driver is a required dependency to build the firmware specific
395 drivers needed on many machines, including Acer and HP laptops.
396
397 It is safe to enable this driver even if your DSDT doesn't define
398 any ACPI-WMI devices.
399
d12d8baf
TR
400config MSI_WMI
401 tristate "MSI WMI extras"
402 depends on ACPI_WMI
403 depends on INPUT
de078e57 404 depends on BACKLIGHT_CLASS_DEVICE
c30116c6 405 select INPUT_SPARSEKMAP
d12d8baf
TR
406 help
407 Say Y here if you want to support WMI-based hotkeys on MSI laptops.
408
409 To compile this driver as a module, choose M here: the module will
410 be called msi-wmi.
411
b4f9fe12 412config ACPI_ASUS
6122af37 413 tristate "ASUS/Medion Laptop Extras (DEPRECATED)"
b4f9fe12
LB
414 depends on ACPI
415 select BACKLIGHT_CLASS_DEVICE
416 ---help---
417 This driver provides support for extra features of ACPI-compatible
418 ASUS laptops. As some of Medion laptops are made by ASUS, it may also
419 support some Medion laptops (such as 9675 for example). It makes all
420 the extra buttons generate standard ACPI events that go through
421 /proc/acpi/events, and (on some models) adds support for changing the
422 display brightness and output, switching the LCD backlight on and off,
423 and most importantly, allows you to blink those fancy LEDs intended
424 for reporting mail and wireless status.
425
426 Note: display switching code is currently considered EXPERIMENTAL,
427 toying with these values may even lock your machine.
428
429 All settings are changed via /proc/acpi/asus directory entries. Owner
430 and group for these entries can be set with asus_uid and asus_gid
431 parameters.
432
433 More information and a userspace daemon for handling the extra buttons
76593d6f 434 at <http://acpi4asus.sf.net>.
b4f9fe12
LB
435
436 If you have an ACPI-compatible ASUS laptop, say Y or M here. This
437 driver is still under development, so if your laptop is unsupported or
438 something works not quite as expected, please use the mailing list
439 available on the above page (acpi4asus-user@lists.sourceforge.net).
440
441 NOTE: This driver is deprecated and will probably be removed soon,
442 use asus-laptop instead.
443
9caeb532
HRK
444config TOPSTAR_LAPTOP
445 tristate "Topstar Laptop Extras"
446 depends on ACPI
447 depends on INPUT
448 ---help---
449 This driver adds support for hotkeys found on Topstar laptops.
450
451 If you have a Topstar laptop, say Y or M here.
452
b4f9fe12
LB
453config ACPI_TOSHIBA
454 tristate "Toshiba Laptop Extras"
455 depends on ACPI
456 depends on INPUT
19d337df 457 depends on RFKILL || RFKILL = n
b4f9fe12 458 select INPUT_POLLDEV
b4f9fe12
LB
459 select BACKLIGHT_CLASS_DEVICE
460 ---help---
461 This driver adds support for access to certain system settings
462 on "legacy free" Toshiba laptops. These laptops can be recognized by
463 their lack of a BIOS setup menu and APM support.
464
465 On these machines, all system configuration is handled through the
466 ACPI. This driver is required for access to controls not covered
467 by the general ACPI drivers, such as LCD brightness, video output,
468 etc.
469
470 This driver differs from the non-ACPI Toshiba laptop driver (located
471 under "Processor type and features") in several aspects.
472 Configuration is accessed by reading and writing text files in the
473 /proc tree instead of by program interface to /dev. Furthermore, no
474 power management functions are exposed, as those are handled by the
475 general ACPI drivers.
476
477 More information about this driver is available at
478 <http://memebeam.org/toys/ToshibaAcpiDriver>.
479
480 If you have a legacy free Toshiba laptop (such as the Libretto L1
481 series), say Y.
42b4e9ee
JS
482
483config TOSHIBA_BT_RFKILL
484 tristate "Toshiba Bluetooth RFKill switch support"
485 depends on ACPI
486 ---help---
487 This driver adds support for Bluetooth events for the RFKill
488 switch on modern Toshiba laptops with full ACPI support and
489 an RFKill switch.
490
491 This driver handles RFKill events for the TOS6205 Bluetooth,
492 and re-enables it when the switch is set back to the 'on'
493 position.
494
495 If you have a modern Toshiba laptop with a Bluetooth and an
496 RFKill switch (such as the Portege R500), say Y.
529aa8cb
TLSC
497
498config ACPI_CMPC
499 tristate "CMPC Laptop Extras"
500 depends on X86 && ACPI
501 select INPUT
502 select BACKLIGHT_CLASS_DEVICE
503 default n
504 help
505 Support for Intel Classmate PC ACPI devices, including some
506 keys as input device, backlight device, tablet and accelerometer
507 devices.
508
41b16dce 509endif # X86_PLATFORM_DEVICES