...may be some daynamezero wrote: Maybe that should be posted as v0.19 of offical tpfancontrol on sourceforge?
For anyone who's interested in the source code:
http://staff-www.uni-marburg.de/~schmit ... roject.zip (180 kB )
Ciao, troubadix

...may be some daynamezero wrote: Maybe that should be posted as v0.19 of offical tpfancontrol on sourceforge?
Thank you for this version. But there is one little bug - even when there is Log2File=0, fancontrol.log file is created and locked by process. But if it is much more programming, I can live with this, because there are no writes to the log file when process is running.troubadix wrote:fancontrol.ini:billyrom wrote:Any chance of celsius version without logging?
Log2File=1 enables, Log2File=0 disables writing to fancontrol.log
http://staff-www.uni-marburg.de/~schmit ... _nolog.zip

No changes in code, just in temp sensor names and temperature ranges for the T60 in fancontrol.ini, data from here and:WPWoodJr wrote:Please can you tell me what is the difference between the T60 version and the normal version? ... How did you determine the temperature ranges for the T60 that are in fancontrol.ini?
I'm a first time user. So, should I just take the temperature ranges from the T60 version's fancontrol.ini and replace the ranges in the v021 fancontrol.ini?troubadix wrote: No changes in code, just in temp sensor names and temperature ranges for the T60 in fancontrol.ini, data from here and:
...
You can leave T60 version and update, keep your data and modify fancontrol.ini from last version (v021, signature link) for your needs.

Yes!WPWoodJr wrote: .. should I just take the temperature ranges from the T60 version's fancontrol.ini and replace the ranges in the v021 fancontrol.ini?
As the identy of thermal sensors in different types of thinkpad is not really well known (only the location in EC storage ["EC offset"]), it's up to the user to chance the 3 letter names for his needs. This will not change to functionality of the code. Default option are the name in T43 as mentioned here:WPWoodJr wrote:The temp sensor names is a new addition to fancontrol.ini - they are not in the T60 version of fancontrol.ini. Are the sensor names the same for the T60?
Code: Select all
EC offset Index in "thermal" Location (estimated)
0x78 1 CPU 0
0x79 2 HDD
0x7A 3 HDD
0x7B 4 GPU
0x7C 5 Battery
0x7D 6 n/a
0x7E 7 Battery
0x7F 8 n/a
0xC0 none ?
0xC1 none ?
0xC2 none ?Code: Select all
SensorName1=CP0
SensorName2=HDD
SensorName3=HDD
SensorName4=GPU
SensorName5=BAT
SensorName6=sn6
SensorName7=BAT
SensorName8=sn8
SensorName9=sn9
SensorName10=snA
SensorName11=snB
SensorName12=snCCode: Select all
//
// >>>> T60 Fahrenheit Edition: all temperatures in °F <<<<
//
// -----------------------------------------------------------------
// ENGL:
// "Active=0" program just reads config.
// "Active=1" allow program to modify fan.
// "Active=2" program will come up in smart mode.
// DE:
// bei "Active=0" wird nur die Konfiguration ausgelesen.
// bei "Active=1" die Veränderung des Lüfterverhaltens ist aktiviert.
// bei "Active=2" startet das Programm im "Smart"-Modus.
Active=2
// -----------------------------------------------------------------
// ENGL: check temperatures every x seconds (default 5)
// DE: Überprüft die Temperaturen alle x Sekunden (Standard ist 5).
Cycle=5
// -----------------------------------------------------------------
// ENGL: Hide the program in the systray when minimizing (set to zero
// to minimize to taskbar with info displayed in the window title)
// DE: Versteckt das Programm unten rechts in der Windows-Taskleiste,
// wenn es minimiert wird. (bei 0 wird das Programm in die Taskbar
// minimiert und zeigt Informationen im Fenstertitel an.)
MinimizeToSysTray=1
// -----------------------------------------------------------------
// ENGL: The close button [X] minimized the program rather than
// ending it (End via right click in the system tray icon instead).
// DE: Der "Close"-Button minimiert das Programm, anstatt es
// zu beenden. (stattdessen beendet man es mit einem Rechts-Klick
// in der Taskleiste.)
MinimizeOnClose=1
// -----------------------------------------------------------------
// ENGL: Minimize (or hide to systray) immediately when starting
// DE: Minimiert es (oder versteckt es in der Taskleiste) beim Start.
StartMinimized=1
// -----------------------------------------------------------------
// ENGL: disable close function, useful when running as a service
// DE: Programm kann manuell (aus Versehen) nicht gestoppt werden
DisableClose=1
// -----------------------------------------------------------------
// ENGL: Temperature thresholds for turning the taskbar icon
// yellow orange red (Smart and Manual mode only and
// only together with MinimizeToTray=1)
// DE: Temperaturgrenzwerte, die das Symbol in der Taskbar gelb,
// orange bzw. rot färben. (Nur im "Smart"- und "Manual"-Modus
// in Kombination mit "MinimizeToTray=1" verfügbar.)
// T43 IconLevels=131 149 158
// T60
IconLevels=152 158 167
// -----------------------------------------------------------------
// ENGL: Beep frequency and duration (in ms) for successful
// fan state changes. (Set either or both to zero to
// disable)
// DE: Frequenz und Dauer des Piep-Signals (in ms), das eine erfolgreiche
// Änderung des Lüfterzustands ankündigt. (Um den Piepton abzuschalten,
// setzen Sie entweder einen oder beide Werte auf 0.)
FanBeep=0 0
// --------------------------------------------------------
// ENGL: If this max number of consecutive EC read errors occur
// program will switch fan back to bios mode and exit
// DE: Sobald die maximale Anzahl aufeinanderfolgender EC-Lesefehler
// erreicht ist, schaltet das Programm auf den BIOS-Modus um
// und wird beendet.
MaxReadErrors= 10
// --------------------------------------------------------
// ENGL: Log2File=1 enables, Log2File=0 disables
// writing to fancontrol.log
// DE: Log2File=1 aktiviert, Log2File=0 deaktiviert
// Schreiben nach fancontrol.log
Log2File=1
// --------------------------------------------------------
// ENGL: list (separated by comma) of sensors to ignore when
// determining the max. temperature. (Use upper case,
// e.g "IgnoreSensors=XC1,BAT")
// DE: Liste der Sensoren, getrennt durch Kommata, die bei der
// Ermittlung der Maximaltemperatur ignoriert werden. (Verwenden
// Sie Großbuchstaben, z.B. "IgnoreSensors=PCI,BAT".)
IgnoreSensors=
// ---------------------------------------------------------
// ENGL: List of 3 letter sensor names (T43)
// DE: Liste von Sensorname (jeweils 3 Buchstaben)
// SensorName1=CPU
// SensorName2=APS
// SensorName3=PCM
// SensorName4=GPU
// SensorName5=BAT
// SensorName6=X7D
// SensorName7=BAT
// SensorName8=X7F
// SensorName9=BUS
// SensorName10=PCI
// SensorName11=PWR
// SensorName12=XC3
// T60 - see http://www.thinkwiki.org/wiki/Thermal_Sensors#ThinkPad_T60
SensorName1=CP0
SensorName2=HDD
SensorName3=HDD
SensorName4=GPU
SensorName5=BAT
SensorName6=sn6
SensorName7=BAT
SensorName8=sn8
SensorName9=sn9
SensorName10=snA
SensorName11=snB
SensorName12=snC
// --------------------------------------------------------
// ENGL: temperature levels with associated fan levels
// (for the fan to come back, temperature must fall
// down to previous level). There may be more or
// less levels in this list. The first one should
// have a fan speed of zero and is the "turn off"
// temperature.
//
// Fan speed of 64 is extreme and may be an *unsupported*
// and *damaging* mode. A fan speed of 128 setting is
// not really a fan speed in itself but will instead switch
// fan control to BIOS mode (0x80). The idea of this
// is to let the program get out of the way and let the
// BIOS handle extremes.(and then switch back to smart if
// the temperature is okay again)
// DE: Im Folgenden sind die Temperaturpegel samt den jeweils
// zugeordeten Lüfterstufen aufgelistet. (Sobald die Temperatur in
// den Bereich eines niedrigeren bzw. höheren Pegels wechselt, wird
// die Lüfterstufe automatisch angepasst und folglich verringert bzw.
// erhöht sich die Geschwindigkeit des Lüfters.) Diese Liste kann
// weniger oder auch mehr Stufen beinhalten. Sinngemäß sollte die
// erste Stufe die gewünschte Temperatur definieren, bei der sich
// der Lüfter ausschaltet (Lüftergeschwindigkeit 0)
//
// Die Lüftergeschwindigkeit 64 ist ein Extremwert und könnte somit
// eine von IBM nicht unterstützte und sogar schädigende Betriebsart
// darstellen. Die Lüftergeschwindigkeit 128 ist an sich keine eigene
// Geschwindigkeitsstufe, sondern gibt stattdessen die Kontrolle
// des Lüfters an das BIOS (BIOS mode, 0x80) zurück. Der Hintergrund
// dieser Einstellung ist die Möglichkeit, das Programm auszuschließen,
// um Extemfälle wieder vom BIOS steuern zu lassen. (Sobald sich die
// Temperatur wieder im Normbereich befindet, wird erneut der Smart
// Modus aktiviert.)
// T43
// Level=122 0
// Level=131 1
// Level=149 3
// Level=158 6
// Level=167 64
// T60
Level=147 0
Level=152 1
Level=158 3
Level=163 6
Level=167 64

it was a pleasure for menamezero wrote: Thanks again to troubadix for the update of tpfancontrol.
Code: Select all
Level=152 0
Level=154 1
Level=158 4
Level=167 7Code: Select all
[2/21/2007 1:07:02 AM] Levels= 150°F -> 0, 152°F -> 1, 158°F -> 4, 167°F -> 7
It's just an implication of rounding differences calcutating fahrenheit values single precision to celsius and vice versa. For internal the code is still based on celsius. I should fix that in a later version. To set the value of Fan speed is up to the user depending on different types of thinkpads (64 is still experimental, mind the remarks at fancontrol.ini).WPWoodJr wrote: Is this a safety feature? a bug?
is level "64" safe to use?

You are right of course, in correct terms it's not a rounding error but an effect of integer truncation:WPWoodJr wrote: I see how it happens with integer truncation

in tpfc it's written to embedded controller register 0x2f and the assumption is this means "full power" .WPWoodJr wrote:Can you give some insight as to what level 64 does?

running ,yes (look at the logfile), showing no taskbaricon and main window only with this advice:skanky wrote:is this working in vista yet? (as a service)

If you are running WinXP you should have the taskbaricon with a "T" to click on for control. But you're running Vista I guess. There are two ways of controlling. 1st look at c:\tpfancontrol\fancontrol.log (open with texteditor) or 2nd follow this advice:vinceg84 wrote:Isn't there a way I can control the fan speed or monitor the temp of my system with tpfancontrol?
a bit higher for T60 than defaultIconLevels=67 70 75
Level=64 0
Level=67 1
Level=70 3
Level=73 6
Level=75 64


Code: Select all
Level=52 0
Level=55 1
Level=62 4
Level=70 7
Level=75 64And I also see the temp isn't associating only with the CPU's temp. So understoood, thanks all the same!for the fan to come back, temperature must fall down to previous level
Users browsing this forum: No registered users and 3 guests