Thinkpad Fan Noise Problem: Light at the End of the Tunnel

Work/comment area for scripts and utilities like TP Fan, 2-finger scrolling, etc
Message
Author
gunston
ThinkPadder
ThinkPadder
Posts: 1306
Joined: Thu Sep 01, 2005 8:00 am
Location: Brisbane, QLD AUST
Contact:

#511 Post by gunston » Fri Jan 12, 2007 9:15 pm

no more updates?
1. T43 2668-B97 14" SXGA+ 1.5G RAM 9cells
2. X60s 1703-CA3 powerful

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#512 Post by troubadix » Mon Jan 15, 2007 12:37 pm

any probs?

gunston
ThinkPadder
ThinkPadder
Posts: 1306
Joined: Thu Sep 01, 2005 8:00 am
Location: Brisbane, QLD AUST
Contact:

#513 Post by gunston » Tue Jan 16, 2007 8:41 am

troubadix wrote:any probs?
the prob is :
no continuous improvement/ enhancement for the FanControl. :idea:
1. T43 2668-B97 14" SXGA+ 1.5G RAM 9cells
2. X60s 1703-CA3 powerful

sveintore
Freshman Member
Posts: 73
Joined: Sun Jan 21, 2007 1:52 pm
Location: Molde, Norway
Contact:

#514 Post by sveintore » Thu Feb 01, 2007 5:25 pm

troubadix wrote:any probs?
The program window won't show in Vista (but the service runs and works great, according to the log).

But I'd like to watch the temps live ;)

vital-analitix
Sophomore Member
Posts: 134
Joined: Tue May 09, 2006 5:27 am
Location: New Zealand

#515 Post by vital-analitix » Fri Feb 02, 2007 10:59 am

Has anyone tried using this on a Z61m? Want to reduce the temperature on my machine by letting the fan run faster after "cooking" my A31 (had replaced the CPU with a 2.6 Ghz P4m....running the temperature up to 75 C and then the CPU would start to throttle down. unfortunately other components did over time not like this temp and started to give intermittend problems before dying completely)

Thanks, Marinus
Z61m 94515CM with 2 Gb memory, T61p 6459A12 Windows 7 Prof 4 Gb memory, daughter 1: Lenovo N200, son: R61, retired:A31, 2652-M5M, A31, 2652-XKX, daugther 2: retired R60

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#516 Post by troubadix » Fri Feb 02, 2007 1:17 pm

Hi!
sveintore wrote: The program window won't show in Vista (but the service runs and works great, according to the log). But I'd like to watch the temps live ;)
Unfortunately :D I'm not running Vista, but to have a quick solution
that may work for running Vista change settings (fancontrol.ini):

Code: Select all

StartMinimized=0
MinimizeToSysTray=0
program should come up with window open and is minimized to taskbar showing max. temperature. Only minimize, don't close it , program is stopped! In this case you have to doubleclick C:\tpfancontrol\restart.bat

Ciao, troubadix

sveintore
Freshman Member
Posts: 73
Joined: Sun Jan 21, 2007 1:52 pm
Location: Molde, Norway
Contact:

#517 Post by sveintore » Fri Feb 02, 2007 3:11 pm

troubadix wrote:Hi!
sveintore wrote: The program window won't show in Vista (but the service runs and works great, according to the log). But I'd like to watch the temps live ;)
Unfortunately :D I'm not running Vista, but to have a quick solution
that may work for running Vista change settings (fancontrol.ini):

Code: Select all

StartMinimized=0
MinimizeToSysTray=0
program should come up with window open and is minimized to taskbar showing max. temperature. Only minimize, don't close it , program is stopped! In this case you have to doubleclick C:\tpfancontrol\restart.bat

Ciao, troubadix
This is the only thing that shows:

[Window Title]
Interactive services dialog detection

[Main Instruction]
A program can't display a message on your desktop

[Content]
The program may need information or permission to complete a task.
Why does this happen?

[V] Show program details [Show me the message] [Remind me in a few minutes]

[Expanded Information]
Program(s) or devices(s) requesting attention.

Message title: Thinkpad T60 Fan Control V0.19svc
Program path: c:\tpfancontrol\fancontrol_service.exe
Received: ‎2. ‎februar ‎2007, ‏‎21:10:56

This problem happens because of partial incompatibility with Windows Vista.
Please contact the program or device manufacturer(s) for more information.

Edit: "Show me the message" only gives me a blank screen..

vital-analitix
Sophomore Member
Posts: 134
Joined: Tue May 09, 2006 5:27 am
Location: New Zealand

#518 Post by vital-analitix » Sat Feb 03, 2007 1:50 pm

sveintore wrote:
troubadix wrote:any probs?
The program window won't show in Vista (but the service runs and works great, according to the log).

But I'd like to watch the temps live ;)
I don't have Vista ( and am trying to stay away from it as long as possible ) but is there not something with it that if there is not recognized hardware / software that it will eventually be turned off by the OS?

In this light I would be very wary about homegrown software......

Marinus
Z61m 94515CM with 2 Gb memory, T61p 6459A12 Windows 7 Prof 4 Gb memory, daughter 1: Lenovo N200, son: R61, retired:A31, 2652-M5M, A31, 2652-XKX, daugther 2: retired R60

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#519 Post by troubadix » Sat Feb 03, 2007 7:05 pm

Hi!
sveintore wrote:This is the only thing that shows:

[Window Title]
Interactive services dialog detection

[Main Instruction]
A program can't display a message on your desktop

[Content]
The program may need information or permission to complete a task.
Why does this happen?

[V] Show program details [Show me the message] [Remind me in a few minutes]

[Expanded Information]
Program(s) or devices(s) requesting attention.

Message title: Thinkpad T60 Fan Control V0.19svc
Program path: c:\tpfancontrol\fancontrol_service.exe
Received: ‎2. ‎februar ‎2007, ‏‎21:10:56

This problem happens because of partial incompatibility with Windows Vista.
Please contact the program or device manufacturer(s) for more information.

Edit: "Show me the message" only gives me a blank screen..
you must "allow service to interact with desktop" (checkbox on properties of service) as shown in:

Session 0 Changes and Vista Compatibility for Services running as Interactive with Desktop
http://channel9.msdn.com/Showpost.aspx?postid=263925

Ciao, troubadix

sveintore
Freshman Member
Posts: 73
Joined: Sun Jan 21, 2007 1:52 pm
Location: Molde, Norway
Contact:

#520 Post by sveintore » Sun Feb 04, 2007 3:19 am

troubadix wrote:Hi!
you must "allow service to interact with desktop" (checkbox on properties of service) as shown in:

Session 0 Changes and Vista Compatibility for Services running as Interactive with Desktop
http://channel9.msdn.com/Showpost.aspx?postid=263925

Ciao, troubadix
Already checked..

But I watched the video and I get it now, removed the minimize to system tray and start minimized, and I can watch the window at least :)

(but still, this is no good solution)

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#521 Post by troubadix » Sun Feb 04, 2007 5:26 pm

sveintore wrote: (but still, this is no good solution)
:(

minding the lost systray icon I created a beta version with an embedded manifest for Vista:
http://msdn2.microsoft.com/en-us/librar ... sta_topic8

http://staff-www.uni-marburg.de/~schmit ... 20beta.zip

Unzip to any place and keep your usual version of tpfc running. You can test the betaversion by double clicking betatest.bat (of courses also with the minimize to system tray and start minimized option, if you change settings and restart) and return to your usual version by double clicking testend.bat

may be that helps :?: (I'm not running Vista)

Ciao, troubadix

sveintore
Freshman Member
Posts: 73
Joined: Sun Jan 21, 2007 1:52 pm
Location: Molde, Norway
Contact:

#522 Post by sveintore » Mon Feb 05, 2007 3:44 am

troubadix wrote:
sveintore wrote: (but still, this is no good solution)
:(

minding the lost systray icon I created a beta version with an embedded manifest for Vista:
http://msdn2.microsoft.com/en-us/librar ... sta_topic8

http://staff-www.uni-marburg.de/~schmit ... 20beta.zip

may be that helps :?: (I'm not running Vista)

Ciao, troubadix
Sorry to report that this gives the same result, the interactive services-window.

I'm no programmer so sorry if I say anything dumb.. ;)

But isn't it possible to split the two programs?
One service and one frontend that collects data from the service and presents them in the systray. Would that work around the problem?

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#523 Post by troubadix » Mon Feb 05, 2007 5:18 pm

..taking all of those and further, now yet unknown difficulties into account, i guess it's the best way to operate the original Shimodax 18b version as local vista application to see the program work. And if you like to switch you can even use the same .ini-file, stop the service and start the local prog by executing batch files from desktop like:

Code: Select all

svc2exe.bat:

net stop TPFanControl
c:\tpfancontrol\fancontrol.exe
stop exe by closing window

Code: Select all

svc.bat:

net start TPFanControl
copy fancontrol.exe, svc2exe.bat and svc.bat to c:\tpfancontrol\ and make a link for the .bat-files to desktop.

As I mentioned above, tested only for XP :roll:

Ciao, troubadix

sveintore
Freshman Member
Posts: 73
Joined: Sun Jan 21, 2007 1:52 pm
Location: Molde, Norway
Contact:

#524 Post by sveintore » Tue Feb 06, 2007 2:22 am

This works much better :-)
I'm the only user, I'm always logged on, and when program not running, the bios takes over control of the fans, right?

Thank you very much :)

Edit: just to make things right about vista..
When running the bat-files, you have to right-click and select "run as administrator" because of the vista-security :)

But for now I just put a shortcut to the V0.18 in my startup folder and finally I can see my temperatures.

skanky
Senior Member
Senior Member
Posts: 517
Joined: Fri Oct 15, 2004 11:25 am
Location: London, UK

#525 Post by skanky » Tue Feb 06, 2007 2:36 am

do you still get the ACPIEC errors in the event log in vista as you do in XP?

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#526 Post by troubadix » Tue Feb 06, 2007 5:28 am

sveintore wrote:...when program not running, the bios takes over control of the fans, right?
that's right.

Just another hint from MS:
Known Issues of UAC and Resolutions:

Problem:

Applications started with a full administrator access token do not show up on the taskbar

Resolution:
Start system tray (systray.exe) from an elevated command prompt.
Use the Alt tab to switch between active programs and select one of the elevated programs.
troubadix

namezero
Posts: 42
Joined: Mon Nov 08, 2004 6:43 pm
Location: San Jose, CA

How can I turn off logging for tpfancontrol?

#527 Post by namezero » Wed Feb 14, 2007 3:43 am

How can I turn off logging of tpfancontrol?

For latest version 0.18 it keeps writing to fancontrol.log whenever there's a change in fan speed. Since I'm using a rather slow/old laptop, fan speed varies a lot. That might just prevent hard drive from stopping at all.

Or does it write to fancontrol.log only when tpfancontrol shuts down peacefully?

I'm running tpfancontrol on T23 and with Windows XP.

Thank you.

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

Re: How can I turn off logging for tpfancontrol?

#528 Post by troubadix » Wed Feb 14, 2007 2:24 pm

namezero wrote:How can I turn off logging of tpfancontrol?

For latest version 0.18 it keeps writing to fancontrol.log whenever there's a change in fan speed. Since I'm using a rather slow/old laptop, fan speed varies a lot. That might just prevent hard drive from stopping at all.

Or does it write to fancontrol.log only when tpfancontrol shuts down peacefully?

I'm running tpfancontrol on T23 and with Windows XP.
Sorry, there is no builtin option to switch off logging yet, and it's logging everytime fan status changes. But I use these settings on my T23 with WinXP:

IconLevels=65 85 95
Level=55 0
Level=65 1
Level=85 7
Level=95 64

switching is not so often and works well. Pentium IIIm is supposed to switch off, when it's getting over 100°C. That never happened to my T23.

troubadix

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#529 Post by troubadix » Wed Feb 14, 2007 2:32 pm

Just a Fahrenheit version of the tpfcontrol_service:

http://staff-www.uni-marburg.de/~schmit ... vc_far.zip

(all temps in °F, new design of main window :D )

Ciao, troubadix

namezero
Posts: 42
Joined: Mon Nov 08, 2004 6:43 pm
Location: San Jose, CA

Re: How can I turn off logging for tpfancontrol?

#530 Post by namezero » Wed Feb 14, 2007 3:21 pm

troubadix wrote:Sorry, there is no builtin option to switch off logging yet, and it's logging everytime fan status changes. But I use these settings on my T23 with WinXP:

IconLevels=65 85 95
Level=55 0
Level=65 1
Level=85 7
Level=95 64

switching is not so often and works well. Pentium IIIm is supposed to switch off, when it's getting over 100°C. That never happened to my T23.

troubadix
Oh well with the flood of ACPIEC warning message in System Log, I don't think the hard drive will ever get a chance to idle anyway. Unless there's option to turn off the logging and ACPIEC warning doesn't show up, the hard drive will contine to spin.

Thanks for your reply.

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

Re: How can I turn off logging for tpfancontrol?

#531 Post by troubadix » Wed Feb 14, 2007 3:47 pm

namezero wrote:Oh well with the flood of ACPIEC warning message in System Log, I don't think the hard drive will ever get a chance to idle anyway. Unless there's option to turn off the logging and ACPIEC warning doesn't show up, the hard drive will contine to spin.
There is a workaround to stop ACPIEC warning messages, just download the file from my signature and proceed as in readme.txt:

Code: Select all

4. >>>>>>>>>>>>>>> optional:


  a) to stop acpi-embedded-controler from spamming system.log
     switch to acpi-embedded-controler with NoLog-Option
     "acpiecnl.sys" instead of original "acpiec.sys"

       double click on:  instecnl.bat

       double click on:  acpiecLogOff.reg  

       confirm the registry change and reboot.

     Attention: now no error is reported from acpiec!


  b) to switch back to original embedded-controler "acpiec.sys"

       double click on:  acpiecLogOn.reg   

       confirm the registry change and reboot.

     c:\windows\system32\drivers\acpiecnl.sys  remains, 
     don't mind or delete by hand after switching back (4b)
imo tpfcontrol logging is not the reason for keeping HDD from spining down.

troubadix

namezero
Posts: 42
Joined: Mon Nov 08, 2004 6:43 pm
Location: San Jose, CA

#532 Post by namezero » Wed Feb 14, 2007 4:03 pm

Thanks troubadix.

I followed the guide on that ACPIEC help page and changed to acpiecnolog.sys for now. All ACPIEC warnings (along with errors) are gone for now. Not a perfect solution but I guess I can have a useful system log again.

Will see if that solves the hard drive idle problem. If not and if I'm very bored, maybe I'll take a look at tpfancontrol source. Oh wait that looks like C++ code... blah haven't touched real programming for years.

Oh I think I've just found out segment for logging to the text file. Now being a complete idiot to coding, how do I re-compile that thing after I modified the codes? Anyone knows which compiler was used to compile tpfancontrol?

/edit: Never mind. Someone told me it was done in Microsoft Visual Studio 6.0 .

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#533 Post by troubadix » Wed Feb 14, 2007 4:55 pm

namezero wrote: I followed the guide on that ACPIEC help page and changed to acpiecnolog.sys for now.
For any unknown reason that didn't do the job on my T23 and A30. I had to rename it to a 8 letter name "acpiecnl.sys" :?: . That worked.

Yes, it's MS Visual Studio 6.0 . I did the changes with the express edition (free of charge :D ).

troubadix

namezero
Posts: 42
Joined: Mon Nov 08, 2004 6:43 pm
Location: San Jose, CA

#534 Post by namezero » Wed Feb 14, 2007 5:14 pm

troubadix wrote:Yes, it's MS Visual Studio 6.0 . I did the changes with the express edition (free of charge :D ).

troubadix
Did the change... what change have you done? You've a version that's free of logging? Anywhere I can download it? (drooling)

/start looking at Visual Studio Express Edition

Does Visual C++ 2005 Express produce compatible code for Windows 2000/XP using the same 6.0 source?

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#535 Post by troubadix » Wed Feb 14, 2007 5:38 pm

namezero wrote: You've a version that's free of logging? Anywhere I can download it?

Does Visual C++ 2005 Express produce compatible code for Windows 2000/XP using the same 6.0 source?
http://staff-www.uni-marburg.de/~schmit ... rnolog.zip

Just did it real time as you requested, so it's a fahrenheit edition :D

Express edition means more coding by hand, no resource editor, but it produces Win32-Code (Win2000, XP, Vista) using also VS 6.0 source :D

troubadix

edit (midnite in old Europe,bye :( ):
namezero wrote: Did the change... what change have you done?
in misc.cpp I made three lines to comments:

Code: Select all

	FILE *flog= fopen("fancontrol.log", "ab");
	// if (flog) {
	//	fwrite(line, strlen(line), 1, flog); 
	//	fclose(flog);
	// }

billyrom
Posts: 16
Joined: Fri Jun 30, 2006 1:45 am
Location: EU

#536 Post by billyrom » Thu Feb 15, 2007 2:34 am

Any chance of celsius version without logging?

Thanks :-)

billyrom

namezero
Posts: 42
Joined: Mon Nov 08, 2004 6:43 pm
Location: San Jose, CA

#537 Post by namezero » Thu Feb 15, 2007 3:44 am

billyrom wrote:Any chance of celsius version without logging?

Thanks :-)

billyrom
I'm trying to make one, with option to turn it on/off in fancontrol.ini . Don't give high hopes though as I don't even know how to code object oriented programming.

/edit
ARRRRR I don't know how to convert the source on offical tpfancontrol from standalone application to a service. So far using the offical source I was able to create a version that allows turning on/off logging through options in fancontrol.ini . Any one knows how to convert it into a service?

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#538 Post by troubadix » Thu Feb 15, 2007 4:37 am

namezero wrote: Any one knows how to convert it into a service?
emaijala did it :D :
http://forum.thinkpads.com/viewtopic.ph ... ht=#126440

http://www.kolumbus.fi/emaijala/fancontrol_service.zip

troubadix

edit: just anotherway is via Srvany.exe (Windows NT 4.0 Resource Kits) as I have done in (different tool):

http://staff-www.uni-marburg.de/~schmit ... rolsvc.zip

google for srvany.doc

troubadix
Junior Member
Junior Member
Posts: 281
Joined: Wed Sep 14, 2005 1:33 pm
Location: Marburg, Germany
Contact:

#539 Post by troubadix » Thu Feb 15, 2007 6:12 am

billyrom wrote:Any chance of celsius version without logging?
fancontrol.ini:
Log2File=1 enables, Log2File=0 disables writing to fancontrol.log

http://staff-www.uni-marburg.de/~schmit ... _nolog.zip

namezero
Posts: 42
Joined: Mon Nov 08, 2004 6:43 pm
Location: San Jose, CA

#540 Post by namezero » Thu Feb 15, 2007 6:38 am

troubadix wrote:
billyrom wrote:Any chance of celsius version without logging?
fancontrol.ini:
Log2File=1 enables, Log2File=0 disables writing to fancontrol.log

http://staff-www.uni-marburg.de/~schmit ... _nolog.zip
You rock!

Maybe that should be posted as v0.19 of offical tpfancontrol on sourceforge? Or it's already on sourceforge CVS?

Anyway thanks for the update!

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad Utility Work Area”

Who is online

Users browsing this forum: No registered users and 0 guests