Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

pwnedgod
Copy link

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
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).

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.

None yet

2 participants