Kconfig 11 KB

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