I'm using RH 7.3, kernel 2.4.18-26.7.x. But it seems not to suport full hibernate:
from man apmd I got:
suspend [ system | user ] Invoked when the APM driver reports that system suspension has been initiated. The second parame ter indicates whether the BIOS or a user action (such as closing a laptop) initiated suspension.
The BIOS "suspend" mode aggressively conserves power, and normally involves shutting off power to all devices except the CPU core and memory, which is kept in a very low power mode. Most laptops can stay suspended, using battery power alone, for sev eral days. ("Hibernation" is a kind of super-sus pend, where all that state is written to disk and the machine uses even less power bcause it can turn off that CPU core, using no battery power at all. here==> At this writing, Linux does not support hiberna tion.) PCMCIA devices should be manually suspended using cardctl(8), and some modular drivers may need to be unloaded.
But this writing is from Jun 1999. So, now it may work. But how do I
invoke it from bash?
The real question is it a hardware suspend, or a software suspend? A hardware suspend will restore from the bios, and will have a suspend partition. A software suspend will start booting the OS before resuming, and will not have a suspend partition.
In the case of a hardware suspend it should just work. You setup bios is setup to suspend after x amount time in suspend mode. My old sony viao works like this, and inaddition has a hotkey to do this.
My newer sony viao is a pure software suspend box, and doesn't work under linux. The only option is the software suspend in the 2.5 kernel or the laptop kernel patch. You results may vary.
http://savannah.nongnu.org/projects/laptopkernel/ http://sourceforge.net/projects/swsusp http://fchabaud.free.fr/English/Tricks/Laptop/Swsusp/Doc/Software-suspend.html
-- There is no such thing as obsolete hardware. Merely hardware that other people don't want. (The Second Rule of Hardware Acquisition) Sam Flory <[EMAIL PROTECTED]>
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list