Kconfig 13 KB

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