Skip to Content.
Sympa Menu

linux-sony-z1 - Hibernate-scripts for S3/S4 now available

Subject: Linux users of Sony Z1 series

List archive

Hibernate-scripts for S3/S4 now available


Chronological Thread 
  • From: Brouard Nicolas <>
  • To: Linux Sony Z1 users <>
  • Subject: Hibernate-scripts for S3/S4 now available
  • Date: Tue, 23 Nov 2004 20:54:58 +0100


Bernard Blackham, the author of the script "hibernate" used by swsusp2
published a version 1.0.1 which starts to incorporate ACPI S3 and S4
(standard swsusp) instead of swsusp2 at
http://dagobah.ucc.asn.au/swsusp/script2

It is easy to configure just do hibernate -h. But it is not fully
working and I modified it by adding a scriptlets.d/sysfs_power_disk
in order to do
UseSysfsPowerDisk shutdown
which is the safe way before its
UseSysfsPowerState disk

Concerning suspend to ram I also added
UseVideoPost yes
and included video_post in the rpm.

This video_post is not useful for Intel video cards but for Radeon.

I also incorporated two new tools susptoram and susptodisk
which simply are:
hibernate -F /etc/hibernate/susptoram.conf
and
hibernate -F /etc/hibernate/susptodisk.conf

Bernard told me that he will probably change the names for
hibernate-to-ram and hibernate-to-disk and I will change my rpm when it
will be done. He told me that he will incorporate UseSysfsPowerDisk.


But I don't know if will incorporate video_post or not (this is 586
specific).

For Mandrake users just do
rpm -ivh hibernate-scripts-1.0.1-2mdk.i586.rpm
and edit /etc/hibernate/*.conf for unloading the modules you want.

I did not touch hibernate which is still working by default for swsusp2.

A more complete documentation can be accessed at
http://sauvy.ined.fr/~brouard/sony/#hibernate-scripts

and rpm binary and src are accessible
at http://sauvy.ined.fr/~brouard/sony/rpm

For other distros, just unpack (not as root) the src rpm
and look at the patch.

I also updated sonyxosd in order to have susptoram on Fn_Esc
and susptodisk on Fn_F12.

The 3 tools are now in PAM and sudo is no more needed.

Suspend to ram is not fully working (or I don't know how to do it yet)
when the laptop is resumed in a dock station but suspended on battery.

Improvements are welcome.


Cheers,

Nicolas


--
Brouard Nicolas
<>



  • Hibernate-scripts for S3/S4 now available, Brouard Nicolas, 11/23/2004

Archive powered by MHonArc 2.6.18.

Top of Page