FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

LinkBack Thread Tools
Old 01-21-2008, 07:17 PM
"Mikkel L. Ellertson"
Default Can a laptop change from suspend to hibernate without user intervention?

Jonathan Dieter wrote:

I have an Asus Eee PC running Fedora, and, at the moment it suspends
when the lid is closed. It would be quite easy for me to change that to
hibernate, but I really don't want to go through the full process of
moving information from the hard drive to the RAM each time I open the

What I'm looking for is something that will suspend the computer (as
well as maybe writing the RAM to the hard drive, I really don't care),
and then, if I bring it up within, say, 20 minutes, it resumes. If I
leave the lid closed longer than 20 minutes (or any other random
number), I'd like it to hibernate.

Is this possible? Is there any way for a computer to pop out of suspend
long enough to hibernate itself? Or is this a pipe dream?


I had one laptop where this was easy - you would create a suspend
file, tell the BIOS about it, and the BIOS would manage suspend to
disk, and resume from the disk. If I remember correctly, it would
also change from suspend to hibernate when the battery got too low.

I don't know of a setup to do what you want, but it may be possible.
(This is just brainstorming...) What you may be able to do is set
the alarm on the BIOS clock to wake the computer up in 20 minutes as
part of the suspend script. You would then check on wakeup to see
how it was woke up, and if it is because of the clock, then go
directly to hibernating. (Something like if the system wakes up, and
the lid is closed, hibernate.) If this check was made as the first
step of the wakeup, then the system would not have to do a full
resume before hibernating. (Skip re-initializing hardware that does
not wake up properly, restoring video, etc.)


Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

fedora-list mailing list
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Thread Tools

All times are GMT. The time now is 09:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org