public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* hp omnibook xe4500 fan control
@ 2005-06-26  7:06 Thomas Perl
       [not found] ` <42BE53EB.5050601-MhksZLCqGG5eoWH0uzbU5w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Perl @ 2005-06-26  7:06 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello, List!

I'm having a problem with HP's Omnibook XE4500.

I cannot control the fan using its /proc/acpi interface. There is a fan 
entry and I can try to set some options, however - they are not set 
effectively (seems like Linux isn't in control of the fan). I'd like to 
set the trip_points to some values so that the fan doesn't come on so 
often. Any hints on where to start? Or it is not possible on Linux anyway?

There is a fan.exe on the diagnostic partition which switches the fan on 
and then off for diagnose purposes, so it _should_ be possible to 
control the fan by software.


Thanks for any information!
Thomas

PS: Please cc the reply also to me, I'm currently not on the list.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: hp omnibook xe4500 fan control
@ 2005-06-27  1:35 Li, Shaohua
  0 siblings, 0 replies; 4+ messages in thread
From: Li, Shaohua @ 2005-06-27  1:35 UTC (permalink / raw)
  To: thp-MhksZLCqGG5eoWH0uzbU5w; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,
>
>Hello, List!
>
>I'm having a problem with HP's Omnibook XE4500.
>
>I cannot control the fan using its /proc/acpi interface. There is a fan
>entry and I can try to set some options, however - they are not set
>effectively (seems like Linux isn't in control of the fan). I'd like to
>set the trip_points to some values so that the fan doesn't come on so
>often. Any hints on where to start? Or it is not possible on Linux
anyway?
>
>There is a fan.exe on the diagnostic partition which switches the fan
on
>and then off for diagnose purposes, so it _should_ be possible to
>control the fan by software.
IIRC, fan device is a dummy device in many systems. That is acpi can't
really control fan. Your system might be such one. Sure, it's just my
guess :), did you see any error messages printed out? fan.exe might use
other methods like i2c.

Thanks,
Shaohua


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hp omnibook xe4500 fan control
       [not found] ` <42BE53EB.5050601-MhksZLCqGG5eoWH0uzbU5w@public.gmane.org>
@ 2005-06-27  2:52   ` Andrew Haninger
  2005-06-27  9:41   ` Danny Kukawka
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Haninger @ 2005-06-27  2:52 UTC (permalink / raw)
  To: thp-MhksZLCqGG5eoWH0uzbU5w; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On 6/26/05, Thomas Perl <thp-MhksZLCqGG5eoWH0uzbU5w@public.gmane.org> wrote:
> I'd like to set the trip_points to some values so that the fan doesn't
> come on so often. Any hints on where to start? Or it is not possible
> on Linux anyway?
FWIW, here are the lines I use to turn the fan on and off on my
Gateway SOLO 2500 (~5-6 years old so it requires acpi=force in the
boot parameters):

This one makes the fan turn on when the CPU is at 20degC (so, all the
time since it idles around 30degC):
echo "80:0:70:20:0" > /proc/acpi/thermal_zone/THRM/trip_points

This one makes the fan turn on when the CPU is at 60degC; so only
under with long CPU-intensive stuff (default):
echo "80:0:70:60:0" > /proc/acpi/thermal_zone/THRM/trip_points

This turns on the fan immediately:
echo 0 > /proc/acpi/fan/FAN/state

This turns off the fan immediately:
echo 3 > /proc/acpi/fan/FAN/state


I don't know why you echo 3 to turn off the fan and 0 to turn on the
fan and not 0 to turn off the fan and 1 to turn on the fan; or, better
"on" and "off". That's what works for me. I have these in tiny scripts
so I don't have to remember them.

They don't always work, though, so sometimes I have to run my script
to turn on the fan, then the one to turn off the fan, and then the one
to turn on the fan to get the fan to turn on. Very confusing, but it
works.

Hope this helps.

-Andy


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hp omnibook xe4500 fan control
       [not found] ` <42BE53EB.5050601-MhksZLCqGG5eoWH0uzbU5w@public.gmane.org>
  2005-06-27  2:52   ` Andrew Haninger
@ 2005-06-27  9:41   ` Danny Kukawka
  1 sibling, 0 replies; 4+ messages in thread
From: Danny Kukawka @ 2005-06-27  9:41 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Sunday 26 June 2005 09:06, Thomas Perl wrote:
> I'm having a problem with HP's Omnibook XE4500.
>
> I cannot control the fan using its /proc/acpi interface. There is a fan
> entry and I can try to set some options, however - they are not set
> effectively (seems like Linux isn't in control of the fan). I'd like to
> set the trip_points to some values so that the fan doesn't come on so
> often. Any hints on where to start? Or it is not possible on Linux anyway?
>
> There is a fan.exe on the diagnostic partition which switches the fan on
> and then off for diagnose purposes, so it _should_ be possible to
> control the fan by software.

Did you tried the omnibook kernel modules [1] ? They should also support the  
XE4500.   

Danny

[1] http://sourceforge.net/projects/omke/

-- 
Danny Kukawka
dkukawka-l3A5Bk7waGM@public.gmane.org
Mobile Devices
SUSE LINUX a Novell Business
Maxfeldstr. 5, D-90409 Nuernberg, Germany


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-27  9:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-26  7:06 hp omnibook xe4500 fan control Thomas Perl
     [not found] ` <42BE53EB.5050601-MhksZLCqGG5eoWH0uzbU5w@public.gmane.org>
2005-06-27  2:52   ` Andrew Haninger
2005-06-27  9:41   ` Danny Kukawka
  -- strict thread matches above, loose matches on Subject: below --
2005-06-27  1:35 Li, Shaohua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox