vserver 1.9.3
[linux-2.6.git] / kernel / power / Kconfig
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
10           Power Management is most important for battery powered laptop
11           computers; if you have a laptop, check out the Linux Laptop home
12           page on the WWW at <http://www.linux-on-laptops.com/> or
13           Tuxmobil - Linux on Mobile Computers at <http://www.tuxmobil.org/>
14           and the Battery Powered Linux mini-HOWTO, available from
15           <http://www.tldp.org/docs.html#howto>.
16
17           Note that, even if you say N here, Linux on the x86 architecture
18           will issue the hlt instruction if nothing is to be done, thereby
19           sending the processor to sleep and saving power.
20
21 config PM_DEBUG
22         bool "Power Management Debug Support"
23         ---help---
24         This option enables verbose debugging support in the Power Management
25         code. This is helpful when debugging and reporting various PM bugs, 
26         like suspend support.
27
28 config SOFTWARE_SUSPEND
29         bool "Software Suspend (EXPERIMENTAL)"
30         depends on EXPERIMENTAL && PM && SWAP
31         ---help---
32           Enable the possibilty of suspendig machine. It doesn't need APM.
33           You may suspend your machine by 'swsusp' or 'shutdown -z <time>' 
34           (patch for sysvinit needed). 
35
36           It creates an image which is saved in your active swaps. By the next
37           booting the, pass 'resume=/dev/swappartition' and kernel will 
38           detect the saved image, restore the memory from
39           it and then it continues to run as before you've suspended.
40           If you don't want the previous state to continue use the 'noresume'
41           kernel option. However note that your partitions will be fsck'd and
42           you must re-mkswap your swap partitions. It does not work with swap
43           files.
44
45           Right now you may boot without resuming and then later resume but
46           in meantime you cannot use those swap partitions/files which were
47           involved in suspending. Also in this case there is a risk that buffers
48           on disk won't match with saved ones.
49
50           For more information take a look at Documentation/power/swsusp.txt.
51
52 config PM_STD_PARTITION
53         string "Default resume partition"
54         depends on SOFTWARE_SUSPEND
55         default ""
56         ---help---
57           The default resume partition is the partition that the suspend-
58           to-disk implementation will look for a suspended disk image. 
59
60           The partition specified here will be different for almost every user. 
61           It should be a valid swap partition (at least for now) that is turned
62           on before suspending. 
63
64           The partition specified can be overridden by specifying:
65
66                 resume=/dev/<other device> 
67
68           which will set the resume partition to the device specified. 
69
70           Note there is currently not a way to specify which device to save the
71           suspended image to. It will simply pick the first available swap 
72           device.
73