Kconfig 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. #
  2. # ACPI Configuration
  3. #
  4. menuconfig ACPI
  5. bool "ACPI (Advanced Configuration and Power Interface) Support"
  6. depends on !X86_NUMAQ
  7. depends on !X86_VISWS
  8. depends on !IA64_HP_SIM
  9. depends on IA64 || X86
  10. depends on PCI
  11. depends on PM
  12. select PNP
  13. default y
  14. ---help---
  15. Advanced Configuration and Power Interface (ACPI) support for
  16. Linux requires an ACPI compliant platform (hardware/firmware),
  17. and assumes the presence of OS-directed configuration and power
  18. management (OSPM) software. This option will enlarge your
  19. kernel by about 70K.
  20. Linux ACPI provides a robust functional replacement for several
  21. legacy configuration and power management interfaces, including
  22. the Plug-and-Play BIOS specification (PnP BIOS), the
  23. MultiProcessor Specification (MPS), and the Advanced Power
  24. Management (APM) specification. If both ACPI and APM support
  25. are configured, whichever is loaded first shall be used.
  26. The ACPI SourceForge project contains the latest source code,
  27. documentation, tools, mailing list subscription, and other
  28. information. This project is available at:
  29. <http://sourceforge.net/projects/acpi>
  30. Linux support for ACPI is based on Intel Corporation's ACPI
  31. Component Architecture (ACPI CA). For more information see:
  32. <http://developer.intel.com/technology/iapc/acpi>
  33. ACPI is an open industry specification co-developed by Compaq,
  34. Intel, Microsoft, Phoenix, and Toshiba. The specification is
  35. available at:
  36. <http://www.acpi.info>
  37. if ACPI
  38. config ACPI_SLEEP
  39. bool
  40. depends on PM_SLEEP
  41. default y
  42. config ACPI_PROCFS
  43. bool "Deprecated /proc/acpi files"
  44. depends on PROC_FS
  45. ---help---
  46. For backwards compatibility, this option allows
  47. deprecated /proc/acpi/ files to exist, even when
  48. they have been replaced by functions in /sys.
  49. The deprecated files (and their replacements) include:
  50. /proc/acpi/sleep (/sys/power/state)
  51. /proc/acpi/info (/sys/modules/acpi/parameters/acpica_version)
  52. /proc/acpi/dsdt (/sys/firmware/acpi/tables/DSDT)
  53. /proc/acpi/fadt (/sys/firmware/acpi/tables/FACP)
  54. /proc/acpi/debug_layer (/sys/module/acpi/parameters/debug_layer)
  55. /proc/acpi/debug_level (/sys/module/acpi/parameters/debug_level)
  56. This option has no effect on /proc/acpi/ files
  57. and functions which do not yet exist in /sys.
  58. Say N to delete /proc/acpi/ files that have moved to /sys/
  59. config ACPI_PROCFS_POWER
  60. bool "Deprecated power /proc/acpi folders"
  61. depends on PROC_FS
  62. default y
  63. ---help---
  64. For backwards compatibility, this option allows
  65. deprecated power /proc/acpi/ folders to exist, even when
  66. they have been replaced by functions in /sys.
  67. The deprecated folders (and their replacements) include:
  68. /proc/acpi/battery/* (/sys/class/power_supply/*)
  69. /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
  70. This option has no effect on /proc/acpi/ folders
  71. and functions, which do not yet exist in /sys
  72. Say N to delete power /proc/acpi/ folders that have moved to /sys/
  73. config ACPI_PROC_EVENT
  74. bool "Deprecated /proc/acpi/event support"
  75. depends on PROC_FS
  76. default y
  77. ---help---
  78. A user-space daemon, acpi, typically read /proc/acpi/event
  79. and handled all ACPI sub-system generated events.
  80. These events are now delivered to user-space via
  81. either the input layer, or as netlink events.
  82. This build option enables the old code for legacy
  83. user-space implementation. After some time, this will
  84. be moved under CONFIG_ACPI_PROCFS, and then deleted.
  85. Say Y here to retain the old behaviour. Say N if your
  86. user-space is newer than kernel 2.6.23 (September 2007).
  87. config ACPI_AC
  88. tristate "AC Adapter"
  89. depends on X86
  90. select POWER_SUPPLY
  91. default y
  92. help
  93. This driver adds support for the AC Adapter object, which indicates
  94. whether a system is on AC, or not. If you have a system that can
  95. switch between A/C and battery, say Y.
  96. config ACPI_BATTERY
  97. tristate "Battery"
  98. depends on X86
  99. select POWER_SUPPLY
  100. default y
  101. help
  102. This driver adds support for battery information through
  103. /proc/acpi/battery. If you have a mobile system with a battery,
  104. say Y.
  105. config ACPI_BUTTON
  106. tristate "Button"
  107. depends on INPUT
  108. default y
  109. help
  110. This driver handles events on the power, sleep and lid buttons.
  111. A daemon reads /proc/acpi/event and perform user-defined actions
  112. such as shutting down the system. This is necessary for
  113. software controlled poweroff.
  114. config ACPI_VIDEO
  115. tristate "Video"
  116. depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
  117. depends on INPUT
  118. help
  119. This driver implement the ACPI Extensions For Display Adapters
  120. for integrated graphics devices on motherboard, as specified in
  121. ACPI 2.0 Specification, Appendix B, allowing to perform some basic
  122. control like defining the video POST device, retrieving EDID information
  123. or to setup a video output, etc.
  124. Note that this is an ref. implementation only. It may or may not work
  125. for your integrated video device.
  126. config ACPI_FAN
  127. tristate "Fan"
  128. default y
  129. help
  130. This driver adds support for ACPI fan devices, allowing user-mode
  131. applications to perform basic fan control (on, off, status).
  132. config ACPI_DOCK
  133. tristate "Dock"
  134. depends on EXPERIMENTAL
  135. help
  136. This driver adds support for ACPI controlled docking stations
  137. config ACPI_BAY
  138. tristate "Removable Drive Bay (EXPERIMENTAL)"
  139. depends on EXPERIMENTAL
  140. depends on ACPI_DOCK
  141. help
  142. This driver adds support for ACPI controlled removable drive
  143. bays such as the IBM ultrabay or the Dell Module Bay.
  144. config ACPI_PROCESSOR
  145. tristate "Processor"
  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. 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_ASUS
  172. tristate "ASUS/Medion Laptop Extras"
  173. depends on X86
  174. select BACKLIGHT_CLASS_DEVICE
  175. ---help---
  176. This driver provides support for extra features of ACPI-compatible
  177. ASUS laptops. As some of Medion laptops are made by ASUS, it may also
  178. support some Medion laptops (such as 9675 for example). It makes all
  179. the extra buttons generate standard ACPI events that go through
  180. /proc/acpi/events, and (on some models) adds support for changing the
  181. display brightness and output, switching the LCD backlight on and off,
  182. and most importantly, allows you to blink those fancy LEDs intended
  183. for reporting mail and wireless status.
  184. Note: display switching code is currently considered EXPERIMENTAL,
  185. toying with these values may even lock your machine.
  186. All settings are changed via /proc/acpi/asus directory entries. Owner
  187. and group for these entries can be set with asus_uid and asus_gid
  188. parameters.
  189. More information and a userspace daemon for handling the extra buttons
  190. at <http://sourceforge.net/projects/acpi4asus/>.
  191. If you have an ACPI-compatible ASUS laptop, say Y or M here. This
  192. driver is still under development, so if your laptop is unsupported or
  193. something works not quite as expected, please use the mailing list
  194. available on the above page (acpi4asus-user@lists.sourceforge.net).
  195. NOTE: This driver is deprecated and will probably be removed soon,
  196. use asus-laptop instead.
  197. config ACPI_TOSHIBA
  198. tristate "Toshiba Laptop Extras"
  199. depends on X86
  200. select BACKLIGHT_CLASS_DEVICE
  201. ---help---
  202. This driver adds support for access to certain system settings
  203. on "legacy free" Toshiba laptops. These laptops can be recognized by
  204. their lack of a BIOS setup menu and APM support.
  205. On these machines, all system configuration is handled through the
  206. ACPI. This driver is required for access to controls not covered
  207. by the general ACPI drivers, such as LCD brightness, video output,
  208. etc.
  209. This driver differs from the non-ACPI Toshiba laptop driver (located
  210. under "Processor type and features") in several aspects.
  211. Configuration is accessed by reading and writing text files in the
  212. /proc tree instead of by program interface to /dev. Furthermore, no
  213. power management functions are exposed, as those are handled by the
  214. general ACPI drivers.
  215. More information about this driver is available at
  216. <http://memebeam.org/toys/ToshibaAcpiDriver>.
  217. If you have a legacy free Toshiba laptop (such as the Libretto L1
  218. series), say Y.
  219. config ACPI_CUSTOM_DSDT
  220. bool "Include Custom DSDT"
  221. depends on !STANDALONE
  222. default n
  223. help
  224. This option is to load a custom ACPI DSDT
  225. If you don't know what that is, say N.
  226. config ACPI_CUSTOM_DSDT_FILE
  227. string "Custom DSDT Table file to include"
  228. depends on ACPI_CUSTOM_DSDT
  229. default ""
  230. help
  231. Enter the full path name to the file which includes the AmlCode
  232. declaration.
  233. config ACPI_BLACKLIST_YEAR
  234. int "Disable ACPI for systems before Jan 1st this year" if X86_32
  235. default 0
  236. help
  237. enter a 4-digit year, eg. 2001 to disable ACPI by default
  238. on platforms with DMI BIOS date before January 1st that year.
  239. "acpi=force" can be used to override this mechanism.
  240. Enter 0 to disable this mechanism and allow ACPI to
  241. run by default no matter what the year. (default)
  242. config ACPI_DEBUG
  243. bool "Debug Statements"
  244. default n
  245. help
  246. The ACPI driver can optionally report errors with a great deal
  247. of verbosity. Saying Y enables these statements. This will increase
  248. your kernel size by around 50K.
  249. config ACPI_DEBUG_FUNC_TRACE
  250. bool "Additionally enable ACPI function tracing"
  251. default n
  252. depends on ACPI_DEBUG
  253. help
  254. ACPI Debug Statements slow down ACPI processing. Function trace
  255. is about half of the penalty and is rarely useful.
  256. config ACPI_EC
  257. bool
  258. default y
  259. help
  260. This driver is required on some systems for the proper operation of
  261. the battery and thermal drivers. If you are compiling for a
  262. mobile system, say Y.
  263. config ACPI_POWER
  264. bool
  265. default y
  266. config ACPI_SYSTEM
  267. bool
  268. default y
  269. help
  270. This driver will enable your system to shut down using ACPI, and
  271. dump your ACPI DSDT table using /proc/acpi/dsdt.
  272. config X86_PM_TIMER
  273. bool "Power Management Timer Support" if EMBEDDED
  274. depends on X86
  275. default y
  276. help
  277. The Power Management Timer is available on all ACPI-capable,
  278. in most cases even if ACPI is unusable or blacklisted.
  279. This timing source is not affected by power management features
  280. like aggressive processor idling, throttling, frequency and/or
  281. voltage scaling, unlike the commonly used Time Stamp Counter
  282. (TSC) timing source.
  283. You should nearly always say Y here because many modern
  284. systems require this timer.
  285. config ACPI_CONTAINER
  286. tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
  287. depends on EXPERIMENTAL
  288. default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
  289. ---help---
  290. This allows _physical_ insertion and removal of CPUs and memory.
  291. This can be useful, for example, on NUMA machines that support
  292. ACPI based physical hotplug of nodes, or non-NUMA machines that
  293. support physical cpu/memory hot-plug.
  294. If one selects "m", this driver can be loaded with
  295. "modprobe acpi_container".
  296. config ACPI_HOTPLUG_MEMORY
  297. tristate "Memory Hotplug"
  298. depends on MEMORY_HOTPLUG
  299. default n
  300. help
  301. This driver adds supports for ACPI Memory Hotplug. This driver
  302. provides support for fielding notifications on ACPI memory
  303. devices (PNP0C80) which represent memory ranges that may be
  304. onlined or offlined during runtime.
  305. Enabling this driver assumes that your platform hardware
  306. and firmware have support for hot-plugging physical memory. If
  307. your system does not support physically adding or ripping out
  308. memory DIMMs at some platform defined granularity (individually
  309. or as a bank) at runtime, then you need not enable this driver.
  310. If one selects "m," this driver can be loaded using the following
  311. command:
  312. $>modprobe acpi_memhotplug
  313. config ACPI_SBS
  314. tristate "Smart Battery System"
  315. depends on X86
  316. select POWER_SUPPLY
  317. help
  318. This driver adds support for the Smart Battery System, another
  319. type of access to battery information, found on some laptops.
  320. endif # ACPI