ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[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 SOFTWARE_SUSPEND
22         bool "Software Suspend (EXPERIMENTAL)"
23         depends on EXPERIMENTAL && PM && SWAP
24         ---help---
25           Enable the possibilty of suspendig machine. It doesn't need APM.
26           You may suspend your machine by 'swsusp' or 'shutdown -z <time>' 
27           (patch for sysvinit needed). 
28
29           It creates an image which is saved in your active swaps. By the next
30           booting the, pass 'resume=/dev/swappartition' and kernel will 
31           detect the saved image, restore the memory from
32           it and then it continues to run as before you've suspended.
33           If you don't want the previous state to continue use the 'noresume'
34           kernel option. However note that your partitions will be fsck'd and
35           you must re-mkswap your swap partitions. It does not work with swap
36           files.
37
38           Right now you may boot without resuming and then later resume but
39           in meantime you cannot use those swap partitions/files which were
40           involved in suspending. Also in this case there is a risk that buffers
41           on disk won't match with saved ones.
42
43           For more information take a look at Documentation/power/swsusp.txt.
44
45 config PM_DISK
46         bool "Suspend-to-Disk Support"
47         depends on PM && SWAP && X86 && !X86_64
48         ---help---
49           Suspend-to-disk is a power management state in which the contents
50           of memory are stored on disk and the entire system is shut down or
51           put into a low-power state (e.g. ACPI S4). When the computer is 
52           turned back on, the stored image is loaded from disk and execution
53           resumes from where it left off before suspending. 
54
55           This config option enables the core infrastructure necessary to 
56           perform the suspend and resume transition. 
57
58           Currently, this suspend-to-disk implementation is based on a forked
59           version of the swsusp code base. As such, it's still experimental,
60           and still relies on CONFIG_SWAP. 
61
62           More information can be found in Documentation/power/.
63
64           If unsure, Say N.
65
66 config PM_DISK_PARTITION
67         string "Default resume partition"
68         depends on PM_DISK
69         default ""
70         ---help---
71           The default resume partition is the partition that the pmdisk suspend-
72           to-disk implementation will look for a suspended disk image. 
73
74           The partition specified here will be different for almost every user. 
75           It should be a valid swap partition (at least for now) that is turned
76           on before suspending. 
77
78           The partition specified can be overridden by specifying:
79
80                 pmdisk=/dev/<other device> 
81
82           which will set the resume partition to the device specified. 
83
84           One may also do: 
85
86                 pmdisk=off
87
88           to inform the kernel not to perform a resume transition. 
89
90           Note there is currently not a way to specify which device to save the
91           suspended image to. It will simply pick the first available swap 
92           device.
93