Il Thu, Aug 31, 2006 at 08:29:08PM -0600, Joseph Smidt ha scritto: 
> I also forgot to mention, shutting down acpid works. :)  If I can
> figure out how to get acpid configured properly I will send you
> all the specifics so we can get "Satellite A105" Whitelisted.  Thanks.

Probably acpid sees the resume event and decide to shutdown the machine.
You can create a small shell wrapper for s2ram, like this:

#!/bin/bash
touch /var/run/s2ram
s2ram

and then alter the handler of the power event to check the file, remove
it and ignore the event:

if [ -f /var/run/s2ram ]; then
        rm /var/run/s2ram
        exit
fi
# normal shutdown here

Of course you can also stop and restart acpid:

#!/bin/bash
/etc/init.d/acpid stop
s2ram
/etc/init.d/acpid start

Luca
-- 
Home: http://kronoz.cjb.net
"L'amore consiste nell'essere cretini insieme." -- P. Valery

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to