Author Topic: Using SpeedFan to automatically control the Z800 CPU fans  (Read 23001 times)

Andy Brown

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
    • View Profile
    • Andy's Workshop
Using SpeedFan to automatically control the Z800 CPU fans
« on: March 26, 2016, 01:51:37 am »
A few people have mentioned, both here in the forum and in the comments accompanying the Z800 hack article, that they're having trouble getting their CPU fans to ramp up from the minimum speed and are therefore seeing some alarming core temperatures when the CPU is under load.

The key to fixing this is the SpeedFan utility but setting it up for use with the Z800 is not at all obvious.

Here's a step by step guide to how to do it. This guide is based on my dual X5680 board, you can easily adapt this to a single socket or quad-core configuration.



Launch SpeedFan and select the Configure button. You'll get a row of tabs.

Select the Fan Control tab and create profiles that look like this:



To create a profile, click the Add button and give it a name. I used 'CPU0' and 'CPU1'. Check the Controlled speed box and select Pwm1 from ADT7490.... Make sure you select MAX of speeds because we're going to add a group of sensors to monitor (the other option will add all the temperatures together with the net effect of maxing your fan all the time). In the Temperatures box click Add and repeatedly add each core for CPU0.

If you have two CPUs installed then repeat the process for CPU1. All the information you need should be in this screenshot:



Now go to the Advanced tab and select the ADT7490... option from the Chip dropdown. The important entries are PWM 1 mode and PWM 2 mode. These will be set to Auto on PECI0 and Auto on PECI1. Change them to Manually controlled as shown here:



Make sure you check Remember it for both properties if you want your settings to survive a reboot.

Finally, you'll probably want to configure SpeedFan to run on startup and startup minimized. You can find the minimize option in the Options tab and there's a guide here that shows how to schedule a program to start automatically. Some people recommend using the Delay task for option to add a 15 second delay after startup to resolve issues with other auto-start programs.

I have tested that these settings will automatically ramp up the CPU fans when the cores get hot and that they survive a reboot.
It's worse than that, it's physics Jim!

mbppg

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #1 on: March 26, 2016, 06:10:07 am »
Great write uo Andy, This will help people a lot to use SpeedFan with the Z800.

Andy Brown

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
    • View Profile
    • Andy's Workshop
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #2 on: March 28, 2016, 01:27:53 am »
Anyone who's not already selected a heatsink/fan for their Z800 might like to take a look at this intel document. The tables from section 5.1 are particularly relevant:

It's worse than that, it's physics Jim!

septimus66

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #3 on: March 31, 2016, 03:48:16 pm »
Andy,

Following your guide, I can get SpeedFan to control both CPU fans, and the RAM fan (from the 6-pin connector at the top right of the board).
However, I cannot get SpeedFan to control the system or chassis fans (labelled front fans and rear fans on the board). SpeedFan does not
read their RPMs either.

I can get RPM readings for those fans from other other software (e.g., AIDA, HWMonitor).

Any suggestions?

Andy Brown

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
    • View Profile
    • Andy's Workshop
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #4 on: April 01, 2016, 01:16:21 am »
I don't know about the chassis headers because my case fans are connected through Nanoxia's own external controller card to a molex  connector on the PSU.

Are there any clues in the programs that can see the fans as to which smbus chip they are connected to?
It's worse than that, it's physics Jim!

septimus66

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #5 on: April 01, 2016, 10:52:03 am »
Andy,

SpeedFan reports PWM 1 and 2 from FDC37N972 on ISA at $4E.

I got some information from HP -- the two rear fans (6-pin header) and the two front fans (2x 4pin headers) are not interactively controllable.
Their base RPM is set in the BIOS as 'Idle Fan Speed'.

The 6-pin header pinout is in the service manual for the Z800 (and has been posted in this forum). The 4-pin header pinout is gnd, 12V, tach, CMD.
CMD is some kind of fan detect (locked rotor sensor?). The fan is a Delta, but I haven't found the manual for it on their website.

In the original Z800 case, the speed of these 4 fans looks to be controlled by the front cable assembly thermistor, apparently connected to pins 11&12 of the P5 front panel header. I can't take credit for finding this information -- you actually did Andy, back in late 2014, posting in the HP support forums.

Idea 1 -- wire up a potentiometer across the P5 pins and control the fans that way. The reported temperature will be wrong of course.
Idea 2 -- wire up a remote thermistor (say, placed in the exhaust air flow) to ramp up speeds when needed.

Given the odd pinout of the front header, I don't know if a standard 3-pin fan could be controlled this way (would require voltage control), or if a normal 4-pin PWM fan would work either. Details on the OEM HP fan (Delta QUR0912VH) would be useful to determine this.
 

mbppg

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #6 on: April 07, 2016, 05:39:15 pm »
Andy thanks for the great write-up. I was able to get my fans working as described in the write but they seem to be either full on or off but nothing in-between. The percentages on the home page jump from 50% to 100% but nothing in-between as soon as either CPU hit 50C. I have tried the same curve you had in the write and a few others but always the same result. Fans are on or off. I can manually select the speed if I deselect the automatic fan control and then set them at say 70% an the fans work. Is this a faulty motherboard fan controller?

mbppg

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #7 on: April 12, 2016, 08:59:43 am »
So after digging into and doing some research I found that windows 10 pro was the problem. I had several BSOD, Watchdog timer errors (CPU related) and a few just simple reboots out of nowhere. I thought is was the processors overheating but I managed to catch a log file from HWmonitor in which the CPU cores where at 69 or lower when it rebooted. I have since gone back to windows 8.1 and no I have no issues, speedfan is controlling the the CPU fan correctly and no more BSOD or random reboots.

So Windows 10 is still very buggy for some systems and it seems like Xeon CPU's did not get a lot of love from Microsoft with windows 10 or they have not gotten around to fixing it yet...

Andy Brown

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
    • View Profile
    • Andy's Workshop
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #8 on: April 12, 2016, 02:13:54 pm »
That's strange. I wonder if it's one of your peripheral drivers causing the resets. There's often a clue in the humble event viewer when you get a bsod but it's too late now you've reverted back. I'm using Windows 10 with complete stability and Windows 8.1 before that.

The only problem I had was with Samsung's fancy SSD drivers that I had to remove but that was back on 8.1. I also have occasional issues with the crappy AMD drivers for my 7970 taking ages to boot and sometimes Windows has to step in and recover the graphics driver but it's rare and doesn't cause a crash. I think upgrade day for my 7970 may come soon. It can't play high-bitrate (16Mb+) 1080p video without stuttering when even the built-in graphics on the wife's i5 can handle it.
It's worse than that, it's physics Jim!

mbppg

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #9 on: April 13, 2016, 09:28:53 pm »
Actually I found that it was my add-on SATA III controller. I had added a 6 gig PCIe four port card (2 SATA and 2 eSATA) because I wanted my SSD boot drive to be fast and at least one eSATA for my drive dock. The card even had a Marvell chipset.

But after 4 hours of playing around having issues getting windows 10 to reload, I took the card out and just used the motherboard SATA connectors and moved my five 3 TB drives over the SAS ports and bam, been working like a champ ever since. Reloaded right away, no more issues with slow choppy movements or disk reads etc. Overall running much better and more like I expect Windows to run.

The one thing I did not do was make a driver disk with the chipset drivers used during OS install but it worked fine with windows 7 and 8.1 so I thought it was not needed. Since it is working great as is, the card is not going back in. Got to say even with the SATA II it still boot pretty fast is is overall faster than windows 8.1 with the same setup. WOOHOO!.

Picco

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #10 on: September 29, 2016, 04:44:45 am »
So after digging into and doing some research I found that windows 10 pro was the problem. I had several BSOD, Watchdog timer errors (CPU related) and a few just simple reboots out of nowhere. I thought is was the processors overheating but I managed to catch a log file from HWmonitor in which the CPU cores where at 69 or lower when it rebooted. I have since gone back to windows 8.1 and no I have no issues, speedfan is controlling the the CPU fan correctly and no more BSOD or random reboots.

So Windows 10 is still very buggy for some systems and it seems like Xeon CPU's did not get a lot of love from Microsoft with windows 10 or they have not gotten around to fixing it yet...


First things first: Thanks Andy for the easy-to-follow guide.

SpeedFan works for me on W10Pro, but it ranks the fan up to 100%(5000rpm) as soon as temps raise even by a bit, doesn't matter how i adjust the temperature curve. :(
« Last Edit: September 29, 2016, 05:38:10 am by Picco »

Andy Brown

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
    • View Profile
    • Andy's Workshop
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #11 on: September 29, 2016, 08:46:32 am »
SpeedFan works for me on W10Pro, but it ranks the fan up to 100%(5000rpm) as soon as temps raise even by a bit, doesn't matter how i adjust the temperature curve. :(

That doesn't sound right at all. Can you double-check on the page with the speed chart on it that both CPU0 and CPU1 are set to "MAX of speeds" and not "SUM of speeds".

Back on the main speedfan page you should be able to watch the two circled speeds changing in response to the temperature.
It's worse than that, it's physics Jim!

Swierk

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #12 on: October 24, 2016, 07:11:04 am »
first of all thank you for great tutorial. however it is not working on Win 10 Pro :(
it worked flawlessly on Win 7 with system that was delivered with Z800. i made clean install of Win 10 Pro not installing special drivers instead of graphics card only. i get through the tutorial as previously and it doesn't work? or I am missing something to install?

Andy Brown

  • Administrator
  • Hero Member
  • *****
  • Posts: 283
    • View Profile
    • Andy's Workshop
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #13 on: October 24, 2016, 10:39:47 am »
Windows 10 Pro is the OS that I used to create these instructions and I haven't installed any unusual drivers. Speedfan just worked out of the box. Do you see the "ADT7490" being detected in the "Readings" information box?
It's worse than that, it's physics Jim!

Swierk

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: Using SpeedFan to automatically control the Z800 CPU fans
« Reply #14 on: October 24, 2016, 12:23:47 pm »
Windows 10 Pro is the OS that I used to create these instructions and I haven't installed any unusual drivers. Speedfan just worked out of the box. Do you see the "ADT7490" being detected in the "Readings" information box?

Yes. "ADT7490 (ID=$6F) found on SMBus at $2D"