xref: /OK3568_Linux_fs/kernel/Documentation/power/tricks.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun================
2*4882a593Smuzhiyunswsusp/S3 tricks
3*4882a593Smuzhiyun================
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunPavel Machek <pavel@ucw.cz>
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunIf you want to trick swsusp/S3 into working, you might want to try:
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun* go with minimal config, turn off drivers like USB, AGP you don't
10*4882a593Smuzhiyun  really need
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun* turn off APIC and preempt
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun* use ext2. At least it has working fsck. [If something seems to go
15*4882a593Smuzhiyun  wrong, force fsck when you have a chance]
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun* turn off modules
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun* use vga text console, shut down X. [If you really want X, you might
20*4882a593Smuzhiyun  want to try vesafb later]
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun* try running as few processes as possible, preferably go to single
23*4882a593Smuzhiyun  user mode.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun* due to video issues, swsusp should be easier to get working than
26*4882a593Smuzhiyun  S3. Try that first.
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunWhen you make it work, try to find out what exactly was it that broke
29*4882a593Smuzhiyunsuspend, and preferably fix that.
30