public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Peter Feuerer <peter@piie.net>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Acer Aspire One fan control
Date: Fri, 13 Feb 2009 19:18:15 +0000	[thread overview]
Message-ID: <20090213191815.GB1379@srcf.ucam.org> (raw)
In-Reply-To: <cone.1234551556.57236.4642.1000@onepiie>

On Fri, Feb 13, 2009 at 07:59:16PM +0100, Peter Feuerer wrote:
> Matthew Garrett writes:
> >If 
> >these io ports are also used by the firmware then you'll need to find 
> >ACPI methods to call to perform the fan control. 
> 
> I get the temperature by calling ec_read(0x58) and can read/write the state 
> of the fan by ec_write to / ec_read from 0x55. Actually I don't know if 
> those embedded controller registers are used by the firmware. How can I 
> find it out?

Ok, yup, that should be safe. It might be nice to implement this as an 
hwmon driver, potentially tying it into the thermal layer.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2009-02-13 19:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12 20:37 Acer Aspire One fan control Peter Feuerer
2009-02-12 21:03 ` Ralf Hildebrandt
2009-02-12 21:14   ` Peter Feuerer
2009-03-09 10:54     ` Maxim Levitsky
2009-02-13 10:35 ` Thomas Renninger
2009-02-13 19:34   ` Peter Feuerer
2009-02-13 13:40 ` Matthew Garrett
2009-02-13 18:59   ` Peter Feuerer
2009-02-13 19:18     ` Matthew Garrett [this message]
2009-02-13 19:45       ` Peter Feuerer
2009-02-27 18:58       ` [PATCH] acerhdf: " Peter Feuerer
     [not found]         ` <1235763653.24506.6.camel@localhost>
2009-02-28 18:58           ` Peter Feuerer
2009-03-01 14:38             ` Matthew Garrett
2009-03-26 22:22               ` Peter Feuerer
2009-04-01 12:44                 ` Peter Feuerer
2009-04-12 20:49                   ` Peter Feuerer
2009-04-04 10:51                 ` Peter Feuerer
2009-03-01 15:27             ` Ed Tomlinson

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=20090213191815.GB1379@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter@piie.net \
    /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