Kconfig 11 KB

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