Kconfig 11 KB

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