Reference info:
www sourcefiles org/Monitoring/Miscellaneous/wmi8k.1.3.tar.gz.shtml
www diefer de/i8kfan/
Target audience:
Dell Laptop owners using a persistent Tiny Core 3.7.1 environment that require a fan control solution.
First, there is no i8kutils.tcz package but thanks to Jason W. and his script at:
http://forum.tinycorelinux.net/index.php?topic=2325.0I was able to convert debian sid i8kutils_1.33_i386.deb to i8kutils.tcz which I copied to tce/optional and set to load at startup with AppsAudit. I8kutils requires TCL (which has an App package in the repository) and the i8k module (that is included with Tiny Core).
I added this to /opt/bootlocal.sh (to load required module and daemon):
modprobe i8k
i8kmon
I added this to /opt/.filetool.lst (to make the config file persistent):
etc/i8kmon.conf
Now create the config file /etc/i8kmon.conf. For my Dell C600 the config reads like this:
# Sample i8kmon configuration file (/etc/i8kmon, ~/.i8kmon).
# Kernel I8K status file
set config(proc_i8k) /proc/i8k
# Kernel APM status file
set config(proc_apm) /proc/apm
# Kernel ACPI status file
set config(proc_acpi) /proc/acpi/ac_adapter/0/status
# External program to control the fans
set config(i8kfan) /usr/bin/i8kfan
# Applet geometry, override with --geometry option
set config(geometry) {}
# Run as daemon, override with --daemon option
set config(daemon) 1
# Automatic fan control, override with --auto option
set config(auto) 1
# Report status on stdout, override with --verbose option
set config(verbose) 0
# Status check timeout (seconds), override with --timeout option
set config(timeout) 5
# Temperature display unit (C/F), override with --unit option
set config(unit) C
# Temperature threshold at which the temperature is displayed in red
set config(t_high) 80
# Minimum expected fan speed
set config(min_speed) 1800
# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
# These were tested on the I8000. If you have a different Dell laptop model
# you should check the BIOS temperature monitoring and set the appropriate
# thresholds here. In doubt start with low values and gradually rise them
# until the fans are not always on when the cpu is idle.
set config(0) {{- 0} -1 52 -1 52}
set config(1) {{- 1} 44 60 44 60}
set config(2) {{- 2} 60 80 60 80}
set config(3) {{- 2} 70 128 75 128}
# end of file
The big thing with i8kmon.conf is that "daemon" and "auto" are set to "1". Also for fan control "set config(0)" notice that I have {- 0}. The left position is a dash and the right position a number. The dash indicates no left fan, so only the right fan is being controlled. You'll definitely want to read the man pages on how to best configure i8kmon.conf for your particular laptop.
i8kctl can be used to manually control the fans or to check the status of temperature/fan control.
Good luck.