Kconfig 12 KB

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