* How to control Thermal zone
@ 2004-12-10 1:29 Francisco Figueiredo Jr.
[not found] ` <41B8FC12.5090602-/E1597aS9LRfJ/NunPodnw@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Francisco Figueiredo Jr. @ 2004-12-10 1:29 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi guys,
sorry if this has been already asked,
but I'd like to know if is it possible to control thermal zone in order
to turn off my laptop fan when I get my login screen.
I mean, The fan is being correctly turned on and off but only after
getting some threshold. When the laptop is turned on and my thermal zone
temp is 35C fan is kept on when it could be turned off.
Any tips?
Please, let me know if I'm asking something nonsense.
Thanks in advance.
- --
Regards,
Francisco Figueiredo Jr.
Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org
- -------------
"Science without religion is lame;
religion without science is blind."
~ ~ Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQEVAwUBQbj8Ev7iFmsNzeXfAQLdtgf+MSfNHpYkrfI5gRTIp3UGn/2ZpaOTQtV8
nozg1aL/VnpUUfS+1tWpKzpP9qMEoTy6Xpu/y1Cxm8LqzqQDcHUKeFgvRJ/jUa7E
d1ghZuqohc7HWmky/XTCd5s1ZZ4G0ZhkbPAvYS0WvHUaHkB2SqgdtKohvR8EyIQK
leV1jA4Wah8ZiJLFmUytZOem8WNvZBwzH2Lt+wAGOjqbguW9GOhzguxO+tTIb3pD
ZHwruCLhzFrv3qnPVmOgGclpWKZBwW7mf6U0ltxPp+L+ggVO/d24ROs0tfM1SAQg
iVEqpJJ4b4VwkonvKT/zmRzpPSV4a3D6bhJgAS2nqpm5YV6BHdUxiA==
=iKmE
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread[parent not found: <41B8FC12.5090602-/E1597aS9LRfJ/NunPodnw@public.gmane.org>]
* Re: How to control Thermal zone [not found] ` <41B8FC12.5090602-/E1597aS9LRfJ/NunPodnw@public.gmane.org> @ 2004-12-10 1:10 ` Wang, Zhenyu [not found] ` <20041210011029.GA28676-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org> 2004-12-10 14:24 ` How to control Thermal zone Pavel Machek 1 sibling, 1 reply; 8+ messages in thread From: Wang, Zhenyu @ 2004-12-10 1:10 UTC (permalink / raw) To: Francisco Figueiredo Jr.; +Cc: ACPI devel list > > Hi guys, > > sorry if this has been already asked, > > but I'd like to know if is it possible to control thermal zone in order > to turn off my laptop fan when I get my login screen. > > I mean, The fan is being correctly turned on and off but only after > getting some threshold. When the laptop is turned on and my thermal zone > temp is 35C fan is kept on when it could be turned off. > > Any tips? > Have you loaded acpi fan module? Have you got any device under /proc/acpi/fan? Try to trigger on/off to that device. cheers zhen ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20041210011029.GA28676-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>]
* Re: How to control Thermal zone [not found] ` <20041210011029.GA28676-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org> @ 2004-12-11 23:47 ` Francisco Figueiredo Jr. [not found] ` <41BB86FA.7040802-/E1597aS9LRfJ/NunPodnw@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Francisco Figueiredo Jr. @ 2004-12-11 23:47 UTC (permalink / raw) To: ACPI devel list, Wang, Zhenyu -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wang, Zhenyu wrote: |>Hi guys, |> |>sorry if this has been already asked, |> |>but I'd like to know if is it possible to control thermal zone in order |>to turn off my laptop fan when I get my login screen. |> |>I mean, The fan is being correctly turned on and off but only after |>getting some threshold. When the laptop is turned on and my thermal zone |>temp is 35C fan is kept on when it could be turned off. |> |>Any tips? |> | | | Have you loaded acpi fan module? Have you got any device under /proc/acpi/fan? | Try to trigger on/off to that device. | Hi Wang, Yes, I get the following under /proc/acpi/fan: FAN1, FAN2, FAN3. I played triggering on off on fan. In fact, I could turn them on! :) I even could check that FAN2 and 3 are fan velocities as when I turned them on they did a much higher noise :) But unfortunately I couldn't turn them off :( I tried both echo off > /proc/acpi/fan/FAN1 and echo -n 0 > /proc/acpi/fan/FAN1, but they only turned it on. I mean, when I do echo off, it turns on. So I think that whatever I put is turning them on. What should I echo to turn them off? I think that if I learn how to turn it off by playing with acpi/fan it would be very cool!! Thanks in advance, Wang. - -- Regards, Francisco Figueiredo Jr. Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder Member http://monobrasil.softwarelivre.org - ------------- "Science without religion is lame; religion without science is blind." ~ ~ Albert Einstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQbuG+v7iFmsNzeXfAQI1uQf/eGAvq9D0tahFcZYCnDVfMNXtygLZZMoQ 3Pj+Zok7awWscsxZf0q4+MSNTCNeuDVFqaFRtUJ/kLvHop7nZoyn31IJW0dGeP2p 8PDuxAxBnnByUu9Sbzm7kuzgSElmMMsRaTXqz4TC37YOFLGwz8SWX7qgSVAI0C/C D8C5xQl0ohPwe6XN1ivJjcDgv9x+xocvHqbAqNL0q+Aa65eLSgTS/bzv6zABWN47 o62hViITqzQlGLaEYZHckM5WKNJfsziqgUMAsYeXxcIlBfDpTLIY1hoE3sZTiXhF Z2/x+cpTzq0j8jctHmfavisattGJi4m9tvKiH7V6vwAa1weXSku4aA== =VIIn -----END PGP SIGNATURE----- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <41BB86FA.7040802-/E1597aS9LRfJ/NunPodnw@public.gmane.org>]
* Re: How to control Thermal zone [SOLVED] [not found] ` <41BB86FA.7040802-/E1597aS9LRfJ/NunPodnw@public.gmane.org> @ 2004-12-12 2:46 ` Francisco Figueiredo Jr. 0 siblings, 0 replies; 8+ messages in thread From: Francisco Figueiredo Jr. @ 2004-12-12 2:46 UTC (permalink / raw) To: ACPI devel list; +Cc: Wang, Zhenyu -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Francisco Figueiredo Jr. wrote: | Wang, Zhenyu wrote: | |>Hi guys, | |> | |>sorry if this has been already asked, | |> | |>but I'd like to know if is it possible to control thermal zone in order | |>to turn off my laptop fan when I get my login screen. | |> | |>I mean, The fan is being correctly turned on and off but only after | |>getting some threshold. When the laptop is turned on and my thermal zone | |>temp is 35C fan is kept on when it could be turned off. | |> | |>Any tips? | |> | | | | | | Have you loaded acpi fan module? Have you got any device under | /proc/acpi/fan? | | Try to trigger on/off to that device. | | | | Hi Wang, | | Yes, I get the following under /proc/acpi/fan: | | FAN1, FAN2, FAN3. | | I played triggering on off on fan. | | In fact, I could turn them on! :) I even could check that FAN2 and 3 are | fan velocities as when I turned them on they did a much higher noise :) | | But unfortunately I couldn't turn them off :( | | I tried both echo off > /proc/acpi/fan/FAN1 and echo -n 0 > | /proc/acpi/fan/FAN1, but they only turned it on. I mean, when I do echo | off, it turns on. So I think that whatever I put is turning them on. | | What should I echo to turn them off? | After some google, I finally found: http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch09s03.html "Shows if the fan is currently active. The fan can be activated and deactivated manually by writing 0 (on) or 3 (off) into this file. However, both the ACPI code in the kernel and the hardware (or the BIOS) overwrite this setting when it gets too warm." I thought something like that could be found in acpi.sf.net. What about it? At least now I can control my cpu fans!! :D with a single echo -n 3 in the state and it turns off!! Perfect! Is this the right value? I mean, it worked, but I could be writing some bogus value. I could confirm that automatic on/off by acpi/bios is working as usual even when I manually turn it on/off. Again, tanks Wang, for feedback and tip. ;) Now, I think I have almost everything from my laptop. The only missing thing is S4! :) I'm waiting for 2.6.10 patch of software suspend to come up! I'm using 2.6.10rc1. Good work acpi people! Thank you very much! - -- Regards, Francisco Figueiredo Jr. Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder Member http://monobrasil.softwarelivre.org - ------------- "Science without religion is lame; religion without science is blind." ~ ~ Albert Einstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQbuxD/7iFmsNzeXfAQLk1Af/WYWPrjJOVFIwdQaD5cKwWNgDR801/Cki QLQvmx0tv6xZUNZ6uZFTPdkqH7l6bVc6fgq6WirXodNogucRzfxsH8ebcoGZj0Yr sWz9/SOGB02PMIQd6t2Xn9pwBY9UQkFR/z0KNIBmynhsO7gcU4Ec3y/9O+I+QGXD zEi0hhAVSHdvVJJ1GJVZFIkihNEnuIEsBRpTqXxq01Uh5/JAD92KGVuUfD+2yCa/ 5E8SorMZr93MbG+YKG/bqHNYTwiEPLnQ4vaDyhCneDw215H9Ld1EwRFrbyY2P1dS R2qQ5sM9bw1pk5b9LCsFNF3VX5Yro//fTSd6MjpR2hF+wTQob9xftw== =9Hfv -----END PGP SIGNATURE----- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to control Thermal zone [not found] ` <41B8FC12.5090602-/E1597aS9LRfJ/NunPodnw@public.gmane.org> 2004-12-10 1:10 ` Wang, Zhenyu @ 2004-12-10 14:24 ` Pavel Machek [not found] ` <20041210142425.GB3654-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org> 1 sibling, 1 reply; 8+ messages in thread From: Pavel Machek @ 2004-12-10 14:24 UTC (permalink / raw) To: Francisco Figueiredo Jr.; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hi! > sorry if this has been already asked, > > but I'd like to know if is it possible to control thermal zone in > order > to turn off my laptop fan when I get my login screen. > > I mean, The fan is being correctly turned on and off but only after > getting some threshold. When the laptop is turned on and my thermal > zone > temp is 35C fan is kept on when it could be turned off. > > Any tips? You can just echo 1:2:3 > trip_points... Pavel -- 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20041210142425.GB3654-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>]
* Re: How to control Thermal zone [not found] ` <20041210142425.GB3654-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org> @ 2004-12-13 15:01 ` Francisco Figueiredo Jr. [not found] ` <41BDAEB5.3040308-/E1597aS9LRfJ/NunPodnw@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Francisco Figueiredo Jr. @ 2004-12-13 15:01 UTC (permalink / raw) To: Pavel Machek; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pavel Machek wrote: | Hi! | | |>sorry if this has been already asked, |> |>but I'd like to know if is it possible to control thermal zone in |>order |>to turn off my laptop fan when I get my login screen. |> |>I mean, The fan is being correctly turned on and off but only after |>getting some threshold. When the laptop is turned on and my thermal |>zone |>temp is 35C fan is kept on when it could be turned off. |> |>Any tips? | | | You can just echo 1:2:3 > trip_points... | Pavel What do this do? I don't know trip_points and what their parameters mean. Could you explain it, please? Thanks in advance. - -- Regards, Francisco Figueiredo Jr. Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder Member http://monobrasil.softwarelivre.org - ------------- "Science without religion is lame; religion without science is blind." ~ ~ Albert Einstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQb2utf7iFmsNzeXfAQLGRAgAhHklWoS9jkGyjlPghkxTJ15hP7zBaKsK AleFZH4LYRFVShmi2JPboDZccmvpBuN7hHx8HITzoa4WlIM9U17aG+XMV6es+Dwt GObb4913EffOvQXSJz/LhMYJhT3hOwiTl3Nv2OwOjStTYiUd6AOI10CAMRg+/2xR dmKtOIj8QNsCgZB3H8793sUv/osUhvkO+Q95s8ZGmM2qCY16POtHm19OWZluddzj Q2LNeDz7kQHxRgQr+nMqNsH4JU+WUwihPtTPGBoopXcCwoA+j9gGRS/ccEC7EeqY jSnTK0JZhqZHLOn2pOusOqKylEFS98UAPibfapRAOR3ws7nlKkpg6Q== =pdFg -----END PGP SIGNATURE----- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <41BDAEB5.3040308-/E1597aS9LRfJ/NunPodnw@public.gmane.org>]
* Re: How to control Thermal zone [not found] ` <41BDAEB5.3040308-/E1597aS9LRfJ/NunPodnw@public.gmane.org> @ 2004-12-14 12:51 ` Thomas Renninger [not found] ` <41BEE1D7.9060007-smMupaH/RwJM7kwft8N7nw@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Thomas Renninger @ 2004-12-14 12:51 UTC (permalink / raw) To: Francisco Figueiredo Jr.; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Francisco Figueiredo Jr. wrote: > Pavel Machek wrote: > | Hi! > |>I mean, The fan is being correctly turned on and off but only after > |>getting some threshold. When the laptop is turned on and my thermal > |>zone > |>temp is 35C fan is kept on when it could be turned off. > |> > |>Any tips? > | > | > | You can just echo 1:2:3 > trip_points... > | Pavel > > > What do this do? > I don't know trip_points and what their parameters mean. Could you > explain it, please? echo "critical:hot:passive:active1:active2:activeX" > trip_points e.g.: echo "90:80:45:40:38" > trip_points means: 90 degree -> critical -> machine should shutdown (e.g. by acpid) 80 degree -> hot -> gets dangerous 45 degree -> passive -> Set CPU frequency, throttling (CPU performance) down in order to cool system 40 degree -> active1 -> turn on active cooling device 1 This normally is a fan (or an intensity of a fan) 38 degree -> active2 ... To modifiy the trip points they have to be exported by your BIOS, otherwise those values are ignored ... echo 5 > polling_frequency is a good idea as well. However the thermal module still has some bugs (e.g. once you entered passive cooling it always will be displayed in state (but your machine should be fast again)) To track down what's going on compile with CONFIG_ACPI_DEBUG=y and: echo 0xFFFF0000 >/proc/acpi/debug_layer echo 0x00000FFF >/proc/acpi/debug_level and watch your syslogger output... Thomas ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <41BEE1D7.9060007-smMupaH/RwJM7kwft8N7nw@public.gmane.org>]
* Re: How to control Thermal zone [not found] ` <41BEE1D7.9060007-smMupaH/RwJM7kwft8N7nw@public.gmane.org> @ 2004-12-15 0:40 ` Wang, Zhenyu 0 siblings, 0 replies; 8+ messages in thread From: Wang, Zhenyu @ 2004-12-15 0:40 UTC (permalink / raw) To: Thomas Renninger; +Cc: ACPI devel list > > However the thermal module still has some bugs (e.g. once you entered > passive cooling it always will be displayed in state (but your machine > should be fast again)) patch is at http://bugme.osdl.org/show_bug.cgi?id=3410 Would you help to test it? thanks zhen ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-12-15 0:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-10 1:29 How to control Thermal zone Francisco Figueiredo Jr.
[not found] ` <41B8FC12.5090602-/E1597aS9LRfJ/NunPodnw@public.gmane.org>
2004-12-10 1:10 ` Wang, Zhenyu
[not found] ` <20041210011029.GA28676-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
2004-12-11 23:47 ` Francisco Figueiredo Jr.
[not found] ` <41BB86FA.7040802-/E1597aS9LRfJ/NunPodnw@public.gmane.org>
2004-12-12 2:46 ` How to control Thermal zone [SOLVED] Francisco Figueiredo Jr.
2004-12-10 14:24 ` How to control Thermal zone Pavel Machek
[not found] ` <20041210142425.GB3654-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-12-13 15:01 ` Francisco Figueiredo Jr.
[not found] ` <41BDAEB5.3040308-/E1597aS9LRfJ/NunPodnw@public.gmane.org>
2004-12-14 12:51 ` Thomas Renninger
[not found] ` <41BEE1D7.9060007-smMupaH/RwJM7kwft8N7nw@public.gmane.org>
2004-12-15 0:40 ` Wang, Zhenyu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox