1 |
Hello, |
2 |
|
3 |
I got emerged suspend2 kernel sources and compiled with such options: |
4 |
|
5 |
[*] Power Management support |
6 |
[ ] Power Management Debug |
7 |
Support |
8 |
[ ] Software |
9 |
Suspend |
10 |
|
11 |
[*] Software Suspend 2 ---> |
12 |
|
13 |
Then in Suspend 2 submenu: |
14 |
|
15 |
--- Software Suspend |
16 |
2 |
17 |
x x |
18 |
--- Image Storage (you need at least one |
19 |
writer) x x |
20 |
[ ] File |
21 |
Writer |
22 |
x x |
23 |
[*] Swap |
24 |
Writer |
25 |
x x |
26 |
--- General |
27 |
Options |
28 |
x x |
29 |
(/dev/hda5) Default resume device |
30 |
name x x |
31 |
[ ] Allow Keep Image Mode |
32 |
|
33 |
And my ACPI kernel section: |
34 |
|
35 |
[*] ACPI |
36 |
Support |
37 |
x x |
38 |
<*> AC |
39 |
Adapter |
40 |
x x |
41 |
<*> |
42 |
Battery |
43 |
x x |
44 |
<*> |
45 |
Button |
46 |
x x |
47 |
<*> |
48 |
Video |
49 |
x x |
50 |
<*> Generic |
51 |
Hotkey |
52 |
x x |
53 |
<*> |
54 |
Fan |
55 |
x x |
56 |
<*> |
57 |
Processor |
58 |
x x |
59 |
<*> Thermal |
60 |
Zone |
61 |
x x |
62 |
< > ASUS/Medion Laptop |
63 |
Extras |
64 |
x x |
65 |
< > IBM ThinkPad Laptop |
66 |
Extras |
67 |
x x |
68 |
< > Toshiba Laptop |
69 |
Extras |
70 |
x x |
71 |
(0) Disable ACPI for systems before Jan 1st this |
72 |
year x x |
73 |
[ ] Debug |
74 |
Statements |
75 |
x x |
76 |
[ ] Power Management Timer |
77 |
Support |
78 |
x x |
79 |
< > ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL) |
80 |
|
81 |
i also got emerged hibernate-script and under it is part of hibernate.conf: |
82 |
### suspend2 (for Software Suspend 2) |
83 |
UseSuspend2 yes |
84 |
Reboot no |
85 |
EnableEscape yes |
86 |
DefaultConsoleLevel 2 |
87 |
#Compressor lzf |
88 |
Encryptor none |
89 |
# ImageSizeLimit 200 |
90 |
## useful for initrd usage: |
91 |
SuspendDevice swap:/dev/hda5 |
92 |
## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for |
93 |
poweroff |
94 |
# PowerdownMethod 5 |
95 |
## Any other /proc/software_suspend setting can be set like so: |
96 |
# ProcSetting expected_compression 50 |
97 |
## Or traditionally like this: |
98 |
# Suspend2AllSettings 0 0 2056 65535 5 |
99 |
## Or even from the results of hibernate --save-settings with this: |
100 |
# Suspend2AllSettingsFile /etc/hibernate/suspend-settings.conf |
101 |
## For filewriter: |
102 |
# FilewriterLocation /suspend_file 1000 |
103 |
# VerifyFilewriterResume2 yes |
104 |
|
105 |
Hibernating and resuming works flawlessly but one thing. |
106 |
When i do: |
107 |
|
108 |
# hibernate |
109 |
i got everything stopped but there is no power off on my laptop. Thing |
110 |
is a bit weird because when i do: |
111 |
# halt it turns off power |
112 |
|
113 |
Any suggestions how to force hibernate to turn power after saving session ? |
114 |
|
115 |
Thanks for any help |
116 |
|
117 |
Paul |
118 |
|
119 |
|
120 |
-- |
121 |
gentoo-user@g.o mailing list |