From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Cc: linux-acpi@vger.kernel.org
Subject: Re: confused fan after S3 resume (TP 600X)
Date: Thu, 16 Feb 2006 17:30:47 +0000 [thread overview]
Message-ID: <20060216173047.GA20136@srcf.ucam.org> (raw)
In-Reply-To: <E1F9eIG-00010e-Jm@approximate.corpus.cam.ac.uk>
On Thu, Feb 16, 2006 at 03:15:16AM -0500, Sanjoy Mahajan wrote:
> First theory: On sleep, the machine turns off the fan. On wakeup, the
> thermal module doesn't check whether the fan should be turned back on.
> Only when a trip point is crossed (or changed?) does it turn on. So I
> added a _resume method to thermal.c to call acpi_thermal_check().
> However, that didn't fix the problem.
APCI devices don't currently support suspend or resume methods. For now,
here's what I have in the Ubuntu resume script:
for x in /proc/acpi/fan/*; do
if [ "`grep on $x/state`" ]; then
echo -n 3 > $x/state;
echo -n 0 > $x/state;
fi
done
which seems to help.
--
Matthew Garrett | mjg59@srcf.ucam.org
prev parent reply other threads:[~2006-02-16 17:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-16 8:15 confused fan after S3 resume (TP 600X) Sanjoy Mahajan
2006-02-16 17:30 ` Matthew Garrett [this message]
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=20060216173047.GA20136@srcf.ucam.org \
--to=mjg59@srcf.ucam.org \
--cc=linux-acpi@vger.kernel.org \
--cc=sanjoy@mrao.cam.ac.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.