Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

IBM_ECW : Power management tool for T4x/R5x

Forum for scripts, utilities like TPFanControl, IBM-ECW, 2-finger scrolling, etc.
Message
Author
fk.
Posts: 2
Joined: Sun Mar 31, 2013 6:40 am

Re: IBM_ECW : Power management tool for T4x/R5x

#91 Post by fk. » Sun Mar 31, 2013 7:09 am

First off, @IbmPad: huge thanks to you for this awesome piece of software. :D

Second, C:\Windows\system32 is indeed the correct place for 64-bit drivers on 64-bit systems. SysWow64 is for 32-bit binaries on 64-bit systems (see http://blogs.sepago.de/d/helge/2008/04/ ... ent-part-7).

The batch file didn't work for me either, but because it didn't find the input file. It seems at least on Windows 8 64-bit, running a batch file (by right-clicking and "Run as administrator") launches the batch file with the working directory set to something other than the file's directory. As the path to the driver is relative to the working directory:

Code: Select all

copy /Y IBM_ECWDRV.SYS %DRV%
the copy command fails. The solution was to replace that command with

Code: Select all

copy /Y %~dp0\IBM_ECWDRV.SYS %DRV%
The %~dp0 is a special batch file variable that points to the directory of the current batch file.

Finally, the ReactOS guys have a proper code signing certificate that they use to sign drivers for open source projects (http://www.reactos.org/wiki/Driver_Signing). There are a few caveats though:
  • That offer is only for open source projects. That might or might not be a dealbreaker for you.
  • You'd need to get the interest of one of the ReactOS developer. I don't know them, so I have no idea how difficult that would be.
  • Since each new driver release would have to be signed, you'd probably want to keep changes to the driver binary to a minimum.
And really finally, why does the 64-bit driver need to be installed manually? Are there any specific technical restrictions that prevent that or is that because you can't test it and it has to be test-signed and all that jazz? I'm just curious.

Edit: As an additional data point, I use the software on an X200, Core 2 Duo P8400. Half multiplier, low-FSB, IDA seem to work fine as far as I can tell.

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#92 Post by IbmPad » Sat Apr 20, 2013 7:47 am

Hello, I added a special build that uses the WinRing0 driver which is properly signed. It should make the program work for people using Windows x64 and having troubles loading the driver. I cannot test it so please tell me whether it works or not. Using this driver adds a little overhead but this should not be noticeable. The patching features will not work either.

@fk.: Thanks for your tip, I hadn't heard of this variable before. I updated the batch files. Regarding the driver, I don't want to bother ReactOS developers since it is possible to use other drivers like WinRing0. By the way if I recall correctly I can not install the x64 driver automatically because the CreateService() API fails to install a driver when called from WoW64, perhaps due to the filesystem redirection you mentioned.

I also made a minor update (v. 1.0.3.1). PowerPlay can now be controlled by two methods (see the config window) : 'ATI PDL' is the one that has been used before and stays the preferred one; 'XPDM' allows to control the PowerPlay state on Windows 7 if using an XP driver (sorry Adda, I haven't (yet) found a way to control it with WDDM drivers).
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#93 Post by Adda » Sat Apr 20, 2013 10:28 am

I have tested the new PowerPlay switching method on XP and it works.
On Vista I'm having trouble booting the system when an XP video driver is installed, I just get a black screen, maybe it has something to do with the window compositor, safe mode works.

Oh eh using the XPDM method produces some artifacting, but nothing to worry about I don't think, but sometimes there is a long delay before a PowerPlay mode activated after having set it.

But I'm pretty confident it will work though, will report back if I find anything.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

ximmox
Posts: 5
Joined: Fri Mar 22, 2013 5:12 am
Location: Germany

Re: IBM_ECW : Power management tool for T4x/R5x

#94 Post by ximmox » Sun Apr 21, 2013 5:17 am

Thanks Ibmpad for trying out an alternative regarding the driver problem that I (and probably all other Win8 x64 users) experienced.
Currently I'm in the midst of finishing my bachelor thesis and won't be able to test the new driver until later this week. Still I wanted to give feedback that I am eager to try it once I find some time and you don't think the initial interest vanished. :roll:

update: New WinRing0 Version is running perfectly on Win8 x64 as before, but WITHOUT having Testmode enabled all the time. Thank you, great work!
(Sadly in between I had to install modified Intel GFX drivers on my T400s because the stock Win8-driver from Windows Update lacked many functions and this driver still needs testmode. But that doesn't concern IBM_ECW at all.)

fk.
Posts: 2
Joined: Sun Mar 31, 2013 6:40 am

Re: IBM_ECW : Power management tool for T4x/R5x

#95 Post by fk. » Fri May 03, 2013 3:18 pm

So I finally got around to testing the WinRing0 version and it runs fine (far as I can tell) on Win8 Pro x64, without permanent test mode. Thanks for the alternative version!

Also, the driver batch files work ;) I'm happy now.

evo.ove
Posts: 1
Joined: Tue Jun 25, 2013 3:12 am
Location: bavaria, germany

Re: IBM_ECW : Power management tool for T4x/R5x

#96 Post by evo.ove » Tue Jun 25, 2013 3:29 am

Hello and first of all: thanks for this awesome tool!
It works great for me in all (major) issues.

My config.:
T43; ATI X300
Windows 7 x86
Catalyst Version 10.2

However, the GPU-Control part doesn't work for me. I guess, its not yet supported. :)

Is there a chance for PowerPlay Support?
Can I help in any way, to make this happen?

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#97 Post by IbmPad » Tue Jun 25, 2013 5:06 am

Hello evo.ove,

GPU Frequency control should work with the X300. Are you able to read the clock frequencies ("read-only" mode in GPU section)? If the program shows 0 MHz or totally inconsistent values, the I/O address is probably not correct. You can check it against the Device Manager, in the Resources tab of the adapter (it is often something like 0x2000 or 0x3000).
Regarding PowerPlay, unfortunately I have not been able to find a way to switch modes with WDDM drivers. I don't give up but currently I don't have the time to install WDDM drivers and make tests (I have an ATI FireGL T2 and Windows 7 since a few months and it seems the only driver that works correctly for me is the XP driver for the V3200...) :roll:

I also made a small update on 06/01 (v. 1.0.3.2) which has the following changes :
  • fixes two bugs that could make the program crash or disconnect from the service when launching multiple instances;
  • the service now registers with the group "COM Infrastructure" so that it can start earlier, before many other services (unregister and register again if you want it to be effective);
  • on Windows Vista and later, a new checkbox in the config window ("enable performance counters") makes frequencies and temperatures available to the Windows performance monitor (counters beginning with "IBM_ECW");
  • the program executable is now compiled using the Visual C++ 2010 compiler (the Visual C++ 6.0 compiler was used before).
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#98 Post by Adda » Thu Jun 27, 2013 8:05 am

Yes, the X300 should work with IBM_ECW, as it is the same GPU as the V3200, only difference is that the X300 has 64MB 64bit video memory and a Radeon BIOS, while the V3200 sports 128MB 128Bit memory and a FireGL BIOS.

I'm starting to think that the trick to changing PowerPlay modes in Vista/7 is to be found in Windows it self, and not in the drivers.
The T400/500 series was the first ThinkPads with switchable graphics, and this only worked in Vista/7, on XP you had to reboot.

So the way the videocard is handled have changed, I think you have to look in to that to find the answer.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

ximmox
Posts: 5
Joined: Fri Mar 22, 2013 5:12 am
Location: Germany

Re: IBM_ECW : Power management tool for T4x/R5x

#99 Post by ximmox » Sat Jun 29, 2013 4:45 am

It seems that 1.0.3.2 broke the WinRing0 version, I just updated it to look at the newly introduced functions but sadly IBM_ECW doesn't show any temperatures at all afterwards. :?
My bad that I didn't do a backup first, windows's system restore function doesn't seem to help either. Any chance to get my hands on the "old" version that worked?

Thanks!

update: what still seems to work as before is the control of the CPU states. Nope, they also seem to be jumping around and not stay fixed on the lower values set in IBM_ECW.
But the temperature for all sensors I activated shows 167° C now, regulating the fan speed does obviously not work with these values.
I will test with the regular non-WR0 version, but I guess I will run into the old signing problems again. :(

update2: The default version works as before after signing the driver with DSEO and running it in Win8 Test-Mode.
For now I will use this to control that annoying fan and keep it quiet. ;)

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#100 Post by IbmPad » Sat Jun 29, 2013 9:12 am

I have been able to replicate the problem (it even changed some values in the config file and eventually froze the computer). :roll: There must have been some issue with the new compiler related to structure packing that caused buffer overruns. I changed some types and it seems to work correctly now. Sorry for the inconvenience.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

ximmox
Posts: 5
Joined: Fri Mar 22, 2013 5:12 am
Location: Germany

Re: IBM_ECW : Power management tool for T4x/R5x

#101 Post by ximmox » Mon Jul 01, 2013 4:49 am

Yes, working great again as ever before including the new features. I'll see if I notice something odd in the coming days, but so far so good. Thank you!

And the last thing you should be is sorry, your work is very appreciated! :thumbs-UP:

Orclas
Sophomore Member
Posts: 192
Joined: Mon May 02, 2011 4:12 pm
Location: Stockholm, Sweden

Re: IBM_ECW : Power management tool for T4x/R5x

#102 Post by Orclas » Tue Jul 30, 2013 1:42 pm

In need of a bit of help...

When I purchased a T61 last fall and set it up with Win7 x64 I lost the possibility to use Notebook Hardware Control, a program which was perfect for the undervolting and fan control needs on my T40. The seller (hello Raceboy!) recommended IBM_ECW and I have now finally gotten around to try it out (got fed up with the far too frequently running fan on the machine).

The fan settings seem to be working , but the undervolting part not quite. In short I have set the voltages to the following:

800 (x4) 900mV
1200 (x6) 900mV
1600 (x8) 1000mV
2100 (x10.5) 1100mV

But the program "Current state" numbers are:

800 (x4) 925mV
1200 (x6) 1000mV
1600 (x8) 1062mV
2100 (x10.5) 1137mV

Which seems to suggest the my settings are ignored.

It's also quite confusing that 1200MHz seems to report at two different voltage levels, mostly at 1000 but sometimes at 1137 mV. I think I also saw 1600MHz reported at 1137mV once, but hard to say since it changes so fast. Or is this only a sensor report delay?

Any good advice on how to fix? I am running the Thinkpad Energy Manager - mostly for the battery display - may it be so that it's interfering?

EDIT: I may add that I use the IBM_ECW_WR0 version.
T61 (8895-2FG) T8100/Intel X3100/SXGA+/Intel 320 SSD/4GB/Win7 x64 Pro
T400 (retired, couldn't quite stand it)
T40 (retired and missed)

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#103 Post by IbmPad » Tue Jul 30, 2013 6:05 pm

Hello, the issue probably comes from the fact that both IBM_ECW and Windows' CPU power management driver (INTELPPM.SYS) are controlling the frequency and voltage. One way to prevent IntelPPM from interfering is to patch its code in memory. This has to be done in kernel-mode and thus cannot be done in the WinRing0 version.
There should be no problem with ThinkPad Energy Manager, at least for the undervolting part.

Perhaps you could try the standard version of the program (either by starting Windows in test mode or signing the driver using DSEO) to see whether the issue disappears or if the problem is something else. Also, what CPU do you have ?
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#104 Post by Adda » Wed Jul 31, 2013 1:14 pm

Orclas wrote: The fan settings seem to be working , but the undervolting part not quite. In short I have set the voltages to the following:

800 (x4) 900mV
1200 (x6) 900mV
1600 (x8) 1000mV
2100 (x10.5) 1100mV

But the program "Current state" numbers are:

800 (x4) 925mV
1200 (x6) 1000mV
1600 (x8) 1062mV
2100 (x10.5) 1137mV

Which seems to suggest the my settings are ignored.

EDIT: I may add that I use the IBM_ECW_WR0 version.
IBM_ECW can't set your exact voltage settings, it will round the values to the closest available CPU voltages.
This is a hardware limitation so all applications that can change CPU voltage will behave the same, some might not show you what actually going on though.

This doesn't explain all the problems you have with voltages though, just part of it.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

Orclas
Sophomore Member
Posts: 192
Joined: Mon May 02, 2011 4:12 pm
Location: Stockholm, Sweden

Re: IBM_ECW : Power management tool for T4x/R5x

#105 Post by Orclas » Wed Jul 31, 2013 4:04 pm

IbmPad wrote:Perhaps you could try the standard version of the program (either by starting Windows in test mode or signing the driver using DSEO) to see whether the issue disappears or if the problem is something else. Also, what CPU do you have ?
Set Windows to load in test mode and voila, things started to behave correctly. Well, except for the fact that it doesn't seem to want to use 900mV for stepping 4, dunno if that's due to the rounding of which Adda mentions, or if it's set to not go below that point.

It's a T8100 btw, remaining specs as in my signature, and it seems that the original Intel driver has a much more aggressive reaction to any CPU load. With IBM_ECW working it rarely goes above 1600Mhz, whereas just about any activity with original driver leads the CPU to clock up to max frequency.

Having said that, I'm a tad disappointed at the effect of the undervolting. On my T40 - particularly after changing from Banias to Dothan - a good 20% undervolting lead to long'ish periods of time without the fan running at all (at light surfing), whereas it now frequently goes on and off even at true idle mode (i.e. not a single program running) and constantly on-off if doing anything at all. OK, it is a more potent CPU, but I still would have hoped it would run cooler at low steppings and undervolted.
T61 (8895-2FG) T8100/Intel X3100/SXGA+/Intel 320 SSD/4GB/Win7 x64 Pro
T400 (retired, couldn't quite stand it)
T40 (retired and missed)

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#106 Post by IbmPad » Mon Aug 19, 2013 11:34 am

I am not sure, but I think Core (2) Duos are not as undervoltable as Pentium M's. It is better to use the standard version but if you prefer not using Windows in Test mode the WinRing0 should then work as well, despite the voltages being regularly overwritten by the IntelPPM driver...

Update (v. 1.0.4.0) :
- added experimental basic support for the Core i3, i5 and i7 families (not tested);
- added some safety feature : if the "trigger temperature" reaches a user-defined value, the program can optionally lower the CPU frequency and/or beep;
- added a hotkey to switch off the monitor (in case Fn+F3 doesn't work well);
- updated the help file to match the current version;
- fixed a small error in the driver that could trigger a BSOD when using Windows' Driver Verifier.

I am also beginning to work on a Linux version (so far only a kernel module reading the INI file and controlling frequencies and fan in auto mode).
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#107 Post by Adda » Mon Aug 19, 2013 12:54 pm

Great news IbmPad, I'll throw the new version at my W510 and see what happens.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#108 Post by Adda » Mon Aug 19, 2013 1:11 pm

IBM_ECW is running on my W510, this is a very special moment for me :)

After setting the FSB to 133, IBM_ECW seems to read the right clock frequencies, for good reasons it can't read core voltage.
Fan control works, but the only temperature IBM_ECW can read, is the CPU core temp, and it seems to jump around a bit now and then, but is otherwise accurate.
It's the strangest thing, it is as if the CPU temp is moved to the APS temp, and then I get a 86C reading on for the CPU.

I get stuttering when IBM_ECW is running, when moving windows around, they periodically pause for a moment and then jumps to the pointer, following a rythmic pattern.

Display brightness sometimes changes spontaneously.

BUT it does control CPU clocks, turbo boost and all, at least if core parking is disabled, I don't know how it would behave is say, three cores are parked and the last want to run at 2.8GHz.
But all four core at the same time correctly max out at 1733.

Edit: correction, eh I get stuttering when I move the IBM_ECW windows around, no where else it seems, I can live with that.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

Thrakath
Freshman Member
Posts: 90
Joined: Thu Dec 28, 2006 12:52 pm
Location: Germany

Re: IBM_ECW : Power management tool for T4x/R5x

#109 Post by Thrakath » Wed Aug 21, 2013 8:02 am

Great work, except the fan controller (my T61 seems to be bitchy there), everything works perfect!

For me it would be great, if switching of profiles would not only be possible with Hotkeys but also upon disconnection of the power supply. But i do not know if this is very complicated to catch.

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#110 Post by IbmPad » Wed Aug 21, 2013 9:34 am

@Trakath: did you use the program on this T61 before? If so, are you using the standard version or the WinRing0 version and what does the fan does exactly? BTW, you can (if it's not broken; haven't tested it for a long time) set profiles that are triggered when plugging in and/or out the power supply by putting 'AC' or 'DC' instead of a key combination.

@Adda: Ok so the CPU-related functions seem to work :) but the EC read/writes do not work properly at all. :roll: I will try to find information on ThinkWiki or elsewhere. The stuttering you get is due to the fact the program uses the same thread for the UI and for the I/O (very bad choice, I should change that). This is accentuated since EC readings don't work well. You shouldn't get stutterings anymore if you set it up as a service.
I'm starting to think that the trick to changing PowerPlay modes in Vista/7 is to be found in Windows it self
You were so right! Yesterday I installed the 2008 version of MSDN documentation to replace my 1998 edition that lacked many many things (Windows 2000 was at beta-stage) and stumbled upun a group of functions for Power Management and just integrated them in IBM_ECW to control PowerPlay with WDDM drivers (v. 1.0.4.1). Just select 'Manual (PowerAPI)' as the PowerPlay control mode. It works in my case but I know you have three PowerPlay states so it may require modifications.
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#111 Post by Adda » Wed Aug 21, 2013 9:57 am

Wow I'll get out the T43p and start testing, happy days :D

Thank you so much for your continued dedication IbmPad.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#112 Post by Adda » Wed Aug 21, 2013 10:19 am

Mahahahaha, it WORKS, PowerPlay switching works on Windows Vista 32bit, so I guess it's time to leave XP behind.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#113 Post by Adda » Wed Aug 21, 2013 10:44 am

Have anyone with T60's or T400/500 tried the PowerPlay and clock control features in BIM_ECW? what are your findings?

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

Orclas
Sophomore Member
Posts: 192
Joined: Mon May 02, 2011 4:12 pm
Location: Stockholm, Sweden

Re: IBM_ECW : Power management tool for T4x/R5x

#114 Post by Orclas » Wed Aug 21, 2013 11:23 am

Adda wrote:Mahahahaha, it WORKS, PowerPlay switching works on Windows Vista 32bit, so I guess it's time to leave XP behind.
Haha, those moments of g'dang-it-works are great! :thumbs-UP:

But, but... you aren't going to replace XP with Vista are you???
T61 (8895-2FG) T8100/Intel X3100/SXGA+/Intel 320 SSD/4GB/Win7 x64 Pro
T400 (retired, couldn't quite stand it)
T40 (retired and missed)

Thrakath
Freshman Member
Posts: 90
Joined: Thu Dec 28, 2006 12:52 pm
Location: Germany

Re: IBM_ECW : Power management tool for T4x/R5x

#115 Post by Thrakath » Wed Aug 21, 2013 11:26 am

AC DC works great thank you...Never changed something with Winring0 i think!

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#116 Post by Adda » Wed Aug 21, 2013 11:54 am

Orclas wrote: Haha, those moments of g'dang-it-works are great! :thumbs-UP:

But, but... you aren't going to replace XP with Vista are you???
I'm testing to find out as I write this, I'm testing different driver to find out if I can make Vista as fast as XP with 3D graphics.

I'm using this test:
http://forum.thinkpads.com/viewtopic.php?f=12&t=90221

So far my record is 49 points in XP, in VIsta I have gotten up to 42 so far ;(
This is with the latest Legacy driver from AMD, mobility modded, I'm just about to try the driver from Lenovo.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#117 Post by Adda » Wed Aug 21, 2013 12:04 pm

The result is 43... still a long way to go, so I don't think Vista or 7 will be able to keep up, unless some miraculous driver update appears.

Edit: So I went back to XP and managed to get a score of 50, I guess XP stays till April next year.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

IbmPad
Freshman Member
Posts: 117
Joined: Tue Jun 05, 2012 4:30 pm
Location: France
Contact:

Re: IBM_ECW : Power management tool for T4x/R5x

#118 Post by IbmPad » Mon Sep 02, 2013 3:51 pm

I decided to compile a 64-bits version of the tool with the following changes:
- the program being a true x64 executable, the x64 driver can now be automatically installed/updated, provided that Windows is in test mode (the driver has been signed with a test certificate before being embedded in the executable);
- an option has been added in the x64 build that optionally removes the 'Test mode' message on the desktop (it just removes the message; Test mode is not disabled), the file 'SymSrv.dll' needs to be copied in System32 for this feature to (possibly) work;
- the wireless network adapter can be enabled/disabled by a hotkey;
- the program reads the battery current and voltage;
- experimental reading of temperature sensors on newer models (see below);
- fixed a bug in the driver updating process (the driver was not restarted after updating the .SYS file).
Fan control works, but the only temperature IBM_ECW can read, is the CPU core temp
After seeking information on the Internet, it seems there is a new method for reading temperature sensors on newer models. I was not able to find information about it except that TPFanControl seems to support it. I downloaded TPFC to try it on my T42 but it obviously does not support the new method so I cannot do tests. TPFC seems to issue 0x20 to the port 0x1610 and then read ports 0x1610-0x161F in a row (the same method used to read the battery info). Since I was not able to find information elsewhere I tried to blindly replicate the method but I have really no idea whether it is done properly or not. If you want to test it you can add the line "NewSensors=1" in the "[EC]" section of the config file.

The files (32 and 64-bit executables) can be downloaded here (I did not replace the main ZIP since many changes are untested).
Cur. : T61p (Win7 x64, C2D T9300 2.5GHz @ 950mV, 4GB RAM, QuadroFX 570m @ 900mV SXGA+ 15")
Prev. : T42p (Win 7 and XP, PM755 2.0GHz @ 700–1148mV, 1.5GB RAM, FireGL T2); T30 (Win 2000, P4M 1.8GHz, 256MB RAM, Radeon 7500); 390E (Win 3.11, Celeron 300MHz, 160MB RAM)
Please excuse my bad English.

Ollie
Posts: 6
Joined: Tue Sep 03, 2013 7:05 am
Location: Beijing, China

Re: IBM_ECW : Power management tool for T4x/R5x

#119 Post by Ollie » Tue Sep 03, 2013 7:31 am

Hi, IbmPad,

Thanks for the great work!

A few things (I've just registered an account for them):
1. The displaying CPU temperature once in a while drops to 20, and then instantly back to its real temperature.
2. Ticking "Fahrenheit" on the configuration windows freezes the programme, I don't use it, but...
3. Is there a possibility to lower the first level of the fan speed to, say, 2000 RPM?
4. Is there a possibility to launch the programme without using Admin rights, after the installation?

I am using Win7 32bit on a T60/T61 frankenpad, and your latest test version.

Adda
Senior Member
Senior Member
Posts: 685
Joined: Fri Dec 04, 2009 1:49 pm
Location: Nørresundby, Denmark

Re: IBM_ECW : Power management tool for T4x/R5x

#120 Post by Adda » Tue Sep 03, 2013 8:20 am

I'm running the new x64 version of IBM_ECW on my W510 now, everything seems fine.
Temp readings are identical to those of TPFanControl, at least the two that matter CPU/GPU.

I have looked in to CPU frequency scaling update speeds (update every in IBM_ECW) for CPU's prior to Core i series, it's best to leave it at 200, for Core i series, set it to 133.

Seems HDD AAM/APM settings work with my WD3200BEKT.

Fan control works as before.

I'm having no issues??

Oh well, it's ready for running on my W510, I'll see how it goes!

I'm running Win7 x64 in test mode, have done so for a long time to increase the refresh rate of my mouse, I have removed the watermark by other means, so I can't test that feature.

Edit: I was a bit quick, it seems CPU frequency control doesn't work in the x64 version.

Edit2: I think IBM_ECW is fighting some other frequency scaling driver, it switches frequencies fine, but if I set it to run a Maximum speed, it'll switch back and forth between max and minimum speed, and it'll ignore Max CPU speed ID settings.

Edit3: Max CPU ID does work, I was getting interference from Win7's very buggy hotkey functionality, it seems to remember hotkeys that have been deleted, it's fiexed now.
Last edited by Adda on Tue Sep 03, 2013 8:52 am, edited 2 times in total.

ThinkPad A30
Pentium III-M 933MHz
Crucial 2x256MB 133MHz CL2
Mobility Radeon 16MB
15" UXGA FlexView
Zheino Classic A 32GB
Samsung SpinPoint M5S 160GB
NEC DVD+-RW ND-6650A
Broadcom MiniPCI BCM43222 802.11n Dual Band
AKE BC168 USB 2.0
26P8287 203 "Malaysia"
46L4697
02K6898
02K6753

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 39 guests