From: "Éric Brunet" <Eric.Brunet-l5PIGlIYzrxGWvitb5QawA@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: fan control
Date: Tue, 6 May 2003 11:21:20 +0200 [thread overview]
Message-ID: <20030506092120.GA24982@lps.ens.fr> (raw)
In-Reply-To: <20030502113819.GJ2954-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
On Fri, May 02, 2003 at 01:38:19PM +0200, Ducrot Bruno wrote:
> > >echo 0
> > >and echo 3 just by guessing).
About fan control, I would love to be able to stop my fan, but it doesn't
work. I can echo anything to /proc/acpi/fan/FAN/state, it has no bearing
on the fan, and the only result is a line in the log:
> acpi_bus-0199 [18] acpi_bus_set_power : Device is not power manageable
(kernel is 2.5.67)
I guess it is related to the fact that, according to
/proc/acpi/thermal_zone/THRM/trip_points:
> critical (S5): 100 C
> passive: 90 C: tc1=4 tc2=3 tsp=60 devices=0xdf7d1ea8
> active[0]: 80 C: devices=0xdf75d9a8
the fan is not supposed to shut down. Did I mention that the computer was
not a laptop ?
However, the computer is a shuttle xpc, temperature does not ever go over
35°C, and I have the feeling that if I dividez my 5 the CPU frequency,
the computer should be able to live without fan.
What makes me hopefull are the methods FON and FOFF in the dsdt:
> Method (FON, 0, NotSerialized)
> {
> SBYT (0x13, 0x46)
> SBYT (0x14, 0x57)
> Store (GBYT (0x54), Local0)
> SBYT (0x14, Local0)
> Store (GBYT (0x53), Local0)
> SBYT (0x13, Local0)
> }
>
> Method (FOFF, 0, NotSerialized)
> {
> Store (GBYT (0x14), Local0)
> SBYT (0x54, Local0)
> SBYT (0x14, 0xD0)
> Store (GBYT (0x13), Local0)
> SBYT (0x53, Local0)
> }
FOFF and FON (Fan Off and Fan On, I think) are called by SFAN (Set Fan.
SFAN(0) calls FOFF and SFAN(0xFF) calls FON). SFAN(0x00) appears
in \_PTS (is that Put To Sleep ?) and SFAN(0xFF) appears in \_WAK.
In short, the fan can be stopped in the software, but it is only done at
sleep time. Now it should be possible to translate the definition of FON
and FOFF in a series of writes to some ioports, I guess, but I have no
idea how to do that...
If you are interested, my dsdt is at http://perso.nerim.net/~tudia/download/dsdt
Éric Brunet
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2003-05-06 9:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-02 8:17 fan control Herbert Nachtnebel
[not found] ` <B900970C7DD9474C972986EB3EC7C58F12EC9A-PWLG29+z7hEKeIAE67mlpo2P0GrZ+RbP@public.gmane.org>
2003-05-02 8:31 ` Daniele Boffi
[not found] ` <20030502103102.A2867-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2003-05-02 8:56 ` Ducrot Bruno
[not found] ` <20030502085643.GH2954-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-05-02 9:23 ` Markus Gaugusch
2003-05-02 9:03 ` Franck SICARD
2003-05-02 9:24 ` Stefan Behnel
[not found] ` <3EB23932.9090508-8NdywcgfOMlWMvVl7B+zuCEWGD4kr0XT@public.gmane.org>
2003-05-02 11:38 ` Ducrot Bruno
[not found] ` <20030502113819.GJ2954-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-05-06 9:21 ` Éric Brunet [this message]
[not found] ` <20030506092120.GA24982-l5PIGlIYzrxGWvitb5QawA@public.gmane.org>
2003-05-06 10:56 ` Adachi, Kenichi
[not found] ` <01bb01c313be$1845afc0$b8d21b2b-5Bsh/8v8vXc@public.gmane.org>
2003-05-06 15:04 ` Ducrot Bruno
2003-05-02 9:53 ` Daniele Boffi
-- strict thread matches above, loose matches on Subject: below --
2003-05-02 12:00 Herbert Nachtnebel
[not found] ` <B900970C7DD9474C972986EB3EC7C58F0D40A1-PWLG29+z7hEKeIAE67mlpo2P0GrZ+RbP@public.gmane.org>
2003-05-02 12:06 ` Daniele Boffi
[not found] <B900970C7DD9474C972986EB3EC7C58F0D40A0@andromeda.agcad.local>
[not found] ` <B900970C7DD9474C972986EB3EC7C58F0D40A0-PWLG29+z7hEKeIAE67mlpo2P0GrZ+RbP@public.gmane.org>
2003-05-02 11:43 ` Daniele Boffi
2003-05-02 11:41 Herbert Nachtnebel
2003-05-02 11:11 Herbert Nachtnebel
[not found] ` <B900970C7DD9474C972986EB3EC7C58F12EC9E-PWLG29+z7hEKeIAE67mlpo2P0GrZ+RbP@public.gmane.org>
2003-05-02 11:17 ` Daniele Boffi
2003-05-02 10:50 Herbert Nachtnebel
[not found] ` <B900970C7DD9474C972986EB3EC7C58F0D409F-PWLG29+z7hEKeIAE67mlpo2P0GrZ+RbP@public.gmane.org>
2003-05-02 11:04 ` Daniele Boffi
2003-05-02 10:30 Herbert Nachtnebel
2003-05-01 16:51 Daniele Boffi
[not found] ` <20030501185137.C926-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2003-05-01 18:23 ` Raul Aranda Blasco
[not found] ` <1051813408.607.3.camel-bi+AKbBUZKZeoWH0uzbU5w@public.gmane.org>
2003-05-01 18:33 ` Daniele Boffi
[not found] ` <20030501203309.B1662-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2003-05-01 18:56 ` Raul Aranda Blasco
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=20030506092120.GA24982@lps.ens.fr \
--to=eric.brunet-l5pigliyzrxgwvitb5qawa@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