Skip to content

Fix missing view for IT8792E and allow fan control for IT8792E on some Gigabyte AMD boards#1313

Merged
PhyxionNL merged 12 commits into
LibreHardwareMonitor:masterfrom
ezraisw:master
Jun 11, 2024
Merged

Fix missing view for IT8792E and allow fan control for IT8792E on some Gigabyte AMD boards#1313
PhyxionNL merged 12 commits into
LibreHardwareMonitor:masterfrom
ezraisw:master

Conversation

@ezraisw

@ezraisw ezraisw commented Apr 16, 2024

Copy link
Copy Markdown
Contributor

Related issue: #251
This PR doesn't directly fix what the issue OP is describing, but fixes some cases related to what is being discussed within the conversation.

  • Add extra checks for a bugged IT8792E chip. LHM not reporting the chip was because of LHM trying to enter the SuperIO at 0x4E and it causes the chip to report its ID as 0x8883. Not entering actually allows the chip to report correctly as 0x8733.

  • Implement an ECIO communication to the Gigabyte EC only present on some Gigabyte AMD boards which doesn't have SMFI enabled on the second chip. This allows LHM to disable the Smart Fan control to take control of the chip.

if (!WriteToRegister(0xB0) ||
!WriteToValue((byte)((offset >> 8) & 0xFF)) ||
!WriteToValue((byte)(offset & 0xFF)))
return false;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow code style in this file (add braces, new lines, etc).

@PhyxionNL PhyxionNL merged commit af7fca1 into LibreHardwareMonitor:master Jun 11, 2024
brokenmass pushed a commit to brokenmass/LibreHardwareMonitor that referenced this pull request Mar 11, 2025
…e Gigabyte AMD boards (LibreHardwareMonitor#1313)

* Check before entering bugged 0x4E IT87

* Specify fan control registers for IT8792E

* Refactor chip ID reading using TryReadWord

* Introduce ECIO gigabyte EC control

* Add ECIO compatibility check

* Refactor to consider result of read/write

* Refactor styles and syntaxes

* Rename SMFI to Smfi

* Remove public modifier for consistency

* Update code style

* Increase timeout and remove sleep for ecio waits

* Remove extra WaitIBE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants