All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruno Ducrot <ducrot@poupinou.org>
To: Saurabh Nanda <saurabhnanda@gmail.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Laptop fan on Acer 4061NWLCi
Date: Mon, 3 Apr 2006 18:45:54 +0200	[thread overview]
Message-ID: <20060403164554.GB13970@poupinou.org> (raw)
In-Reply-To: <794f042d0604030856t465a822fub4449c02e1a3456e@mail.gmail.com>

On Mon, Apr 03, 2006 at 09:26:28PM +0530, Saurabh Nanda wrote:
> Hi,
> 
> > Yes, only problem is to define _ON and _OFF methods in order to control
> > the fan device.  Good luck...
> 
> How do I do that? Can you please point me to some examples?

I can't, sorry.  It depend how the fan is controlled.  This could be
some magic values to poke to the EC space for example, or some
io register to set/reset, etc.

Look at ACPI spec v3.0 (available at www.acpi.info) page 345, 
"11.6 ThermalZone Examples."
for examples of fan devices and how to make them work with a
thermal zone.  But if you don't know how to control that fan,
I don't see how I can help you.
Those examples depends on the fact that the fan is controllable
via some registers into the EC space.  I don't know if your laptop
do have those registers.

> I've got my fan *visible* (doesn't function -- just visible), under
> /proc/acpi. What else should I do to get it actually working?

BTW you are sure the fan is not functionning properly?
What happens if you try to control it like this:

off:
echo 3 > /proc/acpi/fan/???/state

on:
echo 0 > /proc/acpi/fan/???/state

If that's work, it's just a matter to add to the thermal zone
some lines like those:

Method(_AC0)(Return (a temperature))
Name(_AL0, Package() {\_SB...\FAN})

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.

  reply	other threads:[~2006-04-03 16:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-03 11:08 Laptop fan on Acer 4061NWLCi Saurabh Nanda
2006-04-03 13:41 ` Bruno Ducrot
2006-04-03 15:56   ` Saurabh Nanda
2006-04-03 16:45     ` Bruno Ducrot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-04-03 15:31 Karasyov, Konstantin A

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=20060403164554.GB13970@poupinou.org \
    --to=ducrot@poupinou.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=saurabhnanda@gmail.com \
    /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.