Resuming from hibernate
I've decided to start using the hibernate function of ACPI.
My laptop hibernates fine (saves all the pages ,etc.) My question, I know it sounds simple, is How do I resume? If I push the power button again, it just boots like normal. Output of lspci: Code:
:~# lspci Any help is appreciated. |
i think that may be related to apm, windows handle it correctly, try enabling things in apm module--> jsut suggesting i dont have a laptop
|
apm is not able to be used on this laptop....Tried to enable it in the kernel, and as a module, no dice.
Thanks for the suggestion, but there has to be a solution with ACPI |
after googlin i got all these so tht u can go directly, may b u can extract something :)
(in lilo, append, append="devfs=mount acpi=on resume=/dev/hda6 splash=silent nolapic") http://tuxmobil.org/sony_vaio_vgn_a190_linux.html go through, pcmcia and acpi sections this is for fedora3 http://mhensler.de/swsusp/ sections-->Installation on Fedora Core 3 and 4, Usage of Software Suspend ---## http://hardware.mcse.ms/archive42-2005-11-257361.html http://linux.com.hk/penguin/man/5/hibernate.conf.html |
Quote:
suspend2 and ACPI rather than APM") sorry for the wrong info |
Thank you, but it is not worth the hassles. 99% of what I've read has nothing to do with Slackware.
Also, with the append line in lilo.conf, now it won't hibernate at all, giving an error that there is no swap device, try swapon -a. I'll just live with turning the bloody thing off and on. Just thought I would give it a try..... |
OK...got it working.....
In the append line, had to change the swap dev to where mine was.... I feel like such an idiot. I thought about that when I was copying to lilo.conf, but forgot to do it. My previous post shocked me into remembering...lol Thank you for the help |
hooreeey, worked !!!!!!!!!!!!!!!
anyway i asked one of my friend (through mail)-how he did it.(now no need) hi ;) can you post how u configured it (from scratch)so newcommers may benifit from tht |
Sure
I already had ACPI configured in the kernel. I use KDE as my default desktop, and made KLaptop functional (enabling the ACPI functions, etc) I added Code:
append="devfs=mount acpi=on resume=/dev/hda2 splash=silent nolapic" Code:
sbin/lilo The computer will then go into that mode, and either wait for you ('Suspend') or turn off ('Hibernate') When resuming, it will go back to the state it was at. I do have a small issue after resuming: The fan stays on all the time. I resolved this part by a script that I run after resume: Code:
#!/bin/sh I saved it as /bin/fan and set it to be executable. I run it as 'su' after resuming. I'm not sure that the fan will work correctly,depending on the CPU temperature after the resume. I am researching/stressing the CPU to see if it comes on at the correct temperature. I'll post here if it works correctly. |
tht means if the one who does not need to hibernate his machine, can skip the acpi part as we compile a new kernel.??
wht about, if i have already a append line in lilo, like "scsi emulation"?? Quote:
edit: oho only 2.6 have acpi, sleep thing.... if so we dont need any scsi emulation. (even the second question is valid if we have some other thing in append) |
Quote:
Quote:
Code:
append="devfs=mount acpi=on resume=/dev/hda2 splash=silent nolapic" Code:
append="resume=/dev/hda2 lapic" Code:
append="scsi emulation resume=/dev/hda2" Quote:
|
I use suspend2 http://www.suspend2.net/ and its hibernate-script. Patch the kernal src and recompile it, and and use slack pkg of hibernate-script-1.12-i486-1cf from linuxpackages.net . After some small tuning, I can hibernate my X31 to disk fine by pressing Fn+F12. It will resume on pressing Power button. I do not know how to config suspend to ram though.
|
actually append for scsi emulation was "hdc/hdd=ide-scsi", so u can add things to append line after a space
Quote:
i hope others can also contribute much here in this thread regards |
linux-on-laptops and tuxmobile have SW10.2 install notes for many lappys. Some older lappys and BIOSes dont handle ACPI but use APM and still have suspend to disk or suspend to ram working. Suspend to ram or disk are independent of acpi it seems. Thankfully some of these lappy SW10.2 install notes are thorough and educational.
And it's a good thing too that gentoo wiki,thinkpad wiki and the like are available to help with configs. and scripts needed. Now a SW wiki for laptops would be great addition to LQ too. This could lead to a SW10x laptop chapter in the SW Handbook or Linux Essentials:). |
Yeah. There is a lack of lappy stuff for Slackware out there.
I've got my own site: www.cwwilson721.dyndns.org/slack that deals with my Gateway. I do need to update it though. |
All times are GMT -5. The time now is 06:20 AM. |