Kconfig 12 KB

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