Kconfig 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. #
  2. # ACPI Configuration
  3. #
  4. menu "ACPI (Advanced Configuration and Power Interface) Support"
  5. depends on !X86_NUMAQ
  6. depends on !X86_VISWS
  7. depends on !IA64_HP_SIM
  8. depends on IA64 || X86
  9. config ACPI
  10. bool "ACPI Support"
  11. depends on IA64 || X86
  12. depends on PCI
  13. depends on PM
  14. default y
  15. ---help---
  16. Advanced Configuration and Power Interface (ACPI) support for
  17. Linux requires an ACPI compliant platform (hardware/firmware),
  18. and assumes the presence of OS-directed configuration and power
  19. management (OSPM) software. This option will enlarge your
  20. kernel by about 70K.
  21. Linux ACPI provides a robust functional replacement for several
  22. legacy configuration and power management interfaces, including
  23. the Plug-and-Play BIOS specification (PnP BIOS), the
  24. MultiProcessor Specification (MPS), and the Advanced Power
  25. Management (APM) specification. If both ACPI and APM support
  26. are configured, whichever is loaded first shall be used.
  27. The ACPI SourceForge project contains the latest source code,
  28. documentation, tools, mailing list subscription, and other
  29. information. This project is available at:
  30. <http://sourceforge.net/projects/acpi>
  31. Linux support for ACPI is based on Intel Corporation's ACPI
  32. Component Architecture (ACPI CA). For more information see:
  33. <http://developer.intel.com/technology/iapc/acpi>
  34. ACPI is an open industry specification co-developed by Compaq,
  35. Intel, Microsoft, Phoenix, and Toshiba. The specification is
  36. available at:
  37. <http://www.acpi.info>
  38. if ACPI
  39. config ACPI_SLEEP
  40. bool "Sleep States"
  41. depends on X86 && (!SMP || SUSPEND_SMP)
  42. depends on PM
  43. default y
  44. ---help---
  45. This option adds support for ACPI suspend states.
  46. With this option, you will be able to put the system "to sleep".
  47. Sleep states are low power states for the system and devices. All
  48. of the system operating state is saved to either memory or disk
  49. (depending on the state), to allow the system to resume operation
  50. quickly at your request.
  51. Although this option sounds really nifty, barely any of the device
  52. drivers have been converted to the new driver model and hence few
  53. have proper power management support.
  54. This option is not recommended for anyone except those doing driver
  55. power management development.
  56. config ACPI_SLEEP_PROC_FS
  57. bool
  58. depends on ACPI_SLEEP && PROC_FS
  59. default y
  60. config ACPI_SLEEP_PROC_SLEEP
  61. bool "/proc/acpi/sleep (deprecated)"
  62. depends on ACPI_SLEEP_PROC_FS
  63. default n
  64. ---help---
  65. Create /proc/acpi/sleep
  66. Deprecated by /sys/power/state
  67. config ACPI_PROCFS
  68. bool "Procfs interface (deprecated)"
  69. depends on ACPI
  70. default y
  71. ---help---
  72. Procfs interface for ACPI is made optional for back-compatible.
  73. As the same functions are duplicated in sysfs interface
  74. and this proc interface will be removed some time later,
  75. it's marked as deprecated.
  76. ( /proc/acpi/debug_layer && debug_level are deprecated by
  77. /sys/module/acpi/parameters/debug_layer && debug_level.
  78. /proc/acpi/info is deprecated by
  79. /sys/module/acpi/parameters/acpica_version )
  80. config ACPI_AC
  81. tristate "AC Adapter"
  82. depends on X86
  83. default y
  84. help
  85. This driver adds support for the AC Adapter object, which indicates
  86. whether a system is on AC, or not. If you have a system that can
  87. switch between A/C and battery, say Y.
  88. config ACPI_BATTERY
  89. tristate "Battery"
  90. depends on X86
  91. default y
  92. help
  93. This driver adds support for battery information through
  94. /proc/acpi/battery. If you have a mobile system with a battery,
  95. say Y.
  96. config ACPI_BUTTON
  97. tristate "Button"
  98. depends on INPUT
  99. default y
  100. help
  101. This driver handles events on the power, sleep and lid buttons.
  102. A daemon reads /proc/acpi/event and perform user-defined actions
  103. such as shutting down the system. This is necessary for
  104. software controlled poweroff.
  105. config ACPI_VIDEO
  106. tristate "Video"
  107. depends on X86 && BACKLIGHT_CLASS_DEVICE
  108. help
  109. This driver implement the ACPI Extensions For Display Adapters
  110. for integrated graphics devices on motherboard, as specified in
  111. ACPI 2.0 Specification, Appendix B, allowing to perform some basic
  112. control like defining the video POST device, retrieving EDID information
  113. or to setup a video output, etc.
  114. Note that this is an ref. implementation only. It may or may not work
  115. for your integrated video device.
  116. config ACPI_HOTKEY
  117. tristate "Generic Hotkey (EXPERIMENTAL)"
  118. depends on EXPERIMENTAL
  119. depends on X86
  120. default n
  121. help
  122. Experimental consolidated hotkey driver.
  123. If you are unsure, say N.
  124. config ACPI_FAN
  125. tristate "Fan"
  126. default y
  127. help
  128. This driver adds support for ACPI fan devices, allowing user-mode
  129. applications to perform basic fan control (on, off, status).
  130. config ACPI_DOCK
  131. tristate "Dock"
  132. depends on EXPERIMENTAL
  133. help
  134. This driver adds support for ACPI controlled docking stations
  135. config ACPI_BAY
  136. tristate "Removable Drive Bay (EXPERIMENTAL)"
  137. depends on EXPERIMENTAL
  138. help
  139. This driver adds support for ACPI controlled removable drive
  140. bays such as the IBM ultrabay or the Dell Module Bay.
  141. config ACPI_PROCESSOR
  142. tristate "Processor"
  143. default y
  144. help
  145. This driver installs ACPI as the idle handler for Linux, and uses
  146. ACPI C2 and C3 processor states to save power, on systems that
  147. support it. It is required by several flavors of cpufreq
  148. Performance-state drivers.
  149. config ACPI_HOTPLUG_CPU
  150. bool
  151. depends on ACPI_PROCESSOR && HOTPLUG_CPU
  152. select ACPI_CONTAINER
  153. default y
  154. config ACPI_THERMAL
  155. tristate "Thermal Zone"
  156. depends on ACPI_PROCESSOR
  157. default y
  158. help
  159. This driver adds support for ACPI thermal zones. Most mobile and
  160. some desktop systems support ACPI thermal zones. It is HIGHLY
  161. recommended that this option be enabled, as your processor(s)
  162. may be damaged without it.
  163. config ACPI_NUMA
  164. bool "NUMA support"
  165. depends on NUMA
  166. depends on (X86 || IA64)
  167. default y if IA64_GENERIC || IA64_SGI_SN2
  168. config ACPI_ASUS
  169. tristate "ASUS/Medion Laptop Extras"
  170. depends on X86
  171. select BACKLIGHT_CLASS_DEVICE
  172. ---help---
  173. This driver provides support for extra features of ACPI-compatible
  174. ASUS laptops. As some of Medion laptops are made by ASUS, it may also
  175. support some Medion laptops (such as 9675 for example). It makes all
  176. the extra buttons generate standard ACPI events that go through
  177. /proc/acpi/events, and (on some models) adds support for changing the
  178. display brightness and output, switching the LCD backlight on and off,
  179. and most importantly, allows you to blink those fancy LEDs intended
  180. for reporting mail and wireless status.
  181. Note: display switching code is currently considered EXPERIMENTAL,
  182. toying with these values may even lock your machine.
  183. All settings are changed via /proc/acpi/asus directory entries. Owner
  184. and group for these entries can be set with asus_uid and asus_gid
  185. parameters.
  186. More information and a userspace daemon for handling the extra buttons
  187. at <http://sourceforge.net/projects/acpi4asus/>.
  188. If you have an ACPI-compatible ASUS laptop, say Y or M here. This
  189. driver is still under development, so if your laptop is unsupported or
  190. something works not quite as expected, please use the mailing list
  191. available on the above page (acpi4asus-user@lists.sourceforge.net).
  192. NOTE: This driver is deprecated and will probably be removed soon,
  193. use asus-laptop instead.
  194. config ACPI_IBM
  195. tristate "IBM ThinkPad Laptop Extras"
  196. depends on X86
  197. select BACKLIGHT_CLASS_DEVICE
  198. ---help---
  199. This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
  200. support for Fn-Fx key combinations, Bluetooth control, video
  201. output switching, ThinkLight control, UltraBay eject and more.
  202. For more information about this driver see <file:Documentation/ibm-acpi.txt>
  203. and <http://ibm-acpi.sf.net/> .
  204. If you have an IBM ThinkPad laptop, say Y or M here.
  205. config ACPI_IBM_DOCK
  206. bool "Legacy Docking Station Support"
  207. depends on ACPI_IBM
  208. depends on ACPI_DOCK=n
  209. default n
  210. ---help---
  211. Allows the ibm_acpi driver to handle docking station events.
  212. This support is obsoleted by CONFIG_HOTPLUG_PCI_ACPI. It will
  213. allow locking and removing the laptop from the docking station,
  214. but will not properly connect PCI devices.
  215. If you are not sure, say N here.
  216. config ACPI_TOSHIBA
  217. tristate "Toshiba Laptop Extras"
  218. depends on X86
  219. select BACKLIGHT_CLASS_DEVICE
  220. ---help---
  221. This driver adds support for access to certain system settings
  222. on "legacy free" Toshiba laptops. These laptops can be recognized by
  223. their lack of a BIOS setup menu and APM support.
  224. On these machines, all system configuration is handled through the
  225. ACPI. This driver is required for access to controls not covered
  226. by the general ACPI drivers, such as LCD brightness, video output,
  227. etc.
  228. This driver differs from the non-ACPI Toshiba laptop driver (located
  229. under "Processor type and features") in several aspects.
  230. Configuration is accessed by reading and writing text files in the
  231. /proc tree instead of by program interface to /dev. Furthermore, no
  232. power management functions are exposed, as those are handled by the
  233. general ACPI drivers.
  234. More information about this driver is available at
  235. <http://memebeam.org/toys/ToshibaAcpiDriver>.
  236. If you have a legacy free Toshiba laptop (such as the Libretto L1
  237. series), say Y.
  238. config ACPI_CUSTOM_DSDT
  239. bool "Include Custom DSDT"
  240. depends on !STANDALONE
  241. default n
  242. help
  243. This option is to load a custom ACPI DSDT
  244. If you don't know what that is, say N.
  245. config ACPI_CUSTOM_DSDT_FILE
  246. string "Custom DSDT Table file to include"
  247. depends on ACPI_CUSTOM_DSDT
  248. default ""
  249. help
  250. Enter the full path name to the file which includes the AmlCode
  251. declaration.
  252. config ACPI_BLACKLIST_YEAR
  253. int "Disable ACPI for systems before Jan 1st this year" if X86_32
  254. default 0
  255. help
  256. enter a 4-digit year, eg. 2001 to disable ACPI by default
  257. on platforms with DMI BIOS date before January 1st that year.
  258. "acpi=force" can be used to override this mechanism.
  259. Enter 0 to disable this mechanism and allow ACPI to
  260. run by default no matter what the year. (default)
  261. config ACPI_DEBUG
  262. bool "Debug Statements"
  263. default n
  264. help
  265. The ACPI driver can optionally report errors with a great deal
  266. of verbosity. Saying Y enables these statements. This will increase
  267. your kernel size by around 50K.
  268. config ACPI_EC
  269. bool
  270. default y
  271. help
  272. This driver is required on some systems for the proper operation of
  273. the battery and thermal drivers. If you are compiling for a
  274. mobile system, say Y.
  275. config ACPI_POWER
  276. bool
  277. default y
  278. config ACPI_SYSTEM
  279. bool
  280. default y
  281. help
  282. This driver will enable your system to shut down using ACPI, and
  283. dump your ACPI DSDT table using /proc/acpi/dsdt.
  284. config X86_PM_TIMER
  285. bool "Power Management Timer Support" if EMBEDDED
  286. depends on X86
  287. default y
  288. help
  289. The Power Management Timer is available on all ACPI-capable,
  290. in most cases even if ACPI is unusable or blacklisted.
  291. This timing source is not affected by power management features
  292. like aggressive processor idling, throttling, frequency and/or
  293. voltage scaling, unlike the commonly used Time Stamp Counter
  294. (TSC) timing source.
  295. You should nearly always say Y here because many modern
  296. systems require this timer.
  297. config ACPI_CONTAINER
  298. tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
  299. depends on EXPERIMENTAL
  300. default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
  301. ---help---
  302. This allows _physical_ insertion and removal of CPUs and memory.
  303. This can be useful, for example, on NUMA machines that support
  304. ACPI based physical hotplug of nodes, or non-NUMA machines that
  305. support physical cpu/memory hot-plug.
  306. If one selects "m", this driver can be loaded with
  307. "modprobe acpi_container".
  308. config ACPI_HOTPLUG_MEMORY
  309. tristate "Memory Hotplug"
  310. depends on ACPI
  311. depends on MEMORY_HOTPLUG
  312. default n
  313. help
  314. This driver adds supports for ACPI Memory Hotplug. This driver
  315. provides support for fielding notifications on ACPI memory
  316. devices (PNP0C80) which represent memory ranges that may be
  317. onlined or offlined during runtime.
  318. Enabling this driver assumes that your platform hardware
  319. and firmware have support for hot-plugging physical memory. If
  320. your system does not support physically adding or ripping out
  321. memory DIMMs at some platform defined granularity (individually
  322. or as a bank) at runtime, then you need not enable this driver.
  323. If one selects "m," this driver can be loaded using the following
  324. command:
  325. $>modprobe acpi_memhotplug
  326. config ACPI_SBS
  327. tristate "Smart Battery System (EXPERIMENTAL)"
  328. depends on X86 && I2C
  329. depends on EXPERIMENTAL
  330. help
  331. This driver adds support for the Smart Battery System.
  332. Depends on I2C (Device Drivers ---> I2C support)
  333. A "Smart Battery" is quite old and quite rare compared
  334. to today's ACPI "Control Method" battery.
  335. endif # ACPI
  336. endmenu