Update EC registers for Z790 (#1381)

This commit is contained in:
DrLippe
2024-07-20 16:44:28 +02:00
committed by GitHub
parent 6dc82e271a
commit d3a7db7289
@@ -224,8 +224,8 @@ public abstract class EmbeddedController : Hardware
ECSensor.TempVrm),
new(Model.ROG_STRIX_Z790_I_GAMING_WIFI,
BoardFamily.Intel700,
ECSensor.TempWaterIn,
ECSensor.TempWaterOut),
ECSensor.TempTSensor,
ECSensor.TempTSensor2),
new(Model.ROG_STRIX_Z790_E_GAMING_WIFI,
BoardFamily.Intel700,
ECSensor.TempWaterIn),
@@ -339,8 +339,10 @@ public abstract class EmbeddedController : Hardware
{
BoardFamily.Intel700, new Dictionary<ECSensor, EmbeddedControllerSource>
{
{ ECSensor.TempWaterIn, new EmbeddedControllerSource("Water In", SensorType.Temperature, 0x0100, blank: -40) },
{ ECSensor.TempWaterOut, new EmbeddedControllerSource("Water Out", SensorType.Temperature, 0x0101, blank: -40) },
{ ECSensor.TempTSensor, new EmbeddedControllerSource("T Sensor", SensorType.Temperature, 0x109, blank: -40) },
{ ECSensor.TempTSensor2, new EmbeddedControllerSource("T Sensor 2", SensorType.Temperature, 0x105, blank: -40) },
{ ECSensor.TempWaterIn, new EmbeddedControllerSource("Water In", SensorType.Temperature, 0x100, blank: -40) }, // this displays the same values as the register 0x109 does
{ ECSensor.TempWaterOut, new EmbeddedControllerSource("Water Out", SensorType.Temperature, 0x101, blank: -40) },
{ ECSensor.FanWaterFlow, new EmbeddedControllerSource("Water Flow", SensorType.Flow, 0x00be, 2, factor: 1.0f / 42f * 60f) } // todo: need validation for this calculation
}
}
@@ -503,6 +505,9 @@ public abstract class EmbeddedController : Hardware
/// <summary>"T_Sensor" temperature sensor reading [℃]</summary>
TempTSensor,
/// <summary>"T_Sensor 2" temperature sensor reading [℃]</summary>
TempTSensor2,
/// <summary>VRM temperature [℃]</summary>
TempVrm,