Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. #
  2. # ACPI Configuration
  3. #
  4. menu "ACPI (Advanced Configuration and Power Interface) Support"
  5. depends on PM
  6. depends on !X86_VISWS
  7. depends on !IA64_HP_SIM
  8. depends on IA64 || X86
  9. config ACPI
  10. bool "ACPI Support"
  11. depends on IA64 || X86
  12. default y
  13. ---help---
  14. Advanced Configuration and Power Interface (ACPI) support for
  15. Linux requires an ACPI compliant platform (hardware/firmware),
  16. and assumes the presence of OS-directed configuration and power
  17. management (OSPM) software. This option will enlarge your
  18. kernel by about 70K.
  19. Linux ACPI provides a robust functional replacement for several
  20. legacy configuration and power management interfaces, including
  21. the Plug-and-Play BIOS specification (PnP BIOS), the
  22. MultiProcessor Specification (MPS), and the Advanced Power
  23. Management (APM) specification. If both ACPI and APM support
  24. are configured, whichever is loaded first shall be used.
  25. The ACPI SourceForge project contains the latest source code,
  26. documentation, tools, mailing list subscription, and other
  27. information. This project is available at:
  28. <http://sourceforge.net/projects/acpi>
  29. Linux support for ACPI is based on Intel Corporation's ACPI
  30. Component Architecture (ACPI CA). For more information see:
  31. <http://developer.intel.com/technology/iapc/acpi>
  32. ACPI is an open industry specification co-developed by Compaq,
  33. Intel, Microsoft, Phoenix, and Toshiba. The specification is
  34. available at:
  35. <http://www.acpi.info>
  36. if ACPI
  37. config ACPI_BOOT
  38. bool
  39. default y
  40. config ACPI_INTERPRETER
  41. bool
  42. default y
  43. if ACPI_INTERPRETER
  44. config ACPI_SLEEP
  45. bool "Sleep States (EXPERIMENTAL)"
  46. depends on X86 && (!SMP || SUSPEND_SMP)
  47. depends on EXPERIMENTAL && PM
  48. default y
  49. ---help---
  50. This option adds support for ACPI suspend states.
  51. With this option, you will be able to put the system "to sleep".
  52. Sleep states are low power states for the system and devices. All
  53. of the system operating state is saved to either memory or disk
  54. (depending on the state), to allow the system to resume operation
  55. quickly at your request.
  56. Although this option sounds really nifty, barely any of the device
  57. drivers have been converted to the new driver model and hence few
  58. have proper power management support.
  59. This option is not recommended for anyone except those doing driver
  60. power management development.
  61. config ACPI_SLEEP_PROC_FS
  62. bool
  63. depends on ACPI_SLEEP && PROC_FS
  64. default y
  65. config ACPI_SLEEP_PROC_SLEEP
  66. bool "/proc/acpi/sleep (deprecated)"
  67. depends on ACPI_SLEEP_PROC_FS
  68. default n
  69. ---help---
  70. Create /proc/acpi/sleep
  71. Deprecated by /sys/power/state
  72. config ACPI_AC
  73. tristate "AC Adapter"
  74. depends on X86
  75. default m
  76. help
  77. This driver adds support for the AC Adapter object, which indicates
  78. whether a system is on AC, or not. Typically, only mobile systems
  79. have this object, since desktops are always on AC.
  80. config ACPI_BATTERY
  81. tristate "Battery"
  82. depends on X86
  83. default m
  84. help
  85. This driver adds support for battery information through
  86. /proc/acpi/battery. If you have a mobile system with a battery,
  87. say Y.
  88. config ACPI_BUTTON
  89. tristate "Button"
  90. default m
  91. help
  92. This driver registers for events based on buttons, such as the
  93. power, sleep, and lid switch. In the future, a daemon will read
  94. /proc/acpi/event and perform user-defined actions such as shutting
  95. down the system. Until then, you can cat it, and see output when
  96. a button is pressed.
  97. config ACPI_VIDEO
  98. tristate "Video"
  99. depends on EXPERIMENTAL
  100. default m
  101. help
  102. This driver implement the ACPI Extensions For Display Adapters
  103. for integrated graphics devices on motherboard, as specified in
  104. ACPI 2.0 Specification, Appendix B, allowing to perform some basic
  105. control like defining the video POST device, retrieving EDID information
  106. or to setup a video output, etc.
  107. Note that this is an ref. implementation only. It may or may not work
  108. for your integrated video device.
  109. config ACPI_HOTKEY
  110. tristate "Generic Hotkey"
  111. depends on ACPI_INTERPRETER
  112. depends on EXPERIMENTAL
  113. depends on !IA64_SGI_SN
  114. default n
  115. help
  116. Experimental consolidated hotkey driver.
  117. If you are unsure, say N.
  118. config ACPI_FAN
  119. tristate "Fan"
  120. default m
  121. help
  122. This driver adds support for ACPI fan devices, allowing user-mode
  123. applications to perform basic fan control (on, off, status).
  124. config ACPI_PROCESSOR
  125. tristate "Processor"
  126. default m
  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.
  131. config ACPI_HOTPLUG_CPU
  132. bool "Processor Hotplug (EXPERIMENTAL)"
  133. depends on ACPI_PROCESSOR && HOTPLUG_CPU && EXPERIMENTAL
  134. select ACPI_CONTAINER
  135. default n
  136. ---help---
  137. Select this option if your platform support physical CPU hotplug.
  138. config ACPI_THERMAL
  139. tristate "Thermal Zone"
  140. depends on ACPI_PROCESSOR
  141. default m
  142. help
  143. This driver adds support for ACPI thermal zones. Most mobile and
  144. some desktop systems support ACPI thermal zones. It is HIGHLY
  145. recommended that this option be enabled, as your processor(s)
  146. may be damaged without it.
  147. config ACPI_NUMA
  148. bool "NUMA support"
  149. depends on NUMA
  150. depends on (IA64 || X86_64)
  151. default y if IA64_GENERIC || IA64_SGI_SN2
  152. config ACPI_ASUS
  153. tristate "ASUS/Medion Laptop Extras"
  154. depends on X86
  155. default m
  156. ---help---
  157. This driver provides support for extra features of ACPI-compatible
  158. ASUS laptops. As some of Medion laptops are made by ASUS, it may also
  159. support some Medion laptops (such as 9675 for example). It makes all
  160. the extra buttons generate standard ACPI events that go through
  161. /proc/acpi/events, and (on some models) adds support for changing the
  162. display brightness and output, switching the LCD backlight on and off,
  163. and most importantly, allows you to blink those fancy LEDs intended
  164. for reporting mail and wireless status.
  165. Note: display switching code is currently considered EXPERIMENTAL,
  166. toying with these values may even lock your machine.
  167. All settings are changed via /proc/acpi/asus directory entries. Owner
  168. and group for these entries can be set with asus_uid and asus_gid
  169. parameters.
  170. More information and a userspace daemon for handling the extra buttons
  171. at <http://sourceforge.net/projects/acpi4asus/>.
  172. If you have an ACPI-compatible ASUS laptop, say Y or M here. This
  173. driver is still under development, so if your laptop is unsupported or
  174. something works not quite as expected, please use the mailing list
  175. available on the above page (acpi4asus-user@lists.sourceforge.net)
  176. config ACPI_IBM
  177. tristate "IBM ThinkPad Laptop Extras"
  178. depends on X86
  179. default m
  180. ---help---
  181. This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
  182. support for Fn-Fx key combinations, Bluetooth control, video
  183. output switching, ThinkLight control, UltraBay eject and more.
  184. For more information about this driver see <file:Documentation/ibm-acpi.txt>
  185. and <http://ibm-acpi.sf.net/> .
  186. If you have an IBM ThinkPad laptop, say Y or M here.
  187. config ACPI_TOSHIBA
  188. tristate "Toshiba Laptop Extras"
  189. depends on X86
  190. default m
  191. ---help---
  192. This driver adds support for access to certain system settings
  193. on "legacy free" Toshiba laptops. These laptops can be recognized by
  194. their lack of a BIOS setup menu and APM support.
  195. On these machines, all system configuration is handled through the
  196. ACPI. This driver is required for access to controls not covered
  197. by the general ACPI drivers, such as LCD brightness, video output,
  198. etc.
  199. This driver differs from the non-ACPI Toshiba laptop driver (located
  200. under "Processor type and features") in several aspects.
  201. Configuration is accessed by reading and writing text files in the
  202. /proc tree instead of by program interface to /dev. Furthermore, no
  203. power management functions are exposed, as those are handled by the
  204. general ACPI drivers.
  205. More information about this driver is available at
  206. <http://memebeam.org/toys/ToshibaAcpiDriver>.
  207. If you have a legacy free Toshiba laptop (such as the Libretto L1
  208. series), say Y.
  209. config ACPI_CUSTOM_DSDT
  210. bool "Include Custom DSDT"
  211. depends on !STANDALONE
  212. default n
  213. help
  214. Thist option is to load a custom ACPI DSDT
  215. If you don't know what that is, say N.
  216. config ACPI_CUSTOM_DSDT_FILE
  217. string "Custom DSDT Table file to include"
  218. depends on ACPI_CUSTOM_DSDT
  219. default ""
  220. help
  221. Enter the full path name to the file wich includes the AmlCode declaration.
  222. config ACPI_BLACKLIST_YEAR
  223. int "Disable ACPI for systems before Jan 1st this year"
  224. depends on ACPI_INTERPRETER
  225. default 0
  226. help
  227. enter a 4-digit year, eg. 2001 to disable ACPI by default
  228. on platforms with DMI BIOS date before January 1st that year.
  229. "acpi=force" can be used to override this mechanism.
  230. Enter 0 to disable this mechanism and allow ACPI to
  231. run by default no matter what the year. (default)
  232. config ACPI_DEBUG
  233. bool "Debug Statements"
  234. default n
  235. help
  236. The ACPI driver can optionally report errors with a great deal
  237. of verbosity. Saying Y enables these statements. This will increase
  238. your kernel size by around 50K.
  239. config ACPI_BUS
  240. bool
  241. default y
  242. config ACPI_EC
  243. bool
  244. depends on X86
  245. default y
  246. help
  247. This driver is required on some systems for the proper operation of
  248. the battery and thermal drivers. If you are compiling for a
  249. mobile system, say Y.
  250. config ACPI_POWER
  251. bool
  252. default y
  253. config ACPI_PCI
  254. bool
  255. default PCI
  256. config ACPI_SYSTEM
  257. bool
  258. default y
  259. help
  260. This driver will enable your system to shut down using ACPI, and
  261. dump your ACPI DSDT table using /proc/acpi/dsdt.
  262. endif # ACPI_INTERPRETER
  263. config X86_PM_TIMER
  264. bool "Power Management Timer Support"
  265. depends on X86
  266. depends on ACPI_BOOT && EXPERIMENTAL
  267. depends on !X86_64
  268. default n
  269. help
  270. The Power Management Timer is available on all ACPI-capable,
  271. in most cases even if ACPI is unusable or blacklisted.
  272. This timing source is not affected by powermanagement features
  273. like aggressive processor idling, throttling, frequency and/or
  274. voltage scaling, unlike the commonly used Time Stamp Counter
  275. (TSC) timing source.
  276. So, if you see messages like 'Losing too many ticks!' in the
  277. kernel logs, and/or you are using this on a notebook which
  278. does not yet have an HPET, you should say "Y" here.
  279. config ACPI_CONTAINER
  280. tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
  281. depends on EXPERIMENTAL
  282. default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
  283. ---help---
  284. This allows _physical_ insertion and removal of CPUs and memory.
  285. This can be useful, for example, on NUMA machines that support
  286. ACPI based physical hotplug of nodes, or non-NUMA machines that
  287. support physical cpu/memory hot-plug.
  288. If one selects "m", this driver can be loaded with
  289. "modprobe acpi_container".
  290. config ACPI_HOTPLUG_MEMORY
  291. tristate "Memory Hotplug"
  292. depends on ACPI
  293. depends on MEMORY_HOTPLUG
  294. default n
  295. help
  296. This driver adds supports for ACPI Memory Hotplug. This driver
  297. provides support for fielding notifications on ACPI memory
  298. devices (PNP0C80) which represent memory ranges that may be
  299. onlined or offlined during runtime.
  300. Enabling this driver assumes that your platform hardware
  301. and firmware have support for hot-plugging physical memory. If
  302. your system does not support physically adding or ripping out
  303. memory DIMMs at some platfrom defined granularity (individually
  304. or as a bank) at runtime, then you need not enable this driver.
  305. If one selects "m," this driver can be loaded using the following
  306. command:
  307. $>modprobe acpi_memhotplug
  308. endif # ACPI
  309. endmenu