Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. config PM
  2. bool "Power Management support"
  3. ---help---
  4. "Power Management" means that parts of your computer are shut
  5. off or put into a power conserving "sleep" mode if they are not
  6. being used. There are two competing standards for doing this: APM
  7. and ACPI. If you want to use either one, say Y here and then also
  8. to the requisite support below.
  9. Power Management is most important for battery powered laptop
  10. computers; if you have a laptop, check out the Linux Laptop home
  11. page on the WWW at <http://www.linux-on-laptops.com/> or
  12. Tuxmobil - Linux on Mobile Computers at <http://www.tuxmobil.org/>
  13. and the Battery Powered Linux mini-HOWTO, available from
  14. <http://www.tldp.org/docs.html#howto>.
  15. Note that, even if you say N here, Linux on the x86 architecture
  16. will issue the hlt instruction if nothing is to be done, thereby
  17. sending the processor to sleep and saving power.
  18. config PM_DEBUG
  19. bool "Power Management Debug Support"
  20. depends on PM
  21. ---help---
  22. This option enables verbose debugging support in the Power Management
  23. code. This is helpful when debugging and reporting various PM bugs,
  24. like suspend support.
  25. config SOFTWARE_SUSPEND
  26. bool "Software Suspend"
  27. depends on EXPERIMENTAL && PM && SWAP && ((X86 && SMP) || ((FVR || PPC32 || X86) && !SMP))
  28. ---help---
  29. Enable the possibility of suspending the machine.
  30. It doesn't need APM.
  31. You may suspend your machine by 'swsusp' or 'shutdown -z <time>'
  32. (patch for sysvinit needed).
  33. It creates an image which is saved in your active swap. Upon next
  34. boot, pass the 'resume=/dev/swappartition' argument to the kernel to
  35. have it detect the saved image, restore memory state from it, and
  36. continue to run as before. If you do not want the previous state to
  37. be reloaded, then use the 'noresume' kernel argument. However, note
  38. that your partitions will be fsck'd and you must re-mkswap your swap
  39. partitions. It does not work with swap files.
  40. Right now you may boot without resuming and then later resume but
  41. in meantime you cannot use those swap partitions/files which were
  42. involved in suspending. Also in this case there is a risk that buffers
  43. on disk won't match with saved ones.
  44. For more information take a look at <file:Documentation/power/swsusp.txt>.
  45. config PM_STD_PARTITION
  46. string "Default resume partition"
  47. depends on SOFTWARE_SUSPEND
  48. default ""
  49. ---help---
  50. The default resume partition is the partition that the suspend-
  51. to-disk implementation will look for a suspended disk image.
  52. The partition specified here will be different for almost every user.
  53. It should be a valid swap partition (at least for now) that is turned
  54. on before suspending.
  55. The partition specified can be overridden by specifying:
  56. resume=/dev/<other device>
  57. which will set the resume partition to the device specified.
  58. Note there is currently not a way to specify which device to save the
  59. suspended image to. It will simply pick the first available swap
  60. device.
  61. config SUSPEND_SMP
  62. bool
  63. depends on HOTPLUG_CPU && X86 && PM
  64. default y