ALICE was beginning to get very tired of sitting by her sister on the bank, and
of having nothing to do: once or twice she had peeped into the book her sister
was reading, but in had no pictures or conversations in it, "and what is the
use of a book," thought Alice, "without pictures or conversation?"

Sorry about that, my sense of humor getting the better of me there. This is my
latest version of a program to enable the user to turn the internal fan on a
Toshiba Pentium(tm) laptop on or off and find out it's current state under
Linux. There are also some XPM icons that you might find useful for running the
programs under X11.

This should be a universal fan program, something Toshiba do not appear to have
managed. It should be able to turn the fan on/off and correctly report the
status on all Toshiba Pentium(tm) laptops with a fan. However I have only
personally been able to test it on my Satellite Pro 400CS, though reports from
users on the Internet indicates the program works on the following Toshiba
laptops:

 o Satellite Pro 400x, 410x, 420x, 430x, 440x, 460x, 470x, 480x
 o Satellite     100x, 110x, 200x, 210x, 220x, 230x, 300x, 310x
 o Portage       300x, 610x, 660x
 o Tecra         500x, 510x, 520x, 700x, 710x, 720x, 730x, 740x

I am keen to hear reports of success/failure for any Toshiba laptop *not*
listed above. The program though does not work on Libretto's because they don't
have a fan. 

Installation should be a dodle type 'make fan' to build the program, provided
you are logged in as root you can then test it out. The program only has two
options -n to turn the fan oN and -f to turn it oFf. With no options it
displays the current status of the fan. You can install the program with
'make install' provided you are logged in as root, as it requires the setuid
bit to be set in order to get the necessary permissions on the I/O ports. As far
as I am aware the program should not present any security holes, but I am not
an expert. One final note, it must be compiled with optimizations turned on, or
the inline assembler for doing I/O won't work.

JAB.

-----------------------------------------------------------------------
Jonathan A. Buzzard                 Email: jab@hex.prestel.co.uk
Northumberland, United Kingdom.       Tel: +44(0)1661-832195
