Kconfig 12 KB

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