WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: suspend  (Read 1920 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14570
suspend
« on: July 14, 2009, 11:03:02 PM »
suspend extension posted

Note that suspend to hd has not been tested since my laptop hd is formatted ntfs. Before trying suspend, I would recommend having a look at http://en.opensuse.org/S2ram

I haven't made a tcz as yet as I am unsure how this would work on resume, especially in the case of suspend to hd.

suspend to ram works for me from both console mode and from X on a dell d430

Code: [Select]
Title:          suspend.tce
Description:    suspend for tc_2.x
Version:        0.8
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 317KB
Extension_by:   juanito
Comments:       suspend develops user space tools used for hibernation (suspend-to-disk)
                ..and suspend (suspend-to-RAM or standby) on Linux systems.
                ----------
                Requires the dbus, liblazy, libx86 and pci-utils extensions.
                ----------
                Howto suspend to ram
                check machine details
                $ sudo s2ram -n
                then
                $ sudo s2ram -f
                *** suspend to disk not tested ***
                ----------
                This extension contains:
                suspend-0.8 - GPLv2 - http://downloads.sourceforge.net/sourceforge/suspend/suspend-0.8.tar.gz
                ----------
Change-log:     First version
Current:        2009/07/15

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: suspend
« Reply #1 on: November 21, 2009, 02:04:57 PM »
Any further development on this?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14570
Re: suspend
« Reply #2 on: November 29, 2009, 06:48:21 AM »
suspend.tcz tested on my dell d430 - suspend to ram works OK, suspend to disk not tested.

Note that before trying this extension, you could try:
Code: [Select]
# echo -n "mem" > /sys/power/state
If this doesn't work, then you could try this extension:
Code: [Select]
Title:          suspend.tcz
Description:    suspend for tc_2.x
Version:        0.8
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 372KB
Extension_by:   juanito
Comments:       suspend develops user space tools used for hibernation (suspend-to-disk)
                ..and suspend (suspend-to-RAM or standby) on Linux systems.
                ----------
                Requires the expat2, dbus, liblazy, libx86, pci-utils and libpci extensions.
                ----------
                Howto suspend to ram
                check machine details
                $ sudo s2ram -n
                then
                $ sudo s2ram -f
                *** suspend to disk not tested ***
                ----------
                This extension contains:
                suspend-0.8 - GPLv2 - http://downloads.sourceforge.net/sourceforge/suspend/suspend-0.8.tar.gz
                ----------
Change-log:     First version
Current:        2009/07/15

Offline OldAdamUser2

  • Full Member
  • ***
  • Posts: 199
Re: suspend
« Reply #3 on: November 29, 2009, 07:34:53 AM »
On the eee 900 20 GB:

# echo -n "mem" > /sys/power/state --- suspends but machine won't awaken with keyboard and video
$ sudo s2ram -f -- suspends but machine won't awaken with keyboard and video
Other variants of the s2ram also cause the machine to freeze.

So suspend.tczl is not useful to me, it seems.

Standby does work:

echo standby > /sys/power/state -- Puts machine on standby; push power button to restore.

My two cents, for what its worth.