[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-pm-utils
Subject:    Re: [Pm-utils] Pm-utils Digest, Vol 41, Issue 10
From:       gmarzot () marzot ! net
Date:       2010-03-30 19:29:50
Message-ID: 20100330122950.dcdb4e9e9b6b46a37cb2272ec227cfc1.d96e65c6c5.wbe () email ! secureserver ! net
[Download RAW message or body]




-------- Original Message --------


unfortunately this is not working

this is what I have below... I would expect returning one to stop the
suspend/hibernate and a normal shutdown will follow... on wakeup (i am
doing WoL to one of the NICs) it should not think it is waking from a
suspend... but it does and croaks trying to reconstitute the
environment.

restarting tasks ... done.

any ideas why this is not working? thank you, G

-----------------------

#!/bin/bash


case $1 in
    hibernate | suspend)
	shutdown -P -t 15 now &
        return 1
        ;;
    thaw | resume)
     	echo "Waking up from shutdown"
        return 1
        ;;
    *)  echo "ERROR: used incorrectly."
        ;;
esac


------------------------------

Message: 2
Date: Tue, 30 Mar 2010 08:28:29 +0800
From: Ng Oon-Ee <ngoonee@gmail.com>
Subject: Re: [Pm-utils] Substituting "shutdown" for
 sleep/suspend/hibernate
To: gmarzot@marzot.net
Cc: pm-utils@lists.freedesktop.org
Message-ID: <1269908909.12790.0.camel@localhost.localdomain>
Content-Type: text/plain; charset="ISO-8859-9"

Off the top of my head, couldn't you just write a script which calls
'shutdown -h now' on the suspend and hibernate events and put it
in /etc/pm/sleep.d?

On Mon, 2010-03-29 at 17:16 -0700, gmarzot@marzot.net wrote:
> I have a buggy(i think) motherboard (ga-ep45-ud3p) that does not
> appear to support S3(STR) or hibernate... I can get a machine to come
> back from true shutdown (shutdown -P now) so I was wondering how I
> might make the action for sleep or hibernate be a shutdown (powerdown)
> and no complicated resume/thaw... just power back on and boot.
> 
> 
> thank you very any tips, Giovanni
> 
> _______________________________________________
> Pm-utils mailing list
> Pm-utils@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pm-utils




------------------------------

_______________________________________________
Pm-utils mailing list
Pm-utils@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils


End of Pm-utils Digest, Vol 41, Issue 10
****************************************

_______________________________________________
Pm-utils mailing list
Pm-utils@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic