An attempt at adding a mainboard specific configuration for the ASUS P6X58D-E.

This commit is contained in:
Michael Möller
2010-07-11 15:52:50 +00:00
parent c7ef3b8ecf
commit 5ff4174c1f
7 changed files with 85 additions and 21 deletions

View File

@@ -123,7 +123,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
break;
case Chip.W83627DHG:
case Chip.W83627DHGP:
// do not add temperature sensor registers that read PECI
// note temperature sensor registers that read PECI
byte sel = ReadByte(0, TEMPERATURE_SOURCE_SELECT_REG);
peciTemperature[0] = (sel & 0x07) != 0;
peciTemperature[1] = (sel & 0x70) != 0;

View File

@@ -85,7 +85,7 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
superIOHardware[i] = new SuperIOHardware(superIO[i],
smbios.Board != null ? smbios.Board.Manufacturer :
Manufacturer.Unknown, smbios.Board != null ? smbios.Board.Model :
Model.Unknown);
Model.Unknown);
}
public string Name {

View File

@@ -39,12 +39,16 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
public enum Manufacturer {
ASUS,
Dell,
DFI,
EPoX,
EVGA,
FIC,
Gigabyte,
HP,
IBM,
MSI,
XFX,
Unknown
}

View File

@@ -43,6 +43,7 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
M2N_SLI_DELUXE,
M4A79XTD_EVO,
P5W_DH_Deluxe,
P6X58D_E,
// DFI
LP_BI_P45_T2RS_Elite,

View File

@@ -255,6 +255,8 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
switch (manufacturerName) {
case "ASUSTeK Computer INC.":
manufacturer = Manufacturer.ASUS; break;
case "Dell Inc.":
manufacturer = Manufacturer.Dell; break;
case "DFI":
case "DFI Inc.":
manufacturer = Manufacturer.DFI; break;
@@ -262,13 +264,21 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
manufacturer = Manufacturer.EPoX; break;
case "EVGA":
manufacturer = Manufacturer.EVGA; break;
case "First International Computer, Inc.":
manufacturer = Manufacturer.FIC; break;
case "Gigabyte Technology Co., Ltd.":
manufacturer = Manufacturer.Gigabyte; break;
case "Hewlett-Packard":
manufacturer = Manufacturer.HP; break;
case "IBM":
manufacturer = Manufacturer.IBM; break;
case "MICRO-STAR INTERNATIONAL CO., LTD":
case "MICRO-STAR INTERNATIONAL CO.,LTD":
manufacturer = Manufacturer.MSI; break;
case "XFX":
manufacturer = Manufacturer.XFX; break;
case "To be filled by O.E.M.":
manufacturer = Manufacturer.Unknown; break;
default:
manufacturer = Manufacturer.Unknown; break;
}
@@ -286,6 +296,8 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
model = Model.M4A79XTD_EVO; break;
case "P5W DH Deluxe":
model = Model.P5W_DH_Deluxe; break;
case "P6X58D-E":
model = Model.P6X58D_E; break;
case "LP BI P45-T2RS Elite":
model = Model.LP_BI_P45_T2RS_Elite; break;
case "LP DK P55-T3eH9":
@@ -312,6 +324,8 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
model = Model.X38_DS5; break;
case "X58A-UD3R":
model = Model.X58A_UD3R; break;
case "To be filled by O.E.M.":
model = Model.Unknown; break;
default:
model = Model.Unknown; break;
}

View File

@@ -421,23 +421,68 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
case Chip.W83627DHGP:
case Chip.W83667HG:
case Chip.W83667HGB:
v.Add(new Voltage("CPU VCore", 0));
v.Add(new Voltage("Voltage #2", 1, true));
v.Add(new Voltage("AVCC", 2, 34, 34, 0));
v.Add(new Voltage("3VCC", 3, 34, 34, 0));
v.Add(new Voltage("Voltage #5", 4, true));
v.Add(new Voltage("Voltage #6", 5, true));
v.Add(new Voltage("Voltage #7", 6, true));
v.Add(new Voltage("3VSB", 7, 34, 34, 0));
v.Add(new Voltage("VBAT", 8, 34, 34, 0));
t.Add(new Temperature("CPU", 0));
t.Add(new Temperature("Auxiliary", 1));
t.Add(new Temperature("System", 2));
f.Add(new Fan("System", 0));
f.Add(new Fan("CPU", 1));
f.Add(new Fan("Auxiliary", 2));
f.Add(new Fan("CPU #2", 3));
f.Add(new Fan("Auxiliary #2", 4));
switch (manufacturer) {
case Manufacturer.ASUS:
switch (model) {
case Model.P6X58D_E:
v.Add(new Voltage("CPU VCore", 0));
v.Add(new Voltage("+12V", 1, 11.5f, 1.91f, 0));
v.Add(new Voltage("Analog +3.3V", 2, 34, 34, 0));
v.Add(new Voltage("+3.3V", 3, 34, 34, 0));
v.Add(new Voltage("+5V", 4, 20, 10, 0));
v.Add(new Voltage("Voltage #6", 5, true));
v.Add(new Voltage("Voltage #7", 6, true));
v.Add(new Voltage("Standby +3.3V", 7, 34, 34, 0));
v.Add(new Voltage("VBAT", 8, 34, 34, 0));
t.Add(new Temperature("CPU", 0));
t.Add(new Temperature("Motherboard", 2));
f.Add(new Fan("Chassis Fan #1", 0));
f.Add(new Fan("CPU", 1));
f.Add(new Fan("Power", 2));
f.Add(new Fan("Chassis Fan #2", 3));
f.Add(new Fan("Chassis Fan #3", 4));
break;
default:
v.Add(new Voltage("CPU VCore", 0));
v.Add(new Voltage("Voltage #2", 1, true));
v.Add(new Voltage("AVCC", 2, 34, 34, 0));
v.Add(new Voltage("3VCC", 3, 34, 34, 0));
v.Add(new Voltage("Voltage #5", 4, true));
v.Add(new Voltage("Voltage #6", 5, true));
v.Add(new Voltage("Voltage #7", 6, true));
v.Add(new Voltage("3VSB", 7, 34, 34, 0));
v.Add(new Voltage("VBAT", 8, 34, 34, 0));
t.Add(new Temperature("CPU", 0));
t.Add(new Temperature("Auxiliary", 1));
t.Add(new Temperature("System", 2));
f.Add(new Fan("System", 0));
f.Add(new Fan("CPU", 1));
f.Add(new Fan("Auxiliary", 2));
f.Add(new Fan("CPU #2", 3));
f.Add(new Fan("Auxiliary #2", 4));
break;
}
break;
default:
v.Add(new Voltage("CPU VCore", 0));
v.Add(new Voltage("Voltage #2", 1, true));
v.Add(new Voltage("AVCC", 2, 34, 34, 0));
v.Add(new Voltage("3VCC", 3, 34, 34, 0));
v.Add(new Voltage("Voltage #5", 4, true));
v.Add(new Voltage("Voltage #6", 5, true));
v.Add(new Voltage("Voltage #7", 6, true));
v.Add(new Voltage("3VSB", 7, 34, 34, 0));
v.Add(new Voltage("VBAT", 8, 34, 34, 0));
t.Add(new Temperature("CPU", 0));
t.Add(new Temperature("Auxiliary", 1));
t.Add(new Temperature("System", 2));
f.Add(new Fan("System", 0));
f.Add(new Fan("CPU", 1));
f.Add(new Fan("Auxiliary", 2));
f.Add(new Fan("CPU #2", 3));
f.Add(new Fan("Auxiliary #2", 4));
break;
}
break;
case Chip.W83627HF:
case Chip.W83627THF:

View File

@@ -69,5 +69,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.1.37.0")]
[assembly: AssemblyFileVersion("0.1.37.0")]
[assembly: AssemblyVersion("0.1.37.1")]
[assembly: AssemblyFileVersion("0.1.37.1")]