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

Add definition for ASRock X570 Phantom Gaming 4 #1319

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

Conversation

coderjo
Copy link
Contributor

@coderjo coderjo commented Apr 24, 2024

Add the specific sensors and controls for the ASRock Phantom Gaming 4 motherboard

image
.

Add the specific sensors and controls for the ASRock Phantom Gaming 4
motherboard.
Comment on lines 2610 to 2657
v.Add(new Voltage("CPUVCORE", 0, 1, 1));
v.Add(new Voltage("+5V", 1, 2, 1));
v.Add(new Voltage("AVSB", 2, 1, 1));
v.Add(new Voltage("3VCC", 3, 1, 1));
v.Add(new Voltage("+12V", 4, 56, 10));
v.Add(new Voltage("VDDCR_SOC", 5));
v.Add(new Voltage("DRAM", 6));
v.Add(new Voltage("3VSB", 7, 1, 1));
v.Add(new Voltage("VBAT", 8, 1, 1));
v.Add(new Voltage("VTT", 9));
v.Add(new Voltage("VIN5", 10, true)); // unknown
v.Add(new Voltage("VPPM", 11, 3, 1));
v.Add(new Voltage("PREM_VDDCR_SOC", 12));
v.Add(new Voltage("VDDP", 13));
v.Add(new Voltage("CPU VDD 1.8V", 14, 1, 1));
v.Add(new Voltage("VIN9", 15, true)); // unknown

t.Add(new Temperature("CPU", 9)); // AKA SMBUSMASTER0
t.Add(new Temperature("SB", 10)); // AKA SMBUSMASTER1
t.Add(new Temperature("Motherboard", 2)); // AKA SYSTIN

// no idea what these sources are actually connected to.
//t.Add(new Temperature("CPUTIN", 1));
//t.Add(new Temperature("AUXTIN0", 3));
//t.Add(new Temperature("AUXTIN1", 4));
//t.Add(new Temperature("AUXTIN2", 5));
//t.Add(new Temperature("AUXTIN3", 6));
//t.Add(new Temperature("AUXTIN4", 7));
//t.Add(new Temperature("TSENSOR", 8));
//t.Add(new Temperature("VIRTUAL_TEMP", 24));

f.Add(new Fan("CHA_FAN3", 0));
c.Add(new Control("CHA_FAN3", 0));

f.Add(new Fan("CPU_FAN1", 1));
c.Add(new Control("CPU_FAN1", 1));

f.Add(new Fan("CPU_FAN2/WP", 2));
c.Add(new Control("CPU_FAN2/WP", 2));

f.Add(new Fan("CHA_FAN1/WP", 3));
c.Add(new Control("CHA_FAN1/WP", 3));

f.Add(new Fan("CHA_FAN2/WP", 4));
c.Add(new Control("CHA_FAN2/WP", 4));

f.Add(new Fan("SB_FAN1", 5));
c.Add(new Control("SB_FAN1", 5));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you follow naming style as in this file? Such as Vcore, VBat, Chassis Fan #1, etc.

@coderjo
Copy link
Contributor Author

coderjo commented May 28, 2024

Are these names acceptable? I wasn't sure what to do with some of the voltage names.
image

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