Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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, whichever is loaded first shall be used.
  24. The ACPI SourceForge project contains the latest source code,
  25. documentation, tools, mailing list subscription, and other
  26. information. This project is available at:
  27. <http://sourceforge.net/projects/acpi>
  28. Linux support for ACPI is based on Intel Corporation's ACPI
  29. Component Architecture (ACPI CA). For more information see:
  30. <http://developer.intel.com/technology/iapc/acpi>
  31. ACPI is an open industry specification co-developed by Compaq,
  32. Intel, Microsoft, Phoenix, and Toshiba. The specification is
  33. 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/sleep (/sys/power/state)
  49. /proc/acpi/info (/sys/modules/acpi/parameters/acpica_version)
  50. /proc/acpi/dsdt (/sys/firmware/acpi/tables/DSDT)
  51. /proc/acpi/fadt (/sys/firmware/acpi/tables/FACP)
  52. /proc/acpi/debug_layer (/sys/module/acpi/parameters/debug_layer)
  53. /proc/acpi/debug_level (/sys/module/acpi/parameters/debug_level)
  54. This option has no effect on /proc/acpi/ files
  55. and functions which do not yet exist in /sys.
  56. Say N to delete /proc/acpi/ files that have moved to /sys/
  57. config ACPI_PROCFS_POWER
  58. bool "Deprecated power /proc/acpi directories"
  59. depends on PROC_FS
  60. default y
  61. ---help---
  62. For backwards compatibility, this option allows
  63. deprecated power /proc/acpi/ directories to exist, even when
  64. they have been replaced by functions in /sys.
  65. The deprecated directories (and their replacements) include:
  66. /proc/acpi/battery/* (/sys/class/power_supply/*)
  67. /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
  68. This option has no effect on /proc/acpi/ directories
  69. and functions, which do not yet exist in /sys
  70. Say N to delete power /proc/acpi/ directories that have moved to /sys/
  71. config ACPI_SYSFS_POWER
  72. bool "Future power /sys interface"
  73. select POWER_SUPPLY
  74. default y
  75. ---help---
  76. Say N to disable power /sys interface
  77. config ACPI_PROC_EVENT
  78. bool "Deprecated /proc/acpi/event support"
  79. depends on PROC_FS
  80. default y
  81. ---help---
  82. A user-space daemon, acpi, typically read /proc/acpi/event
  83. and handled all ACPI sub-system generated events.
  84. These events are now delivered to user-space via
  85. either the input layer, or as netlink events.
  86. This build option enables the old code for legacy
  87. user-space implementation. After some time, this will
  88. be moved under CONFIG_ACPI_PROCFS, and then deleted.
  89. Say Y here to retain the old behaviour. Say N if your
  90. user-space is newer than kernel 2.6.23 (September 2007).
  91. config ACPI_AC
  92. tristate "AC Adapter"
  93. depends on X86
  94. default y
  95. help
  96. This driver adds support for the AC Adapter object, which indicates
  97. whether a system is on AC, or not. If you have a system that can
  98. switch between A/C and battery, say Y.
  99. config ACPI_BATTERY
  100. tristate "Battery"
  101. depends on X86
  102. default y
  103. help
  104. This driver adds support for battery information through
  105. /proc/acpi/battery. If you have a mobile system with a battery,
  106. say Y.
  107. config ACPI_BUTTON
  108. tristate "Button"
  109. depends on INPUT
  110. default y
  111. help
  112. This driver handles events on the power, sleep and lid buttons.
  113. A daemon reads /proc/acpi/event and perform user-defined actions
  114. such as shutting down the system. This is necessary for
  115. software controlled poweroff.
  116. config ACPI_VIDEO
  117. tristate "Video"
  118. depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
  119. depends on INPUT
  120. select THERMAL
  121. help
  122. This driver implement the ACPI Extensions For Display Adapters
  123. for integrated graphics devices on motherboard, as specified in
  124. ACPI 2.0 Specification, Appendix B, allowing to perform some basic
  125. control like defining the video POST device, retrieving EDID information
  126. or to setup a video output, etc.
  127. Note that this is an ref. implementation only. It may or may not work
  128. for your integrated video device.
  129. config ACPI_FAN
  130. tristate "Fan"
  131. select THERMAL
  132. default y
  133. help
  134. This driver adds support for ACPI fan devices, allowing user-mode
  135. applications to perform basic fan control (on, off, status).
  136. config ACPI_DOCK
  137. bool "Dock"
  138. depends on EXPERIMENTAL
  139. help
  140. This driver adds support for ACPI controlled docking stations and removable
  141. drive bays such as the IBM ultrabay or the Dell Module Bay.
  142. config ACPI_PROCESSOR
  143. tristate "Processor"
  144. select THERMAL
  145. default y
  146. help
  147. This driver installs ACPI as the idle handler for Linux, and uses
  148. ACPI C2 and C3 processor states to save power, on systems that
  149. support it. It is required by several flavors of cpufreq
  150. Performance-state drivers.
  151. config ACPI_HOTPLUG_CPU
  152. bool
  153. depends on ACPI_PROCESSOR && HOTPLUG_CPU
  154. select ACPI_CONTAINER
  155. default y
  156. config ACPI_THERMAL
  157. tristate "Thermal Zone"
  158. depends on ACPI_PROCESSOR
  159. select THERMAL
  160. default y
  161. help
  162. This driver adds support for ACPI thermal zones. Most mobile and
  163. some desktop systems support ACPI thermal zones. It is HIGHLY
  164. recommended that this option be enabled, as your processor(s)
  165. may be damaged without it.
  166. config ACPI_NUMA
  167. bool "NUMA support"
  168. depends on NUMA
  169. depends on (X86 || IA64)
  170. default y if IA64_GENERIC || IA64_SGI_SN2
  171. config ACPI_CUSTOM_DSDT_FILE
  172. string "Custom DSDT Table file to include"
  173. default ""
  174. depends on !STANDALONE
  175. help
  176. This option supports a custom DSDT by linking it into the kernel.
  177. See Documentation/acpi/dsdt-override.txt
  178. Enter the full path name to the file which includes the AmlCode
  179. declaration.
  180. If unsure, don't enter a file name.
  181. config ACPI_CUSTOM_DSDT
  182. bool
  183. default ACPI_CUSTOM_DSDT_FILE != ""
  184. config ACPI_BLACKLIST_YEAR
  185. int "Disable ACPI for systems before Jan 1st this year" if X86_32
  186. default 0
  187. help
  188. enter a 4-digit year, eg. 2001 to disable ACPI by default
  189. on platforms with DMI BIOS date before January 1st that year.
  190. "acpi=force" can be used to override this mechanism.
  191. Enter 0 to disable this mechanism and allow ACPI to
  192. run by default no matter what the year. (default)
  193. config ACPI_DEBUG
  194. bool "Debug Statements"
  195. default n
  196. help
  197. The ACPI subsystem can produce debug output. Saying Y enables this
  198. output and increases the kernel size by around 50K.
  199. Use the acpi.debug_layer and acpi.debug_level kernel command-line
  200. parameters documented in Documentation/acpi/debug.txt and
  201. Documentation/kernel-parameters.txt to control the type and
  202. amount of debug output.
  203. config ACPI_DEBUG_FUNC_TRACE
  204. bool "Additionally enable ACPI function tracing"
  205. default n
  206. depends on ACPI_DEBUG
  207. help
  208. ACPI Debug Statements slow down ACPI processing. Function trace
  209. is about half of the penalty and is rarely useful.
  210. config ACPI_PCI_SLOT
  211. tristate "PCI slot detection driver"
  212. default n
  213. help
  214. This driver will attempt to discover all PCI slots in your system,
  215. and creates entries in /sys/bus/pci/slots/. This feature can
  216. help you correlate PCI bus addresses with the physical geography
  217. of your slots. If you are unsure, say N.
  218. config ACPI_SYSTEM
  219. bool
  220. default y
  221. help
  222. This driver will enable your system to shut down using ACPI, and
  223. dump your ACPI DSDT table using /proc/acpi/dsdt.
  224. config X86_PM_TIMER
  225. bool "Power Management Timer Support" if EMBEDDED
  226. depends on X86
  227. default y
  228. help
  229. The Power Management Timer is available on all ACPI-capable,
  230. in most cases even if ACPI is unusable or blacklisted.
  231. This timing source is not affected by power management features
  232. like aggressive processor idling, throttling, frequency and/or
  233. voltage scaling, unlike the commonly used Time Stamp Counter
  234. (TSC) timing source.
  235. You should nearly always say Y here because many modern
  236. systems require this timer.
  237. config ACPI_CONTAINER
  238. tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
  239. depends on EXPERIMENTAL
  240. default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
  241. ---help---
  242. This allows _physical_ insertion and removal of CPUs and memory.
  243. This can be useful, for example, on NUMA machines that support
  244. ACPI based physical hotplug of nodes, or non-NUMA machines that
  245. support physical cpu/memory hot-plug.
  246. If one selects "m", this driver can be loaded with
  247. "modprobe acpi_container".
  248. config ACPI_HOTPLUG_MEMORY
  249. tristate "Memory Hotplug"
  250. depends on MEMORY_HOTPLUG
  251. default n
  252. help
  253. This driver adds supports for ACPI Memory Hotplug. This driver
  254. provides support for fielding notifications on ACPI memory
  255. devices (PNP0C80) which represent memory ranges that may be
  256. onlined or offlined during runtime.
  257. Enabling this driver assumes that your platform hardware
  258. and firmware have support for hot-plugging physical memory. If
  259. your system does not support physically adding or ripping out
  260. memory DIMMs at some platform defined granularity (individually
  261. or as a bank) at runtime, then you need not enable this driver.
  262. If one selects "m," this driver can be loaded using the following
  263. command:
  264. $>modprobe acpi_memhotplug
  265. config ACPI_SBS
  266. tristate "Smart Battery System"
  267. depends on X86
  268. help
  269. This driver adds support for the Smart Battery System, another
  270. type of access to battery information, found on some laptops.
  271. endif # ACPI