Kconfig 10 KB

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