Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. #
  2. # ACPI Configuration
  3. #
  4. menuconfig ACPI
  5. bool "ACPI (Advanced Configuration and Power Interface) Support"
  6. depends on !IA64_HP_SIM
  7. depends on IA64 || X86
  8. depends on PCI
  9. depends on PM
  10. select PNP
  11. default y
  12. help
  13. Advanced Configuration and Power Interface (ACPI) support for
  14. Linux requires an ACPI-compliant platform (hardware/firmware),
  15. and assumes the presence of OS-directed configuration and power
  16. management (OSPM) software. This option will enlarge your
  17. kernel by about 70K.
  18. Linux ACPI provides a robust functional replacement for several
  19. legacy configuration and power management interfaces, including
  20. the Plug-and-Play BIOS specification (PnP BIOS), the
  21. MultiProcessor Specification (MPS), and the Advanced Power
  22. Management (APM) specification. If both ACPI and APM support
  23. are configured, ACPI is used.
  24. The project home page for the Linux ACPI subsystem is here:
  25. <http://www.lesswatts.org/projects/acpi/>
  26. Linux support for ACPI is based on Intel Corporation's ACPI
  27. Component Architecture (ACPI CA). For more information on the
  28. ACPI CA, see:
  29. <http://acpica.org/>
  30. ACPI is an open industry specification co-developed by
  31. Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba.
  32. The specification is available at:
  33. <http://www.acpi.info>
  34. if ACPI
  35. config ACPI_SLEEP
  36. bool
  37. depends on SUSPEND || HIBERNATION
  38. default y
  39. config ACPI_PROCFS
  40. bool "Deprecated /proc/acpi files"
  41. depends on PROC_FS
  42. help
  43. For backwards compatibility, this option allows
  44. deprecated /proc/acpi/ files to exist, even when
  45. they have been replaced by functions in /sys.
  46. This option has no effect on /proc/acpi/ files
  47. and functions which do not yet exist in /sys.
  48. Say N to delete /proc/acpi/ files that have moved to /sys/
  49. config ACPI_PROCFS_POWER
  50. bool "Deprecated power /proc/acpi directories"
  51. depends on PROC_FS
  52. help
  53. For backwards compatibility, this option allows
  54. deprecated power /proc/acpi/ directories to exist, even when
  55. they have been replaced by functions in /sys.
  56. The deprecated directories (and their replacements) include:
  57. /proc/acpi/battery/* (/sys/class/power_supply/*)
  58. /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
  59. This option has no effect on /proc/acpi/ directories
  60. and functions, which do not yet exist in /sys
  61. This option, together with the proc directories, will be
  62. deleted in 2.6.39.
  63. Say N to delete power /proc/acpi/ directories that have moved to /sys/
  64. config ACPI_POWER_METER
  65. tristate "ACPI 4.0 power meter"
  66. depends on HWMON
  67. help
  68. This driver exposes ACPI 4.0 power meters as hardware monitoring
  69. devices. Say Y (or M) if you have a computer with ACPI 4.0 firmware
  70. and a power meter.
  71. To compile this driver as a module, choose M here:
  72. the module will be called power-meter.
  73. config ACPI_EC_DEBUGFS
  74. tristate "EC read/write access through /sys/kernel/debug/ec"
  75. default n
  76. help
  77. Say N to disable Embedded Controller /sys/kernel/debug interface
  78. Be aware that using this interface can confuse your Embedded
  79. Controller in a way that a normal reboot is not enough. You then
  80. have to power off your system, and remove the laptop battery for
  81. some seconds.
  82. An Embedded Controller typically is available on laptops and reads
  83. sensor values like battery state and temperature.
  84. The kernel accesses the EC through ACPI parsed code provided by BIOS
  85. tables. This option allows to access the EC directly without ACPI
  86. code being involved.
  87. Thus this option is a debug option that helps to write ACPI drivers
  88. and can be used to identify ACPI code or EC firmware bugs.
  89. config ACPI_PROC_EVENT
  90. bool "Deprecated /proc/acpi/event support"
  91. depends on PROC_FS
  92. default y
  93. help
  94. A user-space daemon, acpid, typically reads /proc/acpi/event
  95. and handles all ACPI-generated events.
  96. These events are now delivered to user-space either
  97. via the input layer or as netlink events.
  98. This build option enables the old code for legacy
  99. user-space implementation. After some time, this will
  100. be moved under CONFIG_ACPI_PROCFS, and then deleted.
  101. Say Y here to retain the old behaviour. Say N if your
  102. user-space is newer than kernel 2.6.23 (September 2007).
  103. config ACPI_AC
  104. tristate "AC Adapter"
  105. depends on X86
  106. select POWER_SUPPLY
  107. default y
  108. help
  109. This driver supports the AC Adapter object, which indicates
  110. whether a system is on AC or not. If you have a system that can
  111. switch between A/C and battery, say Y.
  112. To compile this driver as a module, choose M here:
  113. the module will be called ac.
  114. config ACPI_BATTERY
  115. tristate "Battery"
  116. depends on X86
  117. select POWER_SUPPLY
  118. default y
  119. help
  120. This driver adds support for battery information through
  121. /proc/acpi/battery. If you have a mobile system with a battery,
  122. say Y.
  123. To compile this driver as a module, choose M here:
  124. the module will be called battery.
  125. config ACPI_BUTTON
  126. tristate "Button"
  127. depends on INPUT
  128. default y
  129. help
  130. This driver handles events on the power, sleep, and lid buttons.
  131. A daemon reads /proc/acpi/event and perform user-defined actions
  132. such as shutting down the system. This is necessary for
  133. software-controlled poweroff.
  134. To compile this driver as a module, choose M here:
  135. the module will be called button.
  136. config ACPI_VIDEO
  137. tristate "Video"
  138. depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
  139. depends on INPUT
  140. select THERMAL
  141. help
  142. This driver implements the ACPI Extensions For Display Adapters
  143. for integrated graphics devices on motherboard, as specified in
  144. ACPI 2.0 Specification, Appendix B. This supports basic operations
  145. such as defining the video POST device, retrieving EDID information,
  146. and setting up a video output.
  147. To compile this driver as a module, choose M here:
  148. the module will be called video.
  149. config ACPI_FAN
  150. tristate "Fan"
  151. select THERMAL
  152. default y
  153. help
  154. This driver supports ACPI fan devices, allowing user-mode
  155. applications to perform basic fan control (on, off, status).
  156. To compile this driver as a module, choose M here:
  157. the module will be called fan.
  158. config ACPI_DOCK
  159. bool "Dock"
  160. depends on EXPERIMENTAL
  161. help
  162. This driver supports ACPI-controlled docking stations and removable
  163. drive bays such as the IBM Ultrabay and the Dell Module Bay.
  164. config ACPI_PROCESSOR
  165. tristate "Processor"
  166. select THERMAL
  167. select CPU_IDLE
  168. default y
  169. help
  170. This driver installs ACPI as the idle handler for Linux and uses
  171. ACPI C2 and C3 processor states to save power on systems that
  172. support it. It is required by several flavors of cpufreq
  173. performance-state drivers.
  174. To compile this driver as a module, choose M here:
  175. the module will be called processor.
  176. config ACPI_IPMI
  177. tristate "IPMI"
  178. depends on EXPERIMENTAL && IPMI_SI && IPMI_HANDLER
  179. default n
  180. help
  181. This driver enables the ACPI to access the BMC controller. And it
  182. uses the IPMI request/response message to communicate with BMC
  183. controller, which can be found on on the server.
  184. To compile this driver as a module, choose M here:
  185. the module will be called as acpi_ipmi.
  186. config ACPI_HOTPLUG_CPU
  187. bool
  188. depends on ACPI_PROCESSOR && HOTPLUG_CPU
  189. select ACPI_CONTAINER
  190. default y
  191. config ACPI_PROCESSOR_AGGREGATOR
  192. tristate "Processor Aggregator"
  193. depends on ACPI_PROCESSOR
  194. depends on EXPERIMENTAL
  195. depends on X86
  196. help
  197. ACPI 4.0 defines processor Aggregator, which enables OS to perform
  198. specific processor configuration and control that applies to all
  199. processors in the platform. Currently only logical processor idling
  200. is defined, which is to reduce power consumption. This driver
  201. supports the new device.
  202. config ACPI_THERMAL
  203. tristate "Thermal Zone"
  204. depends on ACPI_PROCESSOR
  205. select THERMAL
  206. default y
  207. help
  208. This driver supports ACPI thermal zones. Most mobile and
  209. some desktop systems support ACPI thermal zones. It is HIGHLY
  210. recommended that this option be enabled, as your processor(s)
  211. may be damaged without it.
  212. To compile this driver as a module, choose M here:
  213. the module will be called thermal.
  214. config ACPI_NUMA
  215. bool "NUMA support"
  216. depends on NUMA
  217. depends on (X86 || IA64)
  218. default y if IA64_GENERIC || IA64_SGI_SN2
  219. config ACPI_CUSTOM_DSDT_FILE
  220. string "Custom DSDT Table file to include"
  221. default ""
  222. depends on !STANDALONE
  223. help
  224. This option supports a custom DSDT by linking it into the kernel.
  225. See Documentation/acpi/dsdt-override.txt
  226. Enter the full path name to the file which includes the AmlCode
  227. declaration.
  228. If unsure, don't enter a file name.
  229. config ACPI_CUSTOM_DSDT
  230. bool
  231. default ACPI_CUSTOM_DSDT_FILE != ""
  232. config ACPI_BLACKLIST_YEAR
  233. int "Disable ACPI for systems before Jan 1st this year" if X86_32
  234. default 0
  235. help
  236. Enter a 4-digit year, e.g., 2001, to disable ACPI by default
  237. on platforms with DMI BIOS date before January 1st that year.
  238. "acpi=force" can be used to override this mechanism.
  239. Enter 0 to disable this mechanism and allow ACPI to
  240. run by default no matter what the year. (default)
  241. config ACPI_DEBUG
  242. bool "Debug Statements"
  243. default n
  244. help
  245. The ACPI subsystem can produce debug output. Saying Y enables this
  246. output and increases the kernel size by around 50K.
  247. Use the acpi.debug_layer and acpi.debug_level kernel command-line
  248. parameters documented in Documentation/acpi/debug.txt and
  249. Documentation/kernel-parameters.txt to control the type and
  250. amount of debug output.
  251. config ACPI_DEBUG_FUNC_TRACE
  252. bool "Additionally enable ACPI function tracing"
  253. default n
  254. depends on ACPI_DEBUG
  255. help
  256. ACPI Debug Statements slow down ACPI processing. Function trace
  257. is about half of the penalty and is rarely useful.
  258. config ACPI_PCI_SLOT
  259. tristate "PCI slot detection driver"
  260. depends on SYSFS
  261. default n
  262. help
  263. This driver creates entries in /sys/bus/pci/slots/ for all PCI
  264. slots in the system. This can help correlate PCI bus addresses,
  265. i.e., segment/bus/device/function tuples, with physical slots in
  266. the system. If you are unsure, say N.
  267. To compile this driver as a module, choose M here:
  268. the module will be called pci_slot.
  269. config X86_PM_TIMER
  270. bool "Power Management Timer Support" if EXPERT
  271. depends on X86
  272. default y
  273. help
  274. The Power Management Timer is available on all ACPI-capable,
  275. in most cases even if ACPI is unusable or blacklisted.
  276. This timing source is not affected by power management features
  277. like aggressive processor idling, throttling, frequency and/or
  278. voltage scaling, unlike the commonly used Time Stamp Counter
  279. (TSC) timing source.
  280. You should nearly always say Y here because many modern
  281. systems require this timer.
  282. config ACPI_CONTAINER
  283. tristate "Container and Module Devices (EXPERIMENTAL)"
  284. depends on EXPERIMENTAL
  285. default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
  286. help
  287. This driver supports ACPI Container and Module devices (IDs
  288. ACPI0004, PNP0A05, and PNP0A06).
  289. This helps support hotplug of nodes, CPUs, and memory.
  290. To compile this driver as a module, choose M here:
  291. the module will be called container.
  292. config ACPI_HOTPLUG_MEMORY
  293. tristate "Memory Hotplug"
  294. depends on MEMORY_HOTPLUG
  295. default n
  296. help
  297. This driver supports ACPI memory hotplug. The driver
  298. fields notifications on ACPI memory devices (PNP0C80),
  299. which represent memory ranges that may be onlined or
  300. offlined during runtime.
  301. If your hardware and firmware do not support adding or
  302. removing memory devices at runtime, you need not enable
  303. this driver.
  304. To compile this driver as a module, choose M here:
  305. the module will be called acpi_memhotplug.
  306. config ACPI_SBS
  307. tristate "Smart Battery System"
  308. depends on X86
  309. select POWER_SUPPLY
  310. help
  311. This driver supports the Smart Battery System, another
  312. type of access to battery information, found on some laptops.
  313. To compile this driver as a module, choose M here:
  314. the modules will be called sbs and sbshc.
  315. config ACPI_HED
  316. tristate "Hardware Error Device"
  317. help
  318. This driver supports the Hardware Error Device (PNP0C33),
  319. which is used to report some hardware errors notified via
  320. SCI, mainly the corrected errors.
  321. source "drivers/acpi/apei/Kconfig"
  322. endif # ACPI