Kconfig 11 KB

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