2008-12-01 13:09:47 +08:00
|
|
|
#
|
|
|
|
# X86 Platform Specific Drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig X86_PLATFORM_DEVICES
|
|
|
|
bool "X86 Platform Specific Device Drivers"
|
|
|
|
default y
|
2010-08-03 06:40:10 +08:00
|
|
|
depends on X86
|
2008-12-01 13:09:47 +08:00
|
|
|
---help---
|
|
|
|
Say Y here to get to see options for device drivers for various
|
|
|
|
x86 platforms, including vendor-specific laptop extension drivers.
|
|
|
|
This option alone does not add any kernel code.
|
|
|
|
|
|
|
|
If you say N, all options in this submenu will be skipped and disabled.
|
|
|
|
|
|
|
|
if X86_PLATFORM_DEVICES
|
|
|
|
|
|
|
|
config ACER_WMI
|
2009-02-14 17:53:59 +08:00
|
|
|
tristate "Acer WMI Laptop Extras"
|
2008-12-01 13:09:47 +08:00
|
|
|
depends on ACPI
|
2011-01-10 22:37:02 +08:00
|
|
|
select LEDS_CLASS
|
|
|
|
select NEW_LEDS
|
2008-12-01 13:09:47 +08:00
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
|
|
|
depends on SERIO_I8042
|
2010-12-07 10:29:20 +08:00
|
|
|
depends on INPUT
|
2009-06-02 19:01:37 +08:00
|
|
|
depends on RFKILL || RFKILL = n
|
2010-12-08 18:20:26 +08:00
|
|
|
depends on ACPI_WMI
|
2010-12-07 10:29:20 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2012-03-27 03:47:58 +08:00
|
|
|
# Acer WMI depends on ACPI_VIDEO when ACPI is enabled
|
|
|
|
select ACPI_VIDEO if ACPI
|
2008-12-01 13:09:47 +08:00
|
|
|
---help---
|
|
|
|
This is a driver for newer Acer (and Wistron) laptops. It adds
|
|
|
|
wireless radio and bluetooth control, and on some laptops,
|
|
|
|
exposes the mail LED and LCD backlight.
|
|
|
|
|
|
|
|
If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
|
|
|
|
here.
|
|
|
|
|
2009-06-22 00:53:03 +08:00
|
|
|
config ACERHDF
|
|
|
|
tristate "Acer Aspire One temperature and fan driver"
|
2014-12-16 01:00:13 +08:00
|
|
|
depends on ACPI && THERMAL
|
2014-11-28 22:20:50 +08:00
|
|
|
select THERMAL_GOV_BANG_BANG
|
2009-06-22 00:53:03 +08:00
|
|
|
---help---
|
|
|
|
This is a driver for Acer Aspire One netbooks. It allows to access
|
|
|
|
the temperature sensor and to control the fan.
|
|
|
|
|
|
|
|
After loading this driver the BIOS is still in control of the fan.
|
|
|
|
To let the kernel handle the fan, do:
|
|
|
|
echo -n enabled > /sys/class/thermal/thermal_zone0/mode
|
|
|
|
|
|
|
|
For more information about this driver see
|
|
|
|
<http://piie.net/files/acerhdf_README.txt>
|
|
|
|
|
|
|
|
If you have an Acer Aspire One netbook, say Y or M
|
|
|
|
here.
|
|
|
|
|
2014-04-05 02:15:42 +08:00
|
|
|
config ALIENWARE_WMI
|
|
|
|
tristate "Alienware Special feature control"
|
|
|
|
depends on ACPI
|
|
|
|
depends on LEDS_CLASS
|
|
|
|
depends on NEW_LEDS
|
|
|
|
depends on ACPI_WMI
|
|
|
|
---help---
|
|
|
|
This is a driver for controlling Alienware BIOS driven
|
|
|
|
features. It exposes an interface for controlling the AlienFX
|
|
|
|
zones on Alienware machines that don't contain a dedicated AlienFX
|
|
|
|
USB MCU such as the X51 and X51-R2.
|
|
|
|
|
2008-12-01 13:09:47 +08:00
|
|
|
config ASUS_LAPTOP
|
2009-06-17 03:28:48 +08:00
|
|
|
tristate "Asus Laptop Extras"
|
2008-12-01 13:09:47 +08:00
|
|
|
depends on ACPI
|
2009-02-16 02:30:21 +08:00
|
|
|
select LEDS_CLASS
|
|
|
|
select NEW_LEDS
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2009-01-20 23:17:44 +08:00
|
|
|
depends on INPUT
|
2010-01-26 06:29:24 +08:00
|
|
|
depends on RFKILL || RFKILL = n
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2010-01-26 05:50:11 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2011-10-14 17:13:35 +08:00
|
|
|
select INPUT_POLLDEV
|
2008-12-01 13:09:47 +08:00
|
|
|
---help---
|
2011-10-14 17:13:35 +08:00
|
|
|
This is a driver for Asus laptops, Lenovo SL and the Pegatron
|
|
|
|
Lucid tablet. It may also support some MEDION, JVC or VICTOR
|
|
|
|
laptops. It makes all the extra buttons generate standard
|
2011-10-14 17:13:38 +08:00
|
|
|
ACPI events and input events, and on the Lucid the built-in
|
|
|
|
accelerometer appears as an input device. It also adds
|
|
|
|
support for video output switching, LCD backlight control,
|
|
|
|
Bluetooth and Wlan control, and most importantly, allows you
|
|
|
|
to blink those fancy LEDs.
|
2008-12-01 13:09:47 +08:00
|
|
|
|
2011-10-14 17:13:35 +08:00
|
|
|
For more information see <http://acpi4asus.sf.net>.
|
2008-12-01 13:09:47 +08:00
|
|
|
|
|
|
|
If you have an ACPI-compatible ASUS laptop, say Y or M here.
|
|
|
|
|
2016-01-22 22:27:13 +08:00
|
|
|
config DELL_SMBIOS
|
|
|
|
tristate "Dell SMBIOS Support"
|
|
|
|
depends on DCDBAS
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This module provides common functions for kernel modules using
|
|
|
|
Dell SMBIOS.
|
|
|
|
|
|
|
|
If you have a Dell laptop, say Y or M here.
|
|
|
|
|
2009-01-10 06:23:38 +08:00
|
|
|
config DELL_LAPTOP
|
2013-01-17 10:53:49 +08:00
|
|
|
tristate "Dell Laptop Extras"
|
2016-01-22 22:27:13 +08:00
|
|
|
depends on DELL_SMBIOS
|
2016-02-16 00:32:34 +08:00
|
|
|
depends on DMI
|
2009-01-10 06:23:38 +08:00
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2009-06-02 19:01:37 +08:00
|
|
|
depends on RFKILL || RFKILL = n
|
2009-12-10 02:23:36 +08:00
|
|
|
depends on SERIO_I8042
|
2011-11-09 04:49:29 +08:00
|
|
|
select POWER_SUPPLY
|
2011-11-09 04:17:25 +08:00
|
|
|
select LEDS_CLASS
|
|
|
|
select NEW_LEDS
|
2009-01-10 06:23:38 +08:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This driver adds support for rfkill and backlight control to Dell
|
2014-05-22 04:24:28 +08:00
|
|
|
laptops (except for some models covered by the Compal driver).
|
2009-01-10 06:23:38 +08:00
|
|
|
|
2009-01-10 04:17:11 +08:00
|
|
|
config DELL_WMI
|
|
|
|
tristate "Dell WMI extras"
|
|
|
|
depends on ACPI_WMI
|
2016-02-16 00:32:34 +08:00
|
|
|
depends on DMI
|
2009-01-10 04:17:11 +08:00
|
|
|
depends on INPUT
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2016-03-04 21:09:08 +08:00
|
|
|
depends on DELL_SMBIOS
|
2010-08-05 13:30:08 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2009-01-10 04:17:11 +08:00
|
|
|
---help---
|
|
|
|
Say Y here if you want to support WMI-based hotkeys on Dell laptops.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called dell-wmi.
|
|
|
|
|
2011-02-18 02:44:09 +08:00
|
|
|
config DELL_WMI_AIO
|
|
|
|
tristate "WMI Hotkeys for Dell All-In-One series"
|
|
|
|
depends on ACPI_WMI
|
|
|
|
depends on INPUT
|
|
|
|
select INPUT_SPARSEKMAP
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to support WMI-based hotkeys on Dell
|
|
|
|
All-In-One machines.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
2011-05-16 11:33:23 +08:00
|
|
|
be called dell-wmi-aio.
|
2011-02-18 02:44:09 +08:00
|
|
|
|
2014-05-22 19:15:48 +08:00
|
|
|
config DELL_SMO8800
|
2014-12-05 20:05:46 +08:00
|
|
|
tristate "Dell Latitude freefall driver (ACPI SMO88XX)"
|
2014-05-22 19:15:48 +08:00
|
|
|
depends on ACPI
|
|
|
|
---help---
|
2014-12-05 20:05:46 +08:00
|
|
|
Say Y here if you want to support SMO88XX freefall devices
|
2014-05-22 19:15:48 +08:00
|
|
|
on Dell Latitude laptops.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called dell-smo8800.
|
|
|
|
|
2015-06-06 16:23:28 +08:00
|
|
|
config DELL_RBTN
|
|
|
|
tristate "Dell Airplane Mode Switch driver"
|
|
|
|
depends on ACPI
|
|
|
|
depends on INPUT
|
|
|
|
depends on RFKILL
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to support Dell Airplane Mode Switch ACPI
|
|
|
|
device on Dell laptops. Sometimes it has names: DELLABCE or DELRBTN.
|
|
|
|
This driver register rfkill device or input hotkey device depending
|
|
|
|
on hardware type (hw switch slider or keyboard toggle button). For
|
|
|
|
rfkill devices it receive HW switch events and set correct hard
|
|
|
|
rfkill state.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called dell-rbtn.
|
|
|
|
|
2011-02-18 02:44:09 +08:00
|
|
|
|
2008-12-01 13:09:47 +08:00
|
|
|
config FUJITSU_LAPTOP
|
|
|
|
tristate "Fujitsu Laptop Extras"
|
|
|
|
depends on ACPI
|
|
|
|
depends on INPUT
|
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2009-08-28 06:45:33 +08:00
|
|
|
depends on LEDS_CLASS || LEDS_CLASS=n
|
2008-12-01 13:09:47 +08:00
|
|
|
---help---
|
|
|
|
This is a driver for laptops built by Fujitsu:
|
|
|
|
|
|
|
|
* P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
|
|
|
|
* Possibly other Fujitsu laptop models
|
|
|
|
* Tested with S6410 and S7020
|
|
|
|
|
|
|
|
It adds support for LCD brightness control and some hotkeys.
|
|
|
|
|
|
|
|
If you have a Fujitsu laptop, say Y or M here.
|
|
|
|
|
|
|
|
config FUJITSU_LAPTOP_DEBUG
|
|
|
|
bool "Verbose debug mode for Fujitsu Laptop Extras"
|
|
|
|
depends on FUJITSU_LAPTOP
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables extra debug output from the fujitsu extras driver, at the
|
|
|
|
expense of a slight increase in driver size.
|
|
|
|
|
|
|
|
If you are not sure, say N here.
|
|
|
|
|
2012-01-18 21:26:22 +08:00
|
|
|
config FUJITSU_TABLET
|
|
|
|
tristate "Fujitsu Tablet Extras"
|
|
|
|
depends on ACPI
|
|
|
|
depends on INPUT
|
|
|
|
---help---
|
|
|
|
This is a driver for tablets built by Fujitsu:
|
|
|
|
|
|
|
|
* Lifebook P1510/P1610/P1620/Txxxx
|
|
|
|
* Stylistic ST5xxx
|
|
|
|
* Possibly other Fujitsu tablet models
|
|
|
|
|
|
|
|
It adds support for the panel buttons, docking station detection,
|
|
|
|
tablet/notebook mode detection for convertible and
|
|
|
|
orientation detection for docked slates.
|
|
|
|
|
|
|
|
If you have a Fujitsu convertible or slate, say Y or M here.
|
|
|
|
|
2011-11-25 12:09:37 +08:00
|
|
|
config AMILO_RFKILL
|
|
|
|
tristate "Fujitsu-Siemens Amilo rfkill support"
|
|
|
|
depends on RFKILL
|
2013-05-14 09:44:26 +08:00
|
|
|
depends on SERIO_I8042
|
2011-11-25 12:09:37 +08:00
|
|
|
---help---
|
|
|
|
This is a driver for enabling wifi on some Fujitsu-Siemens Amilo
|
|
|
|
laptops.
|
|
|
|
|
2008-12-01 13:09:47 +08:00
|
|
|
config TC1100_WMI
|
2013-01-17 10:53:49 +08:00
|
|
|
tristate "HP Compaq TC1100 Tablet WMI Extras"
|
2008-12-01 13:09:47 +08:00
|
|
|
depends on !X86_64
|
|
|
|
depends on ACPI
|
2010-12-08 18:20:26 +08:00
|
|
|
depends on ACPI_WMI
|
2008-12-01 13:09:47 +08:00
|
|
|
---help---
|
|
|
|
This is a driver for the WMI extensions (wireless and bluetooth power
|
|
|
|
control) of the HP Compaq TC1100 tablet.
|
|
|
|
|
2011-03-22 00:59:36 +08:00
|
|
|
config HP_ACCEL
|
|
|
|
tristate "HP laptop accelerometer"
|
|
|
|
depends on INPUT && ACPI
|
2014-11-11 02:59:42 +08:00
|
|
|
depends on SERIO_I8042
|
2011-03-22 00:59:36 +08:00
|
|
|
select SENSORS_LIS3LV02D
|
|
|
|
select NEW_LEDS
|
|
|
|
select LEDS_CLASS
|
|
|
|
help
|
|
|
|
This driver provides support for the "Mobile Data Protection System 3D"
|
|
|
|
or "3D DriveGuard" feature of HP laptops. On such systems the driver
|
|
|
|
should load automatically (via ACPI alias).
|
|
|
|
|
|
|
|
Support for a led indicating disk protection will be provided as
|
|
|
|
hp::hddprotect. For more information on the feature, refer to
|
2011-08-15 08:02:26 +08:00
|
|
|
Documentation/misc-devices/lis3lv02d.
|
2011-03-22 00:59:36 +08:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called hp_accel.
|
|
|
|
|
2014-01-16 17:50:31 +08:00
|
|
|
config HP_WIRELESS
|
2014-02-03 22:23:40 +08:00
|
|
|
tristate "HP wireless button"
|
2014-01-16 17:50:31 +08:00
|
|
|
depends on ACPI
|
|
|
|
depends on INPUT
|
|
|
|
help
|
|
|
|
This driver provides supports for new HP wireless button for Windows 8.
|
|
|
|
On such systems the driver should load automatically (via ACPI alias).
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called hp-wireless.
|
|
|
|
|
2008-12-01 13:09:47 +08:00
|
|
|
config HP_WMI
|
|
|
|
tristate "HP WMI extras"
|
|
|
|
depends on ACPI_WMI
|
|
|
|
depends on INPUT
|
2009-06-02 19:01:37 +08:00
|
|
|
depends on RFKILL || RFKILL = n
|
2010-08-05 13:30:13 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2008-12-01 13:09:47 +08:00
|
|
|
help
|
|
|
|
Say Y here if you want to support WMI-based hotkeys on HP laptops and
|
|
|
|
to read data from WMI such as docking or ambient light sensor state.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called hp-wmi.
|
|
|
|
|
|
|
|
config MSI_LAPTOP
|
|
|
|
tristate "MSI Laptop Extras"
|
|
|
|
depends on ACPI
|
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2010-02-04 06:24:28 +08:00
|
|
|
depends on RFKILL
|
2011-03-31 06:20:22 +08:00
|
|
|
depends on INPUT && SERIO_I8042
|
|
|
|
select INPUT_SPARSEKMAP
|
2008-12-01 13:09:47 +08:00
|
|
|
---help---
|
|
|
|
This is a driver for laptops built by MSI (MICRO-STAR
|
|
|
|
INTERNATIONAL):
|
|
|
|
|
|
|
|
MSI MegaBook S270 (MS-1013)
|
|
|
|
Cytron/TCM/Medion/Tchibo MD96100/SAM2000
|
|
|
|
|
|
|
|
It adds support for Bluetooth, WLAN and LCD brightness control.
|
|
|
|
|
|
|
|
More information about this driver is available at
|
|
|
|
<http://0pointer.de/lennart/tchibo.html>.
|
|
|
|
|
|
|
|
If you have an MSI S270 laptop, say Y or M here.
|
|
|
|
|
|
|
|
config PANASONIC_LAPTOP
|
|
|
|
tristate "Panasonic Laptop Extras"
|
|
|
|
depends on INPUT && ACPI
|
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2010-08-05 13:30:02 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2008-12-01 13:09:47 +08:00
|
|
|
---help---
|
|
|
|
This driver adds support for access to backlight control and hotkeys
|
|
|
|
on Panasonic Let's Note laptops.
|
|
|
|
|
|
|
|
If you have a Panasonic Let's note laptop (such as the R1(N variant),
|
|
|
|
R2, R3, R5, T2, W2 and Y2 series), say Y.
|
|
|
|
|
|
|
|
config COMPAL_LAPTOP
|
2014-05-22 04:24:28 +08:00
|
|
|
tristate "Compal (and others) Laptop Extras"
|
2008-12-01 13:09:47 +08:00
|
|
|
depends on ACPI
|
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2010-03-02 22:53:45 +08:00
|
|
|
depends on RFKILL
|
2010-07-21 06:19:39 +08:00
|
|
|
depends on HWMON
|
2010-07-24 00:41:34 +08:00
|
|
|
depends on POWER_SUPPLY
|
2008-12-01 13:09:47 +08:00
|
|
|
---help---
|
2014-05-22 04:24:28 +08:00
|
|
|
This is a driver for laptops built by Compal, and some models by
|
|
|
|
other brands (e.g. Dell, Toshiba).
|
2008-12-01 13:09:47 +08:00
|
|
|
|
2015-09-13 04:00:16 +08:00
|
|
|
It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon
|
|
|
|
and battery charging level control.
|
2008-12-01 13:09:47 +08:00
|
|
|
|
2014-05-22 04:24:28 +08:00
|
|
|
For a (possibly incomplete) list of supported laptops, please refer
|
|
|
|
to: Documentation/platform/x86-laptop-drivers.txt
|
2008-12-01 13:09:47 +08:00
|
|
|
|
|
|
|
config SONY_LAPTOP
|
|
|
|
tristate "Sony Laptop Extras"
|
|
|
|
depends on ACPI
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2008-12-01 13:09:47 +08:00
|
|
|
depends on INPUT
|
2009-04-01 21:10:46 +08:00
|
|
|
depends on RFKILL
|
2008-12-01 13:09:47 +08:00
|
|
|
---help---
|
|
|
|
This mini-driver drives the SNC and SPIC devices present in the ACPI
|
|
|
|
BIOS of the Sony Vaio laptops.
|
|
|
|
|
|
|
|
It gives access to some extra laptop functionalities like Bluetooth,
|
|
|
|
screen brightness control, Fn keys and allows powering on/off some
|
|
|
|
devices.
|
|
|
|
|
|
|
|
Read <file:Documentation/laptops/sony-laptop.txt> for more information.
|
|
|
|
|
|
|
|
config SONYPI_COMPAT
|
|
|
|
bool "Sonypi compatibility"
|
|
|
|
depends on SONY_LAPTOP
|
|
|
|
---help---
|
|
|
|
Build the sonypi driver compatibility code into the sony-laptop driver.
|
|
|
|
|
2010-10-01 15:40:09 +08:00
|
|
|
config IDEAPAD_LAPTOP
|
|
|
|
tristate "Lenovo IdeaPad Laptop Extras"
|
2010-08-11 06:44:05 +08:00
|
|
|
depends on ACPI
|
2011-01-21 04:48:36 +08:00
|
|
|
depends on RFKILL && INPUT
|
2012-07-06 16:08:00 +08:00
|
|
|
depends on SERIO_I8042
|
2013-02-26 05:59:57 +08:00
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
ideapad-laptop: add support for Yoga 3 ESC key
The ideapad-laptop handles most special keys on various Lenovo Laptops
including the Yoga line. Unfortunately, the Yoga 3 11/13/14 models have
one important exception, which is the Fn-ESC combination.
On other Lenovo Laptops, this is FnLock, which switches the function keys
between the primary (Mute, Vol down, Vol up, ...) and the secondary (F1,
F2, F3, ...) behavior. On the new machines, FnLock is only available
through BIOS setup (possibly through a yet-to-be-implemented feature
in this driver) but not through Fn-ESC, but instead the ESC key itself
switched between ESC and a "Paper Display" app for Windows.
Unfortunately, that means that you can never have both ESC *and* the
function keys working at the same time without needing to press Fn on
one of them.
As pointed out in the official Lenovo Forum by dozens of users, this
makes the machine rather useless for any serious work [1].
I have now studied the ACPI DSDT one more time and found the event
that is generated for the ESC key. Unlike all other key events on this
machine, it is actually a WMI, while the other ones are read from the
embedded controller.
I am now installing a WMI notifier that uses the event number from the
WMI subsystem as the scancode. The only event number generated here is
'128', and that fits in nicely with the two existing ranges of scancodes
used by the EC: 0-15 for the 16-bit VPCCMD_R_VPC register, 16-17 for
the VPCCMD_R_NOVO register and 64-67 for VPCCMD_R_SPECIAL_BUTTONS.
The only sane way to handle this button (in absence of the Windows Paper
Display driver) seems to be to have it emit KEY_ESC, so that is what
I use as the default. Should any user ever want to overwrite the default,
they can install their own keymap.
To ensure that we can still build the driver without adding a CONFIG_WMI
dependency, all new code is enclosed in #ifdef.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[1] https://forums.lenovo.com/t5/Lenovo-Yoga-Series-Notebooks/YOGA-3-14-How-to-reclaim-my-Esc-key-and-permanently-disable/td-p/2070816
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2015-11-07 05:28:49 +08:00
|
|
|
depends on ACPI_WMI || ACPI_WMI = n
|
2010-12-13 18:00:38 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2010-08-11 06:44:05 +08:00
|
|
|
help
|
2013-02-22 16:48:40 +08:00
|
|
|
This is a driver for Lenovo IdeaPad netbooks contains drivers for
|
|
|
|
rfkill switch, hotkey, fan control and backlight control.
|
2010-08-11 06:44:05 +08:00
|
|
|
|
2008-12-01 13:09:47 +08:00
|
|
|
config THINKPAD_ACPI
|
|
|
|
tristate "ThinkPad ACPI Laptop Extras"
|
|
|
|
depends on ACPI
|
2009-02-25 16:37:09 +08:00
|
|
|
depends on INPUT
|
2009-06-02 19:01:37 +08:00
|
|
|
depends on RFKILL || RFKILL = n
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2008-12-01 13:09:47 +08:00
|
|
|
select HWMON
|
|
|
|
select NVRAM
|
|
|
|
select NEW_LEDS
|
|
|
|
select LEDS_CLASS
|
|
|
|
---help---
|
|
|
|
This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
|
|
|
|
support for Fn-Fx key combinations, Bluetooth control, video
|
|
|
|
output switching, ThinkLight control, UltraBay eject and more.
|
|
|
|
For more information about this driver see
|
|
|
|
<file:Documentation/laptops/thinkpad-acpi.txt> and
|
|
|
|
<http://ibm-acpi.sf.net/> .
|
|
|
|
|
|
|
|
This driver was formerly known as ibm-acpi.
|
|
|
|
|
2009-12-27 08:52:17 +08:00
|
|
|
Extra functionality will be available if the rfkill (CONFIG_RFKILL)
|
|
|
|
and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
|
|
|
|
Note that if you want ThinkPad-ACPI to be built-in instead of
|
|
|
|
modular, ALSA and rfkill will also have to be built-in.
|
|
|
|
|
2008-12-01 13:09:47 +08:00
|
|
|
If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
|
|
|
|
|
2009-12-27 08:52:15 +08:00
|
|
|
config THINKPAD_ACPI_ALSA_SUPPORT
|
|
|
|
bool "Console audio control ALSA interface"
|
|
|
|
depends on THINKPAD_ACPI
|
|
|
|
depends on SND
|
|
|
|
depends on SND = y || THINKPAD_ACPI = SND
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enables monitoring of the built-in console audio output control
|
|
|
|
(headphone and speakers), which is operated by the mute and (in
|
|
|
|
some ThinkPad models) volume hotkeys.
|
|
|
|
|
|
|
|
If this option is enabled, ThinkPad-ACPI will export an ALSA card
|
|
|
|
with a single read-only mixer control, which should be used for
|
|
|
|
on-screen-display feedback purposes by the Desktop Environment.
|
|
|
|
|
|
|
|
Optionally, the driver will also allow software control (the
|
|
|
|
ALSA mixer will be made read-write). Please refer to the driver
|
|
|
|
documentation for details.
|
|
|
|
|
|
|
|
All IBM models have both volume and mute control. Newer Lenovo
|
|
|
|
models only have mute control (the volume hotkeys are just normal
|
|
|
|
keys and volume control is done through the main HDA mixer).
|
|
|
|
|
2009-01-11 13:01:00 +08:00
|
|
|
config THINKPAD_ACPI_DEBUGFACILITIES
|
|
|
|
bool "Maintainer debug facilities"
|
|
|
|
depends on THINKPAD_ACPI
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables extra stuff in the thinkpad-acpi which is completely useless
|
|
|
|
for normal use. Read the driver source to find out what it does.
|
|
|
|
|
|
|
|
Say N here, unless you were told by a kernel maintainer to do
|
|
|
|
otherwise.
|
|
|
|
|
2008-12-01 13:09:47 +08:00
|
|
|
config THINKPAD_ACPI_DEBUG
|
|
|
|
bool "Verbose debug mode"
|
|
|
|
depends on THINKPAD_ACPI
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables extra debugging information, at the expense of a slightly
|
|
|
|
increase in driver size.
|
|
|
|
|
|
|
|
If you are not sure, say N here.
|
|
|
|
|
2009-04-04 12:25:49 +08:00
|
|
|
config THINKPAD_ACPI_UNSAFE_LEDS
|
|
|
|
bool "Allow control of important LEDs (unsafe)"
|
|
|
|
depends on THINKPAD_ACPI
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Overriding LED state on ThinkPads can mask important
|
|
|
|
firmware alerts (like critical battery condition), or misled
|
|
|
|
the user into damaging the hardware (undocking or ejecting
|
|
|
|
the bay while buses are still active), etc.
|
|
|
|
|
|
|
|
LED control on the ThinkPad is write-only (with very few
|
|
|
|
exceptions on very ancient models), which makes it
|
|
|
|
impossible to know beforehand if important information will
|
|
|
|
be lost when one changes LED state.
|
|
|
|
|
|
|
|
Users that know what they are doing can enable this option
|
|
|
|
and the driver will allow control of every LED, including
|
|
|
|
the ones on the dock stations.
|
|
|
|
|
|
|
|
Never enable this option on a distribution kernel.
|
|
|
|
|
|
|
|
Say N here, unless you are building a kernel for your own
|
|
|
|
use, and need to control the important firmware LEDs.
|
|
|
|
|
2008-12-01 13:09:47 +08:00
|
|
|
config THINKPAD_ACPI_VIDEO
|
|
|
|
bool "Video output control support"
|
|
|
|
depends on THINKPAD_ACPI
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Allows the thinkpad_acpi driver to provide an interface to control
|
|
|
|
the various video output ports.
|
|
|
|
|
|
|
|
This feature often won't work well, depending on ThinkPad model,
|
|
|
|
display state, video output devices in use, whether there is a X
|
|
|
|
server running, phase of the moon, and the current mood of
|
|
|
|
Schroedinger's cat. If you can use X.org's RandR to control
|
|
|
|
your ThinkPad's video output ports instead of this feature,
|
2010-02-26 09:22:22 +08:00
|
|
|
don't think twice: do it and say N here to save memory and avoid
|
|
|
|
bad interactions with X.org.
|
2008-12-01 13:09:47 +08:00
|
|
|
|
2010-02-26 09:22:22 +08:00
|
|
|
NOTE: access to this feature is limited to processes with the
|
|
|
|
CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
|
|
|
|
where it interacts badly with X.org.
|
|
|
|
|
|
|
|
If you are not sure, say Y here but do try to check if you could
|
|
|
|
be using X.org RandR instead.
|
2008-12-01 13:09:47 +08:00
|
|
|
|
|
|
|
config THINKPAD_ACPI_HOTKEY_POLL
|
|
|
|
bool "Support NVRAM polling for hot keys"
|
|
|
|
depends on THINKPAD_ACPI
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Some thinkpad models benefit from NVRAM polling to detect a few of
|
|
|
|
the hot key press events. If you know your ThinkPad model does not
|
|
|
|
need to do NVRAM polling to support any of the hot keys you use,
|
|
|
|
unselecting this option will save about 1kB of memory.
|
|
|
|
|
|
|
|
ThinkPads T40 and newer, R52 and newer, and X31 and newer are
|
|
|
|
unlikely to need NVRAM polling in their latest BIOS versions.
|
|
|
|
|
|
|
|
NVRAM polling can detect at most the following keys: ThinkPad/Access
|
|
|
|
IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
|
|
|
|
Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
|
|
|
|
|
|
|
|
If you are not sure, say Y here. The driver enables polling only if
|
|
|
|
it is strictly necessary to do so.
|
|
|
|
|
2010-10-05 18:08:57 +08:00
|
|
|
config SENSORS_HDAPS
|
|
|
|
tristate "Thinkpad Hard Drive Active Protection System (hdaps)"
|
2016-05-26 17:43:23 +08:00
|
|
|
depends on INPUT
|
2010-10-05 18:08:57 +08:00
|
|
|
select INPUT_POLLDEV
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This driver provides support for the IBM Hard Drive Active Protection
|
|
|
|
System (hdaps), which provides an accelerometer and other misc. data.
|
|
|
|
ThinkPads starting with the R50, T41, and X40 are supported. The
|
|
|
|
accelerometer data is readable via sysfs.
|
|
|
|
|
|
|
|
This driver also provides an absolute input class device, allowing
|
|
|
|
the laptop to act as a pinball machine-esque joystick.
|
|
|
|
|
|
|
|
If your ThinkPad is not recognized by the driver, please update to latest
|
|
|
|
BIOS. This is especially the case for some R52 ThinkPads.
|
|
|
|
|
|
|
|
Say Y here if you have an applicable laptop and want to experience
|
|
|
|
the awesome power of hdaps.
|
|
|
|
|
2008-12-01 13:09:47 +08:00
|
|
|
config INTEL_MENLOW
|
|
|
|
tristate "Thermal Management driver for Intel menlow platform"
|
|
|
|
depends on ACPI_THERMAL
|
|
|
|
select THERMAL
|
|
|
|
---help---
|
|
|
|
ACPI thermal management enhancement driver on
|
|
|
|
Intel Menlow platform.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config EEEPC_LAPTOP
|
2011-12-15 15:27:37 +08:00
|
|
|
tristate "Eee PC Hotkey Driver"
|
2008-12-01 13:09:47 +08:00
|
|
|
depends on ACPI
|
2009-02-19 06:48:22 +08:00
|
|
|
depends on INPUT
|
2009-06-02 19:01:37 +08:00
|
|
|
depends on RFKILL || RFKILL = n
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2009-06-29 16:07:54 +08:00
|
|
|
depends on HOTPLUG_PCI
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2009-01-09 17:01:26 +08:00
|
|
|
select HWMON
|
2009-12-03 15:44:52 +08:00
|
|
|
select LEDS_CLASS
|
|
|
|
select NEW_LEDS
|
2010-01-07 05:07:39 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2008-12-01 13:09:47 +08:00
|
|
|
---help---
|
|
|
|
This driver supports the Fn-Fx keys on Eee PC laptops.
|
2009-06-17 03:28:47 +08:00
|
|
|
|
|
|
|
It also gives access to some extra laptop functionalities like
|
|
|
|
Bluetooth, backlight and allows powering on/off some other
|
|
|
|
devices.
|
2008-12-01 13:09:47 +08:00
|
|
|
|
2011-02-26 17:20:31 +08:00
|
|
|
If you have an Eee PC laptop, say Y or M here. If this driver
|
|
|
|
doesn't work on your Eee PC, try eeepc-wmi instead.
|
2008-12-01 13:09:47 +08:00
|
|
|
|
2011-02-26 17:20:31 +08:00
|
|
|
config ASUS_WMI
|
2011-12-15 15:27:37 +08:00
|
|
|
tristate "ASUS WMI Driver"
|
2010-03-21 10:26:34 +08:00
|
|
|
depends on ACPI_WMI
|
|
|
|
depends on INPUT
|
2011-02-26 17:20:42 +08:00
|
|
|
depends on HWMON
|
2010-05-08 02:24:11 +08:00
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2010-11-29 15:14:07 +08:00
|
|
|
depends on RFKILL || RFKILL = n
|
2011-02-23 05:47:35 +08:00
|
|
|
depends on HOTPLUG_PCI
|
2013-09-17 02:10:51 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2010-04-07 22:22:45 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2010-11-29 15:14:06 +08:00
|
|
|
select LEDS_CLASS
|
|
|
|
select NEW_LEDS
|
2010-03-21 10:26:34 +08:00
|
|
|
---help---
|
2011-02-26 17:20:40 +08:00
|
|
|
Say Y here if you have a WMI aware Asus laptop (like Eee PCs or new
|
|
|
|
Asus Notebooks).
|
2010-03-21 10:26:34 +08:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
2011-02-26 17:20:31 +08:00
|
|
|
be called asus-wmi.
|
|
|
|
|
2011-02-26 17:20:40 +08:00
|
|
|
config ASUS_NB_WMI
|
2011-12-15 15:27:37 +08:00
|
|
|
tristate "Asus Notebook WMI Driver"
|
2011-02-26 17:20:40 +08:00
|
|
|
depends on ASUS_WMI
|
2016-10-13 03:31:40 +08:00
|
|
|
depends on SERIO_I8042 || SERIO_I8042 = n
|
2011-02-26 17:20:40 +08:00
|
|
|
---help---
|
|
|
|
This is a driver for newer Asus notebooks. It adds extra features
|
|
|
|
like wireless radio and bluetooth control, leds, hotkeys, backlight...
|
|
|
|
|
2014-09-18 11:09:42 +08:00
|
|
|
For more information, see
|
2011-02-26 17:20:40 +08:00
|
|
|
<file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
|
|
|
|
|
|
|
|
If you have an ACPI-WMI compatible Asus Notebook, say Y or M
|
|
|
|
here.
|
|
|
|
|
2011-02-26 17:20:31 +08:00
|
|
|
config EEEPC_WMI
|
2011-12-15 15:27:37 +08:00
|
|
|
tristate "Eee PC WMI Driver"
|
2011-02-26 17:20:31 +08:00
|
|
|
depends on ASUS_WMI
|
|
|
|
---help---
|
|
|
|
This is a driver for newer Eee PC laptops. It adds extra features
|
|
|
|
like wireless radio and bluetooth control, leds, hotkeys, backlight...
|
|
|
|
|
2014-09-18 11:09:42 +08:00
|
|
|
For more information, see
|
2011-02-26 17:20:31 +08:00
|
|
|
<file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
|
|
|
|
|
|
|
|
If you have an ACPI-WMI compatible Eee PC laptop (>= 1000), say Y or M
|
|
|
|
here.
|
2008-12-12 03:37:26 +08:00
|
|
|
|
2016-01-06 00:16:53 +08:00
|
|
|
config ASUS_WIRELESS
|
|
|
|
tristate "Asus Wireless Radio Control Driver"
|
|
|
|
depends on ACPI
|
|
|
|
depends on INPUT
|
asus-wireless: Toggle airplane mode LED
In the ASHS device we have the HSWC method, which calls either OWGD or
OWGS, depending on its parameter:
Device (ASHS)
{
Name (_HID, "ATK4002") // _HID: Hardware ID
Method (HSWC, 1, Serialized)
{
If ((Arg0 < 0x02))
{
OWGD (Arg0)
Return (One)
}
If ((Arg0 == 0x02))
{
Local0 = OWGS ()
If (Local0)
{
Return (0x05)
}
Else
{
Return (0x04)
}
}
If ((Arg0 == 0x03))
{
Return (0xFF)
}
If ((Arg0 == 0x04))
{
OWGD (Zero)
Return (One)
}
If ((Arg0 == 0x05))
{
OWGD (One)
Return (One)
}
If ((Arg0 == 0x80))
{
Return (One)
}
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((MSOS () >= OSW8))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
On the Asus laptops that do not have an airplane mode LED, OWGD has an
empty implementation and OWGS simply returns 0. On the ones that have an
airplane mode LED these methods have the following implementation:
Method (OWGD, 1, Serialized)
{
SGPL (0x0203000F, Arg0)
SGPL (0x0203000F, Arg0)
}
Method (OWGS, 0, Serialized)
{
Store (RGPL (0x0203000F), Local0)
Return (Local0)
}
Where OWGD(1) sets the airplane mode LED ON, OWGD(0) set it off, and
OWGS() returns its state.
This commit exposes the airplane mode indicator LED to userspace under
the name asus-wireless::airplane, so it can be driven according to
userspace's policy.
Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com>
Reviewed-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2016-06-14 04:57:30 +08:00
|
|
|
select NEW_LEDS
|
|
|
|
select LEDS_CLASS
|
2016-01-06 00:16:53 +08:00
|
|
|
---help---
|
|
|
|
The Asus Wireless Radio Control handles the airplane mode hotkey
|
|
|
|
present on some Asus laptops.
|
|
|
|
|
|
|
|
Say Y or M here if you have an ASUS notebook with an airplane mode
|
|
|
|
hotkey.
|
|
|
|
|
|
|
|
If you choose to compile this driver as a module the module will be
|
|
|
|
called asus-wireless.
|
|
|
|
|
2008-12-12 03:37:26 +08:00
|
|
|
config ACPI_WMI
|
2009-02-14 17:53:53 +08:00
|
|
|
tristate "WMI"
|
2008-12-12 03:37:26 +08:00
|
|
|
depends on ACPI
|
|
|
|
help
|
|
|
|
This driver adds support for the ACPI-WMI (Windows Management
|
|
|
|
Instrumentation) mapper device (PNP0C14) found on some systems.
|
|
|
|
|
|
|
|
ACPI-WMI is a proprietary extension to ACPI to expose parts of the
|
|
|
|
ACPI firmware to userspace - this is done through various vendor
|
|
|
|
defined methods and data blocks in a PNP0C14 device, which are then
|
|
|
|
made available for userspace to call.
|
|
|
|
|
|
|
|
The implementation of this in Linux currently only exposes this to
|
|
|
|
other kernel space drivers.
|
|
|
|
|
|
|
|
This driver is a required dependency to build the firmware specific
|
|
|
|
drivers needed on many machines, including Acer and HP laptops.
|
|
|
|
|
|
|
|
It is safe to enable this driver even if your DSDT doesn't define
|
|
|
|
any ACPI-WMI devices.
|
|
|
|
|
2009-12-10 21:18:13 +08:00
|
|
|
config MSI_WMI
|
|
|
|
tristate "MSI WMI extras"
|
|
|
|
depends on ACPI_WMI
|
|
|
|
depends on INPUT
|
2009-12-14 17:21:39 +08:00
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2009-12-10 21:18:19 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2009-12-10 21:18:13 +08:00
|
|
|
help
|
|
|
|
Say Y here if you want to support WMI-based hotkeys on MSI laptops.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called msi-wmi.
|
|
|
|
|
2009-09-15 08:11:21 +08:00
|
|
|
config TOPSTAR_LAPTOP
|
|
|
|
tristate "Topstar Laptop Extras"
|
|
|
|
depends on ACPI
|
|
|
|
depends on INPUT
|
2010-08-05 13:29:57 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2009-09-15 08:11:21 +08:00
|
|
|
---help---
|
|
|
|
This driver adds support for hotkeys found on Topstar laptops.
|
|
|
|
|
|
|
|
If you have a Topstar laptop, say Y or M here.
|
|
|
|
|
2008-12-12 03:37:26 +08:00
|
|
|
config ACPI_TOSHIBA
|
|
|
|
tristate "Toshiba Laptop Extras"
|
|
|
|
depends on ACPI
|
2012-01-19 03:44:11 +08:00
|
|
|
depends on ACPI_WMI
|
2011-01-10 22:37:02 +08:00
|
|
|
select LEDS_CLASS
|
|
|
|
select NEW_LEDS
|
2010-08-24 01:32:36 +08:00
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2008-12-12 03:37:26 +08:00
|
|
|
depends on INPUT
|
2013-07-03 21:14:16 +08:00
|
|
|
depends on SERIO_I8042 || SERIO_I8042 = n
|
2015-04-21 18:01:32 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2015-12-15 04:00:59 +08:00
|
|
|
depends on RFKILL || RFKILL = n
|
2016-06-28 09:48:08 +08:00
|
|
|
depends on IIO
|
2008-12-12 03:37:26 +08:00
|
|
|
select INPUT_POLLDEV
|
2010-08-05 13:30:19 +08:00
|
|
|
select INPUT_SPARSEKMAP
|
2008-12-12 03:37:26 +08:00
|
|
|
---help---
|
|
|
|
This driver adds support for access to certain system settings
|
|
|
|
on "legacy free" Toshiba laptops. These laptops can be recognized by
|
|
|
|
their lack of a BIOS setup menu and APM support.
|
|
|
|
|
|
|
|
On these machines, all system configuration is handled through the
|
|
|
|
ACPI. This driver is required for access to controls not covered
|
|
|
|
by the general ACPI drivers, such as LCD brightness, video output,
|
|
|
|
etc.
|
|
|
|
|
|
|
|
This driver differs from the non-ACPI Toshiba laptop driver (located
|
|
|
|
under "Processor type and features") in several aspects.
|
|
|
|
Configuration is accessed by reading and writing text files in the
|
|
|
|
/proc tree instead of by program interface to /dev. Furthermore, no
|
|
|
|
power management functions are exposed, as those are handled by the
|
|
|
|
general ACPI drivers.
|
|
|
|
|
|
|
|
More information about this driver is available at
|
|
|
|
<http://memebeam.org/toys/ToshibaAcpiDriver>.
|
|
|
|
|
|
|
|
If you have a legacy free Toshiba laptop (such as the Libretto L1
|
|
|
|
series), say Y.
|
2009-12-17 01:08:15 +08:00
|
|
|
|
|
|
|
config TOSHIBA_BT_RFKILL
|
|
|
|
tristate "Toshiba Bluetooth RFKill switch support"
|
|
|
|
depends on ACPI
|
2015-05-04 07:42:07 +08:00
|
|
|
depends on RFKILL || RFKILL = n
|
2009-12-17 01:08:15 +08:00
|
|
|
---help---
|
|
|
|
This driver adds support for Bluetooth events for the RFKill
|
|
|
|
switch on modern Toshiba laptops with full ACPI support and
|
|
|
|
an RFKill switch.
|
|
|
|
|
|
|
|
This driver handles RFKill events for the TOS6205 Bluetooth,
|
|
|
|
and re-enables it when the switch is set back to the 'on'
|
|
|
|
position.
|
|
|
|
|
|
|
|
If you have a modern Toshiba laptop with a Bluetooth and an
|
|
|
|
RFKill switch (such as the Portege R500), say Y.
|
2009-12-22 08:20:01 +08:00
|
|
|
|
2014-08-14 23:55:40 +08:00
|
|
|
config TOSHIBA_HAPS
|
|
|
|
tristate "Toshiba HDD Active Protection Sensor"
|
|
|
|
depends on ACPI
|
|
|
|
---help---
|
|
|
|
This driver adds support for the built-in accelerometer
|
2015-04-27 21:52:07 +08:00
|
|
|
found on recent Toshiba laptops equipped with HID TOS620A
|
2014-08-14 23:55:40 +08:00
|
|
|
device.
|
|
|
|
|
|
|
|
This driver receives ACPI notify events 0x80 when the sensor
|
|
|
|
detects a sudden move or a harsh vibration, as well as an
|
|
|
|
ACPI notify event 0x81 whenever the movement or vibration has
|
|
|
|
been stabilized.
|
|
|
|
|
|
|
|
Also provides sysfs entries to get/set the desired protection
|
2015-04-27 21:52:07 +08:00
|
|
|
level and resetting the HDD protection interface.
|
2014-08-14 23:55:40 +08:00
|
|
|
|
|
|
|
If you have a recent Toshiba laptop with a built-in accelerometer
|
|
|
|
device, say Y.
|
|
|
|
|
2015-09-29 10:32:28 +08:00
|
|
|
config TOSHIBA_WMI
|
|
|
|
tristate "Toshiba WMI Hotkeys Driver (EXPERIMENTAL)"
|
|
|
|
default n
|
|
|
|
depends on ACPI_WMI
|
|
|
|
depends on INPUT
|
|
|
|
select INPUT_SPARSEKMAP
|
|
|
|
---help---
|
|
|
|
This driver adds hotkey monitoring support to some Toshiba models
|
|
|
|
that manage the hotkeys via WMI events.
|
|
|
|
|
|
|
|
WARNING: This driver is incomplete as it lacks a proper keymap and the
|
|
|
|
*notify function only prints the ACPI event type value. Be warned that
|
|
|
|
you will need to provide some information if you have a Toshiba model
|
|
|
|
with WMI event hotkeys and want to help with the develpment of this
|
|
|
|
driver.
|
|
|
|
|
|
|
|
If you have a WMI-based hotkeys Toshiba laptop, say Y or M here.
|
|
|
|
|
2009-12-22 08:20:01 +08:00
|
|
|
config ACPI_CMPC
|
|
|
|
tristate "CMPC Laptop Extras"
|
2016-05-26 17:43:23 +08:00
|
|
|
depends on ACPI
|
2010-05-26 23:00:10 +08:00
|
|
|
depends on RFKILL || RFKILL=n
|
2009-12-22 08:20:01 +08:00
|
|
|
select INPUT
|
|
|
|
select BACKLIGHT_CLASS_DEVICE
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Support for Intel Classmate PC ACPI devices, including some
|
|
|
|
keys as input device, backlight device, tablet and accelerometer
|
|
|
|
devices.
|
|
|
|
|
2015-12-18 23:31:10 +08:00
|
|
|
config INTEL_HID_EVENT
|
|
|
|
tristate "INTEL HID Event"
|
|
|
|
depends on ACPI
|
|
|
|
depends on INPUT
|
|
|
|
select INPUT_SPARSEKMAP
|
|
|
|
help
|
|
|
|
This driver provides support for the Intel HID Event hotkey interface.
|
|
|
|
Some laptops require this driver for hotkey support.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called intel_hid.
|
|
|
|
|
2016-07-01 09:51:49 +08:00
|
|
|
config INTEL_VBTN
|
|
|
|
tristate "INTEL VIRTUAL BUTTON"
|
|
|
|
depends on ACPI
|
|
|
|
depends on INPUT
|
|
|
|
select INPUT_SPARSEKMAP
|
|
|
|
help
|
|
|
|
This driver provides support for the Intel Virtual Button interface.
|
|
|
|
Some laptops require this driver for power button support.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called intel_vbtn.
|
|
|
|
|
2010-04-27 01:13:05 +08:00
|
|
|
config INTEL_SCU_IPC
|
|
|
|
bool "Intel SCU IPC Support"
|
2011-12-18 01:42:27 +08:00
|
|
|
depends on X86_INTEL_MID
|
2010-04-27 01:13:05 +08:00
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
IPC is used to bridge the communications between kernel and SCU on
|
2010-05-08 02:30:00 +08:00
|
|
|
some embedded Intel x86 platforms. This is not needed for PC-type
|
|
|
|
machines.
|
2010-04-27 01:13:05 +08:00
|
|
|
|
2010-10-22 22:43:55 +08:00
|
|
|
config INTEL_SCU_IPC_UTIL
|
|
|
|
tristate "Intel SCU IPC utility driver"
|
|
|
|
depends on INTEL_SCU_IPC
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
The IPC Util driver provides an interface with the SCU enabling
|
|
|
|
low level access for debug work and updating the firmware. Say
|
|
|
|
N unless you will be doing this on an Intel MID platform.
|
|
|
|
|
2010-07-13 17:56:25 +08:00
|
|
|
config GPIO_INTEL_PMIC
|
|
|
|
bool "Intel PMIC GPIO support"
|
|
|
|
depends on INTEL_SCU_IPC && GPIOLIB
|
|
|
|
---help---
|
|
|
|
Say Y here to support GPIO via the SCU IPC interface
|
|
|
|
on Intel MID platforms.
|
|
|
|
|
2011-02-08 03:45:55 +08:00
|
|
|
config INTEL_MID_POWER_BUTTON
|
|
|
|
tristate "power button driver for Intel MID platforms"
|
2011-02-17 06:31:02 +08:00
|
|
|
depends on INTEL_SCU_IPC && INPUT
|
2011-02-08 03:45:55 +08:00
|
|
|
help
|
|
|
|
This driver handles the power button on the Intel MID platforms.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2011-02-21 01:35:43 +08:00
|
|
|
config INTEL_MFLD_THERMAL
|
|
|
|
tristate "Thermal driver for Intel Medfield platform"
|
2011-12-16 06:28:11 +08:00
|
|
|
depends on MFD_INTEL_MSIC && THERMAL
|
2011-02-21 01:35:43 +08:00
|
|
|
help
|
|
|
|
Say Y here to enable thermal driver support for the Intel Medfield
|
|
|
|
platform.
|
|
|
|
|
2010-05-15 06:41:14 +08:00
|
|
|
config INTEL_IPS
|
|
|
|
tristate "Intel Intelligent Power Sharing"
|
|
|
|
depends on ACPI
|
|
|
|
---help---
|
|
|
|
Intel Calpella platforms support dynamic power sharing between the
|
|
|
|
CPU and GPU, maximizing performance in a given TDP. This driver,
|
|
|
|
along with the CPU frequency and i915 drivers, provides that
|
|
|
|
functionality. If in doubt, say Y here; it will only load on
|
|
|
|
supported platforms.
|
|
|
|
|
2015-01-31 00:29:38 +08:00
|
|
|
config INTEL_IMR
|
|
|
|
bool "Intel Isolated Memory Region support"
|
|
|
|
default n
|
|
|
|
depends on X86_INTEL_QUARK && IOSF_MBI
|
|
|
|
---help---
|
|
|
|
This option provides a means to manipulate Isolated Memory Regions.
|
|
|
|
IMRs are a set of registers that define read and write access masks
|
|
|
|
to prohibit certain system agents from accessing memory with 1 KiB
|
|
|
|
granularity.
|
|
|
|
|
|
|
|
IMRs make it possible to control read/write access to an address
|
|
|
|
by hardware agents inside the SoC. Read and write masks can be
|
|
|
|
defined for:
|
|
|
|
- eSRAM flush
|
|
|
|
- Dirty CPU snoop (write only)
|
|
|
|
- RMU access
|
|
|
|
- PCI Virtual Channel 0/Virtual Channel 1
|
|
|
|
- SMM mode
|
|
|
|
- Non SMM mode
|
|
|
|
|
|
|
|
Quark contains a set of eight IMR registers and makes use of those
|
|
|
|
registers during its bootup process.
|
|
|
|
|
|
|
|
If you are running on a Galileo/Quark say Y here.
|
|
|
|
|
2016-05-26 17:11:19 +08:00
|
|
|
config INTEL_PMC_CORE
|
|
|
|
bool "Intel PMC Core driver"
|
2016-05-26 17:43:23 +08:00
|
|
|
depends on PCI
|
2016-05-26 17:11:19 +08:00
|
|
|
---help---
|
|
|
|
The Intel Platform Controller Hub for Intel Core SoCs provides access
|
|
|
|
to Power Management Controller registers via a PCI interface. This
|
|
|
|
driver can utilize debugging capabilities and supported features as
|
|
|
|
exposed by the Power Management Controller.
|
|
|
|
|
|
|
|
Supported features:
|
|
|
|
- SLP_S0_RESIDENCY counter.
|
|
|
|
|
2010-10-06 06:47:18 +08:00
|
|
|
config IBM_RTL
|
|
|
|
tristate "Device driver to enable PRTL support"
|
2016-05-26 17:43:23 +08:00
|
|
|
depends on PCI
|
2010-10-06 06:47:18 +08:00
|
|
|
---help---
|
|
|
|
Enable support for IBM Premium Real Time Mode (PRTM).
|
|
|
|
This module will allow you the enter and exit PRTM in the BIOS via
|
|
|
|
sysfs on platforms that support this feature. System in PRTM will
|
|
|
|
not receive CPU-generated SMIs for recoverable errors. Use of this
|
|
|
|
feature without proper support may void your hardware warranty.
|
|
|
|
|
|
|
|
If the proper BIOS support is found the driver will load and create
|
|
|
|
/sys/devices/system/ibm_rtl/. The "state" variable will indicate
|
|
|
|
whether or not the BIOS is in PRTM.
|
|
|
|
state = 0 (BIOS SMIs on)
|
|
|
|
state = 1 (BIOS SMIs off)
|
|
|
|
|
2010-10-05 22:55:21 +08:00
|
|
|
config XO1_RFKILL
|
|
|
|
tristate "OLPC XO-1 software RF kill switch"
|
2014-06-02 04:02:48 +08:00
|
|
|
depends on OLPC || COMPILE_TEST
|
2010-10-05 22:55:21 +08:00
|
|
|
depends on RFKILL
|
|
|
|
---help---
|
|
|
|
Support for enabling/disabling the WLAN interface on the OLPC XO-1
|
|
|
|
laptop.
|
|
|
|
|
2011-02-04 00:27:55 +08:00
|
|
|
config XO15_EBOOK
|
|
|
|
tristate "OLPC XO-1.5 ebook switch"
|
2014-06-02 04:02:48 +08:00
|
|
|
depends on OLPC || COMPILE_TEST
|
2011-02-04 00:27:55 +08:00
|
|
|
depends on ACPI && INPUT
|
|
|
|
---help---
|
|
|
|
Support for the ebook switch on the OLPC XO-1.5 laptop.
|
|
|
|
|
|
|
|
This switch is triggered as the screen is rotated and folded down to
|
|
|
|
convert the device into ebook form.
|
|
|
|
|
2011-03-12 01:41:19 +08:00
|
|
|
config SAMSUNG_LAPTOP
|
|
|
|
tristate "Samsung Laptop driver"
|
2011-11-26 18:00:07 +08:00
|
|
|
depends on RFKILL || RFKILL = n
|
2013-08-23 00:06:23 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2011-11-26 18:00:07 +08:00
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
2011-11-26 18:00:08 +08:00
|
|
|
select LEDS_CLASS
|
|
|
|
select NEW_LEDS
|
2011-03-12 01:41:19 +08:00
|
|
|
---help---
|
|
|
|
This module implements a driver for a wide range of different
|
|
|
|
Samsung laptops. It offers control over the different
|
2011-11-26 18:00:07 +08:00
|
|
|
function keys, wireless LED, LCD backlight level.
|
|
|
|
|
|
|
|
It may also provide some sysfs files described in
|
|
|
|
<file:Documentation/ABI/testing/sysfs-platform-samsung-laptop>
|
2011-03-12 01:41:19 +08:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called samsung-laptop.
|
|
|
|
|
2010-12-06 10:43:33 +08:00
|
|
|
config MXM_WMI
|
|
|
|
tristate "WMI support for MXM Laptop Graphics"
|
2011-05-09 12:37:10 +08:00
|
|
|
depends on ACPI_WMI
|
2010-12-06 10:43:33 +08:00
|
|
|
---help---
|
|
|
|
MXM is a standard for laptop graphics cards, the WMI interface
|
|
|
|
is required for switchable nvidia graphics machines
|
|
|
|
|
2011-04-06 22:05:24 +08:00
|
|
|
config INTEL_OAKTRAIL
|
|
|
|
tristate "Intel Oaktrail Platform Extras"
|
|
|
|
depends on ACPI
|
2015-06-16 22:27:47 +08:00
|
|
|
depends on ACPI_VIDEO || ACPI_VIDEO = n
|
2011-04-06 22:05:24 +08:00
|
|
|
depends on RFKILL && BACKLIGHT_CLASS_DEVICE && ACPI
|
|
|
|
---help---
|
|
|
|
Intel Oaktrail platform need this driver to provide interfaces to
|
|
|
|
enable/disable the Camera, WiFi, BT etc. devices. If in doubt, say Y
|
|
|
|
here; it will only load on supported platforms.
|
|
|
|
|
2011-07-08 05:05:25 +08:00
|
|
|
config SAMSUNG_Q10
|
|
|
|
tristate "Samsung Q10 Extras"
|
2013-07-09 05:34:56 +08:00
|
|
|
depends on ACPI
|
2011-07-08 05:05:25 +08:00
|
|
|
select BACKLIGHT_CLASS_DEVICE
|
|
|
|
---help---
|
|
|
|
This driver provides support for backlight control on Samsung Q10
|
|
|
|
and related laptops, including Dell Latitude X200.
|
|
|
|
|
2012-03-17 03:41:22 +08:00
|
|
|
config APPLE_GMUX
|
|
|
|
tristate "Apple Gmux Driver"
|
2012-08-03 01:15:14 +08:00
|
|
|
depends on ACPI
|
2012-03-17 03:41:22 +08:00
|
|
|
depends on PNP
|
2012-08-03 01:15:14 +08:00
|
|
|
depends on BACKLIGHT_CLASS_DEVICE
|
|
|
|
depends on BACKLIGHT_APPLE=n || BACKLIGHT_APPLE
|
|
|
|
depends on ACPI_VIDEO=n || ACPI_VIDEO
|
2012-03-17 03:41:22 +08:00
|
|
|
---help---
|
|
|
|
This driver provides support for the gmux device found on many
|
|
|
|
Apple laptops, which controls the display mux for the hybrid
|
|
|
|
graphics as well as the backlight. Currently only backlight
|
|
|
|
control is supported by the driver.
|
|
|
|
|
2013-07-03 06:41:03 +08:00
|
|
|
config INTEL_RST
|
|
|
|
tristate "Intel Rapid Start Technology Driver"
|
|
|
|
depends on ACPI
|
|
|
|
---help---
|
|
|
|
This driver provides support for modifying paramaters on systems
|
|
|
|
equipped with Intel's Rapid Start Technology. When put in an ACPI
|
|
|
|
sleep state, these devices will wake after either a configured
|
|
|
|
timeout or when the system battery reaches a critical state,
|
|
|
|
automatically copying memory contents to disk. On resume, the
|
|
|
|
firmware will copy the memory contents back to RAM and resume the OS
|
|
|
|
as usual.
|
|
|
|
|
2013-07-03 12:50:13 +08:00
|
|
|
config INTEL_SMARTCONNECT
|
|
|
|
tristate "Intel Smart Connect disabling driver"
|
|
|
|
depends on ACPI
|
|
|
|
---help---
|
|
|
|
Intel Smart Connect is a technology intended to permit devices to
|
|
|
|
update state by resuming for a short period of time at regular
|
|
|
|
intervals. If a user enables this functionality under Windows and
|
|
|
|
then reboots into Linux, the system may remain configured to resume
|
|
|
|
on suspend. In the absence of any userspace to support it, the system
|
|
|
|
will then remain awake until something triggers another suspend.
|
|
|
|
|
|
|
|
This driver checks to determine whether the device has Intel Smart
|
|
|
|
Connect enabled, and if so disables it.
|
|
|
|
|
2013-05-08 11:15:32 +08:00
|
|
|
config PVPANIC
|
|
|
|
tristate "pvpanic device support"
|
|
|
|
depends on ACPI
|
|
|
|
---help---
|
|
|
|
This driver provides support for the pvpanic device. pvpanic is
|
|
|
|
a paravirtualized device provided by QEMU; it lets a virtual machine
|
|
|
|
(guest) communicate panic events to the host.
|
|
|
|
|
2015-06-27 00:32:15 +08:00
|
|
|
config INTEL_PMC_IPC
|
|
|
|
tristate "Intel PMC IPC Driver"
|
2015-09-26 00:31:12 +08:00
|
|
|
depends on ACPI
|
2015-06-27 00:32:15 +08:00
|
|
|
---help---
|
|
|
|
This driver provides support for PMC control on some Intel platforms.
|
|
|
|
The PMC is an ARC processor which defines IPC commands for communication
|
|
|
|
with other entities in the CPU.
|
|
|
|
|
surface pro 3: Add support driver for Surface Pro 3 buttons
Since Surface Pro 3 does not follow the specs of "Windows ACPI Design
Guide for SoC Platform", code in drivers/input/misc/soc_array.c can
not detect these buttons on it. According to bios implementation,
Surface Pro 3 encapsulates these buttons in a device named "VGBI",
with _HID "MSHW0028". When any of the buttons is pressed, a specify
ACPI notification code for this button will be delivered to "VGBI". For
example, if power button is pressed down, ACPI notification code of 0xc6
will be sent by Notify(VGBI, 0xc6).
This patch leverages "VGBI" to distinguish different ACPI notification
code from Power button, Home button, Volume button, then dispatches these
code to input layer. Lid is already covered by acpi button driver, so
there's no need to rewrite.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=84651
Tested-by: Ethan Schoonover <es@ethanschoonover.com>
Tested-by: Peter Amidon <psa.pub.0@picnicpark.org>
Tested-by: Donavan Lance <tusklahoma@gmail.com>
Tested-by: Stephen Just <stephenjust@gmail.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
[dvhart@linux.intel.com: Formatting corrections in MAINTAINERS and Intel (c)]
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2015-08-18 23:30:25 +08:00
|
|
|
config SURFACE_PRO3_BUTTON
|
2016-01-18 07:10:38 +08:00
|
|
|
tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
|
surface pro 3: Add support driver for Surface Pro 3 buttons
Since Surface Pro 3 does not follow the specs of "Windows ACPI Design
Guide for SoC Platform", code in drivers/input/misc/soc_array.c can
not detect these buttons on it. According to bios implementation,
Surface Pro 3 encapsulates these buttons in a device named "VGBI",
with _HID "MSHW0028". When any of the buttons is pressed, a specify
ACPI notification code for this button will be delivered to "VGBI". For
example, if power button is pressed down, ACPI notification code of 0xc6
will be sent by Notify(VGBI, 0xc6).
This patch leverages "VGBI" to distinguish different ACPI notification
code from Power button, Home button, Volume button, then dispatches these
code to input layer. Lid is already covered by acpi button driver, so
there's no need to rewrite.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=84651
Tested-by: Ethan Schoonover <es@ethanschoonover.com>
Tested-by: Peter Amidon <psa.pub.0@picnicpark.org>
Tested-by: Donavan Lance <tusklahoma@gmail.com>
Tested-by: Stephen Just <stephenjust@gmail.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
[dvhart@linux.intel.com: Formatting corrections in MAINTAINERS and Intel (c)]
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2015-08-18 23:30:25 +08:00
|
|
|
depends on ACPI && INPUT
|
|
|
|
---help---
|
2016-01-18 07:10:38 +08:00
|
|
|
This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.
|
2015-12-11 22:45:00 +08:00
|
|
|
|
|
|
|
config INTEL_PUNIT_IPC
|
|
|
|
tristate "Intel P-Unit IPC Driver"
|
|
|
|
---help---
|
|
|
|
This driver provides support for Intel P-Unit Mailbox IPC mechanism,
|
|
|
|
which is used to bridge the communications between kernel and P-Unit.
|
2016-01-12 18:30:33 +08:00
|
|
|
|
|
|
|
config INTEL_TELEMETRY
|
|
|
|
tristate "Intel SoC Telemetry Driver"
|
|
|
|
default n
|
|
|
|
depends on INTEL_PMC_IPC && INTEL_PUNIT_IPC && X86_64
|
|
|
|
---help---
|
|
|
|
This driver provides interfaces to configure and use
|
|
|
|
telemetry for INTEL SoC from APL onwards. It is also
|
|
|
|
used to get various SoC events and parameters
|
|
|
|
directly via debugfs files. Various tools may use
|
|
|
|
this interface for SoC state monitoring.
|
platform/x86: Introduce support for Mellanox hotplug driver
Enable system support for the Mellanox Technologies hotplug platform
driver, which provides support for the next Mellanox basic systems:
"msx6710", "msx6720", "msb7700", "msn2700", "msx1410", "msn2410",
"msb7800", "msn2740", "msn2100" and also various number of derivative
systems from the above basic types.
This driver handles hot-plug events for the power suppliers, power
cables and fans for the above systems.
The Kconfig currently controlling compilation of this code is:
driver/platform/x86:config MLX_CPLD_PLATFORM
tristate "Mellanox platform hotplug driver support"
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2016-10-21 00:28:01 +08:00
|
|
|
|
|
|
|
config MLX_CPLD_PLATFORM
|
|
|
|
tristate "Mellanox platform hotplug driver support"
|
|
|
|
default n
|
|
|
|
depends on MLX_PLATFORM
|
|
|
|
select HWMON
|
|
|
|
select I2C
|
|
|
|
---help---
|
|
|
|
This driver handles hot-plug events for the power suppliers, power
|
|
|
|
cables and fans on the wide range Mellanox IB and Ethernet systems.
|
|
|
|
|
2008-12-01 13:09:47 +08:00
|
|
|
endif # X86_PLATFORM_DEVICES
|