Kconfig 12 KB

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