Kconfig 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  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 directories"
  61. depends on PROC_FS
  62. default y
  63. ---help---
  64. For backwards compatibility, this option allows
  65. deprecated power /proc/acpi/ directories to exist, even when
  66. they have been replaced by functions in /sys.
  67. The deprecated directories (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/ directories
  71. and functions, which do not yet exist in /sys
  72. Say N to delete power /proc/acpi/ directories that have moved to /sys/
  73. config ACPI_SYSFS_POWER
  74. bool "Future power /sys interface"
  75. select POWER_SUPPLY
  76. default y
  77. ---help---
  78. Say N to disable power /sys interface
  79. config ACPI_PROC_EVENT
  80. bool "Deprecated /proc/acpi/event support"
  81. depends on PROC_FS
  82. default y
  83. ---help---
  84. A user-space daemon, acpi, typically read /proc/acpi/event
  85. and handled all ACPI sub-system generated events.
  86. These events are now delivered to user-space via
  87. either the input layer, or as netlink events.
  88. This build option enables the old code for legacy
  89. user-space implementation. After some time, this will
  90. be moved under CONFIG_ACPI_PROCFS, and then deleted.
  91. Say Y here to retain the old behaviour. Say N if your
  92. user-space is newer than kernel 2.6.23 (September 2007).
  93. config ACPI_AC
  94. tristate "AC Adapter"
  95. depends on X86
  96. default y
  97. help
  98. This driver adds support for the AC Adapter object, which indicates
  99. whether a system is on AC, or not. If you have a system that can
  100. switch between A/C and battery, say Y.
  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. config ACPI_BUTTON
  110. tristate "Button"
  111. depends on INPUT
  112. default y
  113. help
  114. This driver handles events on the power, sleep and lid buttons.
  115. A daemon reads /proc/acpi/event and perform user-defined actions
  116. such as shutting down the system. This is necessary for
  117. software controlled poweroff.
  118. config ACPI_VIDEO
  119. tristate "Video"
  120. depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
  121. depends on INPUT
  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. 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. tristate "Dock"
  138. depends on EXPERIMENTAL
  139. help
  140. This driver adds support for ACPI controlled docking stations
  141. config ACPI_BAY
  142. tristate "Removable Drive Bay (EXPERIMENTAL)"
  143. depends on EXPERIMENTAL
  144. depends on ACPI_DOCK
  145. help
  146. This driver adds support for ACPI controlled removable drive
  147. bays such as the IBM ultrabay or the Dell Module Bay.
  148. config ACPI_PROCESSOR
  149. tristate "Processor"
  150. default y
  151. help
  152. This driver installs ACPI as the idle handler for Linux, and uses
  153. ACPI C2 and C3 processor states to save power, on systems that
  154. support it. It is required by several flavors of cpufreq
  155. Performance-state drivers.
  156. config ACPI_HOTPLUG_CPU
  157. bool
  158. depends on ACPI_PROCESSOR && HOTPLUG_CPU
  159. select ACPI_CONTAINER
  160. default y
  161. config ACPI_THERMAL
  162. tristate "Thermal Zone"
  163. depends on ACPI_PROCESSOR
  164. select THERMAL
  165. default y
  166. help
  167. This driver adds support for ACPI thermal zones. Most mobile and
  168. some desktop systems support ACPI thermal zones. It is HIGHLY
  169. recommended that this option be enabled, as your processor(s)
  170. may be damaged without it.
  171. config ACPI_NUMA
  172. bool "NUMA support"
  173. depends on NUMA
  174. depends on (X86 || IA64)
  175. default y if IA64_GENERIC || IA64_SGI_SN2
  176. config ACPI_WMI
  177. tristate "WMI (EXPERIMENTAL)"
  178. depends on EXPERIMENTAL
  179. help
  180. This driver adds support for the ACPI-WMI mapper device (PNP0C14)
  181. found on some systems.
  182. NOTE: You will need another driver or userspace application on top of
  183. this to actually use anything defined in the ACPI-WMI mapper.
  184. config ACPI_ASUS
  185. tristate "ASUS/Medion Laptop Extras"
  186. depends on X86
  187. select BACKLIGHT_CLASS_DEVICE
  188. ---help---
  189. This driver provides support for extra features of ACPI-compatible
  190. ASUS laptops. As some of Medion laptops are made by ASUS, it may also
  191. support some Medion laptops (such as 9675 for example). It makes all
  192. the extra buttons generate standard ACPI events that go through
  193. /proc/acpi/events, and (on some models) adds support for changing the
  194. display brightness and output, switching the LCD backlight on and off,
  195. and most importantly, allows you to blink those fancy LEDs intended
  196. for reporting mail and wireless status.
  197. Note: display switching code is currently considered EXPERIMENTAL,
  198. toying with these values may even lock your machine.
  199. All settings are changed via /proc/acpi/asus directory entries. Owner
  200. and group for these entries can be set with asus_uid and asus_gid
  201. parameters.
  202. More information and a userspace daemon for handling the extra buttons
  203. at <http://sourceforge.net/projects/acpi4asus/>.
  204. If you have an ACPI-compatible ASUS laptop, say Y or M here. This
  205. driver is still under development, so if your laptop is unsupported or
  206. something works not quite as expected, please use the mailing list
  207. available on the above page (acpi4asus-user@lists.sourceforge.net).
  208. NOTE: This driver is deprecated and will probably be removed soon,
  209. use asus-laptop instead.
  210. config ACPI_TOSHIBA
  211. tristate "Toshiba Laptop Extras"
  212. depends on X86
  213. select BACKLIGHT_CLASS_DEVICE
  214. ---help---
  215. This driver adds support for access to certain system settings
  216. on "legacy free" Toshiba laptops. These laptops can be recognized by
  217. their lack of a BIOS setup menu and APM support.
  218. On these machines, all system configuration is handled through the
  219. ACPI. This driver is required for access to controls not covered
  220. by the general ACPI drivers, such as LCD brightness, video output,
  221. etc.
  222. This driver differs from the non-ACPI Toshiba laptop driver (located
  223. under "Processor type and features") in several aspects.
  224. Configuration is accessed by reading and writing text files in the
  225. /proc tree instead of by program interface to /dev. Furthermore, no
  226. power management functions are exposed, as those are handled by the
  227. general ACPI drivers.
  228. More information about this driver is available at
  229. <http://memebeam.org/toys/ToshibaAcpiDriver>.
  230. If you have a legacy free Toshiba laptop (such as the Libretto L1
  231. series), say Y.
  232. config ACPI_CUSTOM_DSDT
  233. bool "Include Custom DSDT"
  234. depends on !STANDALONE
  235. default n
  236. help
  237. This option supports a custom DSDT by linking it into the kernel.
  238. See Documentation/acpi/dsdt-override.txt
  239. If unsure, say N.
  240. config ACPI_CUSTOM_DSDT_FILE
  241. string "Custom DSDT Table file to include"
  242. depends on ACPI_CUSTOM_DSDT
  243. default ""
  244. help
  245. Enter the full path name to the file which includes the AmlCode
  246. declaration.
  247. config ACPI_CUSTOM_DSDT_INITRD
  248. bool "Read Custom DSDT from initramfs"
  249. depends on BLK_DEV_INITRD
  250. default n
  251. help
  252. This option supports a custom DSDT by optionally loading it from initrd.
  253. See Documentation/acpi/dsdt-override.txt
  254. If you are not using this feature now, but may use it later,
  255. it is safe to say Y here.
  256. config ACPI_BLACKLIST_YEAR
  257. int "Disable ACPI for systems before Jan 1st this year" if X86_32
  258. default 0
  259. help
  260. enter a 4-digit year, eg. 2001 to disable ACPI by default
  261. on platforms with DMI BIOS date before January 1st that year.
  262. "acpi=force" can be used to override this mechanism.
  263. Enter 0 to disable this mechanism and allow ACPI to
  264. run by default no matter what the year. (default)
  265. config ACPI_DEBUG
  266. bool "Debug Statements"
  267. default n
  268. help
  269. The ACPI driver can optionally report errors with a great deal
  270. of verbosity. Saying Y enables these statements. This will increase
  271. your kernel size by around 50K.
  272. config ACPI_DEBUG_FUNC_TRACE
  273. bool "Additionally enable ACPI function tracing"
  274. default n
  275. depends on ACPI_DEBUG
  276. help
  277. ACPI Debug Statements slow down ACPI processing. Function trace
  278. is about half of the penalty and is rarely useful.
  279. config ACPI_EC
  280. bool
  281. default y
  282. help
  283. This driver is required on some systems for the proper operation of
  284. the battery and thermal drivers. If you are compiling for a
  285. mobile system, say Y.
  286. config ACPI_POWER
  287. bool
  288. default y
  289. config ACPI_SYSTEM
  290. bool
  291. default y
  292. help
  293. This driver will enable your system to shut down using ACPI, and
  294. dump your ACPI DSDT table using /proc/acpi/dsdt.
  295. config X86_PM_TIMER
  296. bool "Power Management Timer Support" if EMBEDDED
  297. depends on X86
  298. default y
  299. help
  300. The Power Management Timer is available on all ACPI-capable,
  301. in most cases even if ACPI is unusable or blacklisted.
  302. This timing source is not affected by power management features
  303. like aggressive processor idling, throttling, frequency and/or
  304. voltage scaling, unlike the commonly used Time Stamp Counter
  305. (TSC) timing source.
  306. You should nearly always say Y here because many modern
  307. systems require this timer.
  308. config ACPI_CONTAINER
  309. tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
  310. depends on EXPERIMENTAL
  311. default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
  312. ---help---
  313. This allows _physical_ insertion and removal of CPUs and memory.
  314. This can be useful, for example, on NUMA machines that support
  315. ACPI based physical hotplug of nodes, or non-NUMA machines that
  316. support physical cpu/memory hot-plug.
  317. If one selects "m", this driver can be loaded with
  318. "modprobe acpi_container".
  319. config ACPI_HOTPLUG_MEMORY
  320. tristate "Memory Hotplug"
  321. depends on MEMORY_HOTPLUG
  322. default n
  323. help
  324. This driver adds supports for ACPI Memory Hotplug. This driver
  325. provides support for fielding notifications on ACPI memory
  326. devices (PNP0C80) which represent memory ranges that may be
  327. onlined or offlined during runtime.
  328. Enabling this driver assumes that your platform hardware
  329. and firmware have support for hot-plugging physical memory. If
  330. your system does not support physically adding or ripping out
  331. memory DIMMs at some platform defined granularity (individually
  332. or as a bank) at runtime, then you need not enable this driver.
  333. If one selects "m," this driver can be loaded using the following
  334. command:
  335. $>modprobe acpi_memhotplug
  336. config ACPI_SBS
  337. tristate "Smart Battery System"
  338. depends on X86
  339. help
  340. This driver adds support for the Smart Battery System, another
  341. type of access to battery information, found on some laptops.
  342. endif # ACPI