sourCEntral - mobile manpages

pdf

set_therm

NAME

fand − NetWinder fan speed daemon

SYNOPSIS

/sbin/fand

DESCRIPTION

This deamon keeps a NetWinder quiet by turning off the fan whenever possible. It respects the temperature limits set by the set_therm(8) program, but switches off the fan whenever the temperature is below the lower limit (instead of running the fan at low speed). Consider it an automated way of calling fan_ctrl(8) every three minutes. Whenever the fan state is changed, a message is logged to via syslog(2) which will typically show up in /var/log/messages

NOTE

The ability to switch the fan off completely is only available on Revision 5 hardware. Check hardware revision with the command
cat /proc/therm

It will say "fan hardwired" on older hardware where the fan cannot be switched off.

OPTIONS

None

FILES

/sbin/fand

SEE ALSO

fan_ctrl(8), set_therm(8),

DIAGNOSTICS

The program requires a char device node /dev/temperature with major=10, minor=131 to interface with the therm device driver, which must be compiled into the Kernel. Previous versions of this tool used /dev/therm with other major and minor numbers. They should be replaced. The proper device node can be created with the command
mknod -m600 /dev/temperature c 10 131

This program may only be run by the super-user, and will fail with a "permission denied" error message if run by non-root. The error message "operation not supported" indicates the use of the wrong device node (see above) or a kernel without therm driver support compiled in.

AUTHOR

The program was written by Jamie Guinan in December 1998. Syslog support was added by Woody Suwalski <woody AT netwinder DOT org>. The manpage was written by Ralph Siemsen <ralphs AT netwinder DOT org>. All are distrubuted under the terms of the GPL.

pdf