Skip to contentSkip to conversation

hp omnibook xe4500 fan control

DISCUSSION Thomas Perl 3 participants 3 messages Jun 26, 2005 – Jun 27, 2005 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 3 lines · Thomas Perl

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_id492&op=click

#3 lore raw
In reply to a message not in the archive
Quoted 11 lines · Thomas Perl

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/

Signature · 12 lines
Danny Kukawka
[email protected]
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_id492&op=click