forked from Kraust/openhardwaremonitor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for IT8665E. Don't read fans that aren't set in the 16bit register.
- Loading branch information
Showing
6 changed files
with
70 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d4b763c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, I was going to attempt this patch myself this evening - no need now!
d4b763c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the it87 source code -> https://github.com/groeck/it87/blob/master/it87.c
It defines alternate registers for the fans etc:
Should those values be used here?
d4b763c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may be correct that the extended registers should instead be from IT87_REG_FAN_8665 and friends. I didn't actually test the 6th fan slot since the first 5 are the same anyway.
voltageGain
is also a TODO, as I tried to match it with HWMonitor instead of checking any references.d4b763c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right I didn't realise it was literally 6 slots for the 6 fans - makes sense.
I've been comparing the output from the compiled binary with cpuid HWMonitor, Ryzen Master, & CAM - HMMonitor & OHM show a CPU temp 10C higher than Ryzen Master, with CAM showing a further 10C higher (which indicates that CAM is reading the +20C offset temp). It looks as though the offset code in OHM needs some tweaking for Ryzen to bring it in line with Ryzen master.
I'll do some more fiddling tomorrow when I get chance.
Love to get to a point of having fan controls so that PR openhardwaremonitor#996 - fan curve control can be incorporated!