public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jon Dufresne <jdufresne@vision-gaming.com>
To: linux-acpi@vger.kernel.org
Subject: ACPI and power failure
Date: Fri, 16 Feb 2007 12:09:49 -0500	[thread overview]
Message-ID: <45D5E55D.4000802@vision-gaming.com> (raw)

Hi,

Is there anything ACPI related that deals with a AC power fail in the 
system?

I am developing an embedded system that has very limited writes to a 
flash device, other than that all file systems are read only. I want to 
turn this device on and off with one main switch that will cut the AC 
power. Turning it on this way is not a problem. When I turn it off I am 
a bit worried that if in the middle of a write the r/w file system may 
be corrupted. I am curious if there is anything ACPI related that can 
detect an AC power fail and in the 1-5 ms before DC power is lost 
quickly do the bare essentials of house keeping to prevent fs corruption.

Any input on this would be helpful.

Thanks,
Jon

             reply	other threads:[~2007-02-16 17:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16 17:09 Jon Dufresne [this message]
2007-02-16 17:59 ` ACPI and power failure Len Brown

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=45D5E55D.4000802@vision-gaming.com \
    --to=jdufresne@vision-gaming.com \
    --cc=linux-acpi@vger.kernel.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