Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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/sleep (/sys/power/state)
  49. /proc/acpi/info (/sys/module/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, acpid, typically reads /proc/acpi/event
  83. and handles all ACPI-generated events.
  84. These events are now delivered to user-space either
  85. via 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 supports 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. To compile this driver as a module, choose M here:
  100. the module will be called ac.
  101. config ACPI_BATTERY
  102. tristate "Battery"
  103. depends on X86
  104. default y
  105. help
  106. This driver adds support for battery information through
  107. /proc/acpi/battery. If you have a mobile system with a battery,
  108. say Y.
  109. To compile this driver as a module, choose M here:
  110. the module will be called battery.
  111. config ACPI_BUTTON
  112. tristate "Button"
  113. depends on INPUT
  114. default y
  115. help
  116. This driver handles events on the power, sleep, and lid buttons.
  117. A daemon reads /proc/acpi/event and perform user-defined actions
  118. such as shutting down the system. This is necessary for
  119. software-controlled poweroff.
  120. To compile this driver as a module, choose M here:
  121. the module will be called button.
  122. config ACPI_VIDEO
  123. tristate "Video"
  124. depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
  125. depends on INPUT
  126. select THERMAL
  127. help
  128. This driver implements the ACPI Extensions For Display Adapters
  129. for integrated graphics devices on motherboard, as specified in
  130. ACPI 2.0 Specification, Appendix B. This supports basic operations
  131. such as defining the video POST device, retrieving EDID information,
  132. and setting up a video output.
  133. To compile this driver as a module, choose M here:
  134. the module will be called video.
  135. config ACPI_FAN
  136. tristate "Fan"
  137. select THERMAL
  138. default y
  139. help
  140. This driver supports ACPI fan devices, allowing user-mode
  141. applications to perform basic fan control (on, off, status).
  142. To compile this driver as a module, choose M here:
  143. the module will be called fan.
  144. config ACPI_DOCK
  145. bool "Dock"
  146. depends on EXPERIMENTAL
  147. help
  148. This driver supports ACPI-controlled docking stations and removable
  149. drive bays such as the IBM Ultrabay and the Dell Module Bay.
  150. config ACPI_PROCESSOR
  151. tristate "Processor"
  152. select THERMAL
  153. default y
  154. help
  155. This driver installs ACPI as the idle handler for Linux and uses
  156. ACPI C2 and C3 processor states to save power on systems that
  157. support it. It is required by several flavors of cpufreq
  158. performance-state drivers.
  159. To compile this driver as a module, choose M here:
  160. the module will be called processor.
  161. config ACPI_HOTPLUG_CPU
  162. bool
  163. depends on ACPI_PROCESSOR && HOTPLUG_CPU
  164. select ACPI_CONTAINER
  165. default y
  166. config ACPI_THERMAL
  167. tristate "Thermal Zone"
  168. depends on ACPI_PROCESSOR
  169. select THERMAL
  170. default y
  171. help
  172. This driver supports ACPI thermal zones. Most mobile and
  173. some desktop systems support ACPI thermal zones. It is HIGHLY
  174. recommended that this option be enabled, as your processor(s)
  175. may be damaged without it.
  176. To compile this driver as a module, choose M here:
  177. the module will be called thermal.
  178. config ACPI_NUMA
  179. bool "NUMA support"
  180. depends on NUMA
  181. depends on (X86 || IA64)
  182. default y if IA64_GENERIC || IA64_SGI_SN2
  183. config ACPI_CUSTOM_DSDT_FILE
  184. string "Custom DSDT Table file to include"
  185. default ""
  186. depends on !STANDALONE
  187. help
  188. This option supports a custom DSDT by linking it into the kernel.
  189. See Documentation/acpi/dsdt-override.txt
  190. Enter the full path name to the file which includes the AmlCode
  191. declaration.
  192. If unsure, don't enter a file name.
  193. config ACPI_CUSTOM_DSDT
  194. bool
  195. default ACPI_CUSTOM_DSDT_FILE != ""
  196. config ACPI_BLACKLIST_YEAR
  197. int "Disable ACPI for systems before Jan 1st this year" if X86_32
  198. default 0
  199. help
  200. Enter a 4-digit year, e.g., 2001, to disable ACPI by default
  201. on platforms with DMI BIOS date before January 1st that year.
  202. "acpi=force" can be used to override this mechanism.
  203. Enter 0 to disable this mechanism and allow ACPI to
  204. run by default no matter what the year. (default)
  205. config ACPI_DEBUG
  206. bool "Debug Statements"
  207. default n
  208. help
  209. The ACPI subsystem can produce debug output. Saying Y enables this
  210. output and increases the kernel size by around 50K.
  211. Use the acpi.debug_layer and acpi.debug_level kernel command-line
  212. parameters documented in Documentation/acpi/debug.txt and
  213. Documentation/kernel-parameters.txt to control the type and
  214. amount of debug output.
  215. config ACPI_DEBUG_FUNC_TRACE
  216. bool "Additionally enable ACPI function tracing"
  217. default n
  218. depends on ACPI_DEBUG
  219. help
  220. ACPI Debug Statements slow down ACPI processing. Function trace
  221. is about half of the penalty and is rarely useful.
  222. config ACPI_PCI_SLOT
  223. tristate "PCI slot detection driver"
  224. default n
  225. help
  226. This driver creates entries in /sys/bus/pci/slots/ for all PCI
  227. slots in the system. This can help correlate PCI bus addresses,
  228. i.e., segment/bus/device/function tuples, with physical slots in
  229. the system. If you are unsure, say N.
  230. To compile this driver as a module, choose M here:
  231. the module will be called pci_slot.
  232. config X86_PM_TIMER
  233. bool "Power Management Timer Support" if EMBEDDED
  234. depends on X86
  235. default y
  236. help
  237. The Power Management Timer is available on all ACPI-capable,
  238. in most cases even if ACPI is unusable or blacklisted.
  239. This timing source is not affected by power management features
  240. like aggressive processor idling, throttling, frequency and/or
  241. voltage scaling, unlike the commonly used Time Stamp Counter
  242. (TSC) timing source.
  243. You should nearly always say Y here because many modern
  244. systems require this timer.
  245. config ACPI_CONTAINER
  246. tristate "Container and Module Devices (EXPERIMENTAL)"
  247. depends on EXPERIMENTAL
  248. default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
  249. help
  250. This driver supports ACPI Container and Module devices (IDs
  251. ACPI0004, PNP0A05, and PNP0A06).
  252. This helps support hotplug of nodes, CPUs, and memory.
  253. To compile this driver as a module, choose M here:
  254. the module will be called container.
  255. config ACPI_HOTPLUG_MEMORY
  256. tristate "Memory Hotplug"
  257. depends on MEMORY_HOTPLUG
  258. default n
  259. help
  260. This driver supports ACPI memory hotplug. The driver
  261. fields notifications on ACPI memory devices (PNP0C80),
  262. which represent memory ranges that may be onlined or
  263. offlined during runtime.
  264. If your hardware and firmware do not support adding or
  265. removing memory devices at runtime, you need not enable
  266. this driver.
  267. To compile this driver as a module, choose M here:
  268. the module will be called acpi_memhotplug.
  269. config ACPI_SBS
  270. tristate "Smart Battery System"
  271. depends on X86
  272. help
  273. This driver supports the Smart Battery System, another
  274. type of access to battery information, found on some laptops.
  275. To compile this driver as a module, choose M here:
  276. the modules will be called sbs and sbshc.
  277. endif # ACPI