Kconfig 18 KB

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