OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Hibernate For The Z?, Suspend and come back to SAME sesssion
rolf
post Oct 17 2006, 03:34 AM
Post #1





Group: Members
Posts: 108
Joined: 5-October 04
Member No.: 4,884



Hi,

I was wondering if it was possible to program something similar to the hibernate command for Linux computers. hibernate saves the state of RAM and stores it on the swap partition AFAIK. In any case, when the computer is awoken from this hibernate state it boots up, recognizes the hibernate file being present and restores the session.

This makes it possible for example to hibernate a laptop, switch the battery and turn it back on without loosing any work (even stuff that is not saved). Shouldn't it be possible to have something similar for the Z?

Hibernate is just a bash script on the desktop. Despite looking at it I was unable to find out exactly what command it is that invokes the hibernation and if that command is already present for the Z.

Regards

Rolf
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Meanie
post Oct 18 2006, 04:35 AM
Post #2





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



I might be wrong here but I thought the hibernate stuff required the APIC functionality on the MB ?
Go to the top of the page
 
+Quote Post
koen
post Oct 18 2006, 06:30 AM
Post #3





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



QUOTE(Meanie @ Oct 18 2006, 12:35 PM)
I might be wrong here but I thought the hibernate stuff required the APIC functionality on the MB ?
*


You're forgetting that x86 is an ugly architecture that wasn't designed for power-efficiency. Suspend-to-disk requires only some help from the bootloader and kernel on ARM.
Go to the top of the page
 
+Quote Post
rolf
post Jan 1 2007, 08:40 AM
Post #4





Group: Members
Posts: 108
Joined: 5-October 04
Member No.: 4,884



QUOTE(koen @ Oct 18 2006, 04:30 PM)
Suspend-to-disk requires only some help from the bootloader and kernel on ARM.

What kind of help would that be exactly?
Go to the top of the page
 
+Quote Post
svs57
post May 16 2007, 11:27 PM
Post #5





Group: Members
Posts: 108
Joined: 7-November 05
From: Russia
Member No.: 8,481



Look here:
http://tree.celinuxforum.org/CelfPubWiki/SuspendToDiskForARM
Arm patches for 2.6.14
I didn't try because I use 2.6.21 kernel.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 1st August 2014 - 10:36 PM