Dilemma: I have got to a point where I am very satisfied, and thank you all for the help. All that is left, is to shape it a little. Here is what I have achieved, and what would be nice to be done;
I can suspend using swsusp2 with the various links and websites you all referred me to, thanks. I am in the progress by the way of writing a detailed SOP (HowTO) on my laptop, which will include all the ACPI related things, that can help others too. Other than swsusp2 I can also put the machine to sleep, with echo "mem" > /sys/power/state It is fine, and I can even come out of suspend (resume) with the video_post tool. I have a script called /sbin/sleep that does the following echo "mem" > /sys/power/state modprobe i830 # Load Video driver on resume (only if its not done auto) /root/emu/video_post # To wake video up All this is working fine, when I use the wireless network. When I am on a wired network, and the module b44 is loaded, this Suspend to Memory is completely malfunctioning, wont wake up. For that, I would like to extend my script with something, that would look at "lsmod | grep b44" and if the b44 module is there, it would do "rmmod b44" and upon wakening would do a "modprobe b44" How can I put this in the script? I guess it is done with a "If - then" scenario , but I am not in the level to do this by myself. Thanks for the help in advanced Ben > On Sun, 19 Dec 2004 09:00:41 -0800, Benedek Frank <[EMAIL PROTECTED]> wrote: > > On Sunday 19 December 2004 06:39 am, Pedro Villavicencio Garrido wrote: > > > Hey, > > > > > > On Sat, 2004-12-18 at 22:57 -0800, Benedek Frank wrote: > > > > Hi > > > > > > > > On my Dell 700m I am trying to make suspend work. The battery life is > > > > just horrible, 2 hours flat, so suspend is a must. > > > > > > > > I installed a 2.6.9 kernel. When I do a suspend to memory > > > > > > > > echo "mem" > /sys/power/state > > > > > > > > It goes into suspend and the power light starts to blink. That is > > > > perfect. However, when I press any key, nothing happenes. The machine > > > > does not respond. If I close the lid and open it back up, the power > > > > light becomes solid (not blinking), but the machine does not come > > > > back alive, or at least I cannot see anything on the display. > > > > > > > > When I press the power button, while the machine is suspended, the > > > > light comes solid and the machine starts to work hard. But, instead > > > > of coming back live, it shuts down. Do I miss something ? Like a > > > > script for the "lid" event ? Please educate me, as I dont know. > > > > > > > > By the way, I also compiled a kernel with the swsusp2 patch, and it > > > > looked good, but that was way to serious of a suspend for me, it > > > > actually shuts the machine down. It must be great for a suspend when > > > > you are on a deserted island, but all I need is a suspend for a few > > > > hours, so to memory is fine enough. > > > > > > I have a Dell too but a C600 anyway, try this > > > http://bugzilla.kernel.org/show_bug.cgi?id=3670 that works for me. > > > > > > Have you tried APM?, APM works really cool for me. > > > > > > Greetings. > > > > Thanks a lot for the link. Believe it or not, now I can resume from a > > console screen at least. That is a great advantage already. With the > > video_post script that was posted on the above link, it does come back > > up. Of course issues remain, as Ethernet is flaky, sometimes comes back, > > sometimes not, etc, but it is already a great step forward. > > > > However, I would still like to know, if it can be done with no usage of > > such 3rd party tools. Is it entirely impossible? > > > > Ben > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > > [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

