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