1 |
I'm installing vanilla-sources-2.6.11.10 now. After emerging kernel |
2 |
sources, go to www.suspend2.net and get |
3 |
http://www.suspend2.net/downloads/all/software-suspend-2.1.8-for-2.6.11.tar.bz2 |
4 |
(stable) |
5 |
or |
6 |
http://www.suspend2.net/downloads/all/software-suspend-2.1.8.7-for-2.6.11.8.tar.bz2 |
7 |
(unstable). |
8 |
Unpack it somewhere i.e. /root/software-supend then go to |
9 |
/usr/src/linux-2.6.11.10 and use: /root/software-suspend/apply. |
10 |
This will patch the kernel. Then "make menuconfig" and choose whatever |
11 |
you need, save and "make ; make modules_install". |
12 |
Copy the kernel and System.map to /boot, edit grub.conf: |
13 |
kernel (hd0,X)/boot/vmlinuz-2.6.11.10 root=/dev/hdaX |
14 |
psmouse.proto=imps resume2=swap:/dev/hdaX |
15 |
video=vesafb:ywrap,vga=0x317,nomtrr |
16 |
|
17 |
Also, I don't use kernel IBM ACPI option, but I did used: emerge |
18 |
ibm-acpi + radeontool hibernate and laptop-mode-tools (take care with |
19 |
HDD spindown options - I've disabled that features as they are dangerous ). |
20 |
I don't use genkernel or initrd usually, but now I have initrd for |
21 |
bootsplash. |
22 |
You might find useful this: |
23 |
http://www.gentoo.org/doc/en/power-management-guide.xml |
24 |
and a nice article here |
25 |
http://mag.my-opensource.org/magazine/myoss-ed1.pdf |
26 |
I hope it helps! |
27 |
|
28 |
Regards, |
29 |
Ovidiu |
30 |
|
31 |
Cliff Rowley wrote: |
32 |
|
33 |
>On 5/17/05, Ovidiu Bivolaru <ovidiu@×××××××××××××××.ro> wrote: |
34 |
> |
35 |
> |
36 |
>>are you using ibm-acpi module ? It does generate an ACPI event for |
37 |
>>dock/undock and you might have the wrong action for such event (if |
38 |
>>ibm_acpi is loaded you have /proc/acpi/ibm/dock ). |
39 |
>> I'm using vanilla-sources 2.6.11.9 + swsup2 on T30 and I have no |
40 |
>>problems with suspend to RAM and suspend to disk 2, but I'm not using |
41 |
>>docking and I cannot say anything. Btw, what's Dyntick ? |
42 |
>> |
43 |
>> |
44 |
> |
45 |
>Dyntick is here: http://www.muru.com/linux/dyntick/ :) |
46 |
> |
47 |
>It appears that it might be dyntick causing the crashes after all! |
48 |
>I've recompiled without dyntick support, leaving swsusp2 support in |
49 |
>and I don't crash when switching between AC and DC. Next test .. I'll |
50 |
>try dyntick on its own and see if I crash. I guess it could be an |
51 |
>incompatibility between them? |
52 |
> |
53 |
>You say you're using swsusp2 .. how do you build your kernel? |
54 |
>Genkernel? Do you use an initrd? I'm now trying to work out how to |
55 |
>get my system to resume after hibernate .. grr. |
56 |
> |
57 |
> |
58 |
> |
59 |
|
60 |
-- |
61 |
gentoo-laptop@g.o mailing list |