From: "Stefan Dösinger" <stefandoesinger-RbZlAiThDcE@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: How to wait that the machine resume in a script
Date: Wed, 16 Nov 2005 18:08:43 +0100 [thread overview]
Message-ID: <200511161808.43547.stefandoesinger@gmx.at> (raw)
In-Reply-To: <dlf12g$pc0$1@sea.gmane.org>
Hello,
> echo -n disk /sys/power/state
> waitresumed
> continue with the script
>
> The naive solution to wait until "echo -n disk /sys/power/state" returns
> do not work because it returns too quicly.
Do you mean "echo -n disk > /sys/power/state"? This works correctly for me
with suspend to ram ("echo mem > /sys/power/state").
How much too fast does it return? What about using a sleep 1 after the echo
call?
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
next prev parent reply other threads:[~2005-11-16 17:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-16 10:19 How to wait that the machine resume in a script Olive
2005-11-16 17:08 ` Stefan Dösinger [this message]
2005-11-17 22:24 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200511161808.43547.stefandoesinger@gmx.at \
--to=stefandoesinger-rbzlaithdce@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox