Best Gateway Solo 1450 page ... ever

| | Comments (0) |

OK, so the bar is fairly low when it comes to pages about how to deal with the Gateway Solo 1450 and Linux. This page is the only place I've seen a sane way to deal with the CPU fan (besides my mentions of it). Here at least you can find out how to set the trip points.

The page is fairly old (2004), and I reproduce the fan section here if only because I fear the page disappearing:

Turning off the Fan
If you were wondering why I made this page despite the fact that there are several already out there, it was for this section right here. The general solution to this problem is to make some stupid shell script that checks the temperature and manually activates/deactivates the fan. This is the wrong way to do it. You see, since you already went through the hassle of installing the latest ACPI patch, you can make use of the kernel's ability to do this for you!

Add this to the earliest boot script you can find, like rc.sysinit under Redhat. The idea is that you want to turn off the fan before you start fsck'ing your disk so that you can squeeze the most out of your battery life.

echo 100:90:85:80:80 > /proc/acpi/thermal_zone/THRM/trip_points
echo 30 > /proc/acpi/thermal_zone/THRM/polling_frequency

# It's safe to turn the fan off now.
echo -n 3 > /proc/acpi/fan/FAN0/state


WARNING These numbers represent the temperature in Celsius at which each state should be triggered. The numbers you should inject into "/proc/acpi/thermal_zone/THRM/trip_points" may be different for your computer. Before you set these numbers, check what the current values are set to by using cat /proc/acpi/thermal_zone/THRM/trip_points. Note that while some fields may be omitted when you read this file (on my machine the Hot field is not shown), all fields must be set when you write to it. The correct order is Critical:Hot:Passive:Active0:Active1 (note colon seperation).

Alternatively, you can use this shell script which I wrote to do the same thing in a more user friendly manner. This script only changes the fields which you mean to change, and not any others. I highly recommend that you use this script (below) because it has the least chance of melting your processor.

function reset_trip_points
{
if [ -f /proc/acpi/thermal_zone/THRM/trip_points -a -f /proc/acpi/thermal_zone/THRM/polling_frequency ]
then

ifs=$IFS
IFS="
"
for i in `cat /proc/acpi/thermal_zone/THRM/trip_points`
do
j="${i%% C*}"
j="${j##* }"
i=${i%%[ :]*}
i=${i//[][]/}
case "$i" in
critical|hot|passive|active0|active1)
eval "[ \"x\$$i\" = x0 ] && $i=\$j"
;;
esac
done
IFS=$ifs

echo $critical:$hot:$passive:$active0:$active1 > /proc/acpi/thermal_zone/THRM/trip_points

# Activate the kernel's temperature control system
echo 30 > /proc/acpi/thermal_zone/THRM/polling_frequency

# It's safe to turn the fan off now.
echo -n 3 > /proc/acpi/fan/FAN0/state
fi
}

# Set the new value for the temperature you would like to change, or leave it
# at zero to get the default.
critical=0
hot=0
passive=0
active0=0
active1=80

# Make the Kernel handle CPU temperature management.
# Do this before the filesystem checks so that the fan will turn off and stop
# draining the battery.
reset_trip_points

Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appears Saturdays in the Los Angeles Daily News, is now available on the Daily News Technology page.

About this blog

New ways to sign in to comment: I just added the ability for prospective commenters on this blog to sign in using their AOL, Yahoo! and Wordpress.com accounts (for the past 200 posts anyway ... more than that will take an extensive, middle-of-the-night rebuild). That's in addition to the other sign-in choices, which include starting a Movable Type account on this blog, Typekey, OpenID, Live Journal and Vox. If you have trouble getting your Movable Type account verified, or any of the other sign-in options are not working properly, please e-mail me. With these added ways of signing in, there's more reason than ever for you to make a comment (or several!).




Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on October 10, 2008 1:00 AM.

The hidden power of Gmail, the increasing reach of everything Google and the inevitability of cloud computing was the previous entry in this blog.

Debian Lenny: Stable not in Sept. '08, maybe in June '09 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Powered by Movable Type 4.25

LXer

Links

Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet U.K.
iTWire
CNet News
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Gobuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
Dustin Kirkland
Ubuntu UK Podcast
Popey
gNewSense
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
PC-BSD
DesktopBSD
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
Engadget
Gizmodo

Advertisement

Other blogs

Johnson Update in Inside USC with Scott Wolf
Has Bynum outgrown Kareem? in Inside the Lakers
Can the Angels just get to the end of this thing without an injury? in Farther Off the Wall
Neuheisel On: in Inside UCLA with Jon Gold
U.S. Roster for Final Two WCQ Announced in 100 Percent Soccer