Kconfig 13 KB

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