Kconfig 12 KB

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