An attempt at adding a mainboard specific configuration for the ASUS P6X58D-E.
authormoel.mich
Sun, 11 Jul 2010 15:52:50 +0000
changeset 15298187e7a08b2
parent 151 76e18684713d
child 153 62162db94359
An attempt at adding a mainboard specific configuration for the ASUS P6X58D-E.
Hardware/LPC/W836XX.cs
Hardware/Mainboard/Mainboard.cs
Hardware/Mainboard/Manufacturer.cs
Hardware/Mainboard/Model.cs
Hardware/Mainboard/SMBIOS.cs
Hardware/Mainboard/SuperIOHardware.cs
Properties/AssemblyInfo.cs
     1.1 --- a/Hardware/LPC/W836XX.cs	Sun Jul 04 12:49:16 2010 +0000
     1.2 +++ b/Hardware/LPC/W836XX.cs	Sun Jul 11 15:52:50 2010 +0000
     1.3 @@ -123,7 +123,7 @@
     1.4            break;
     1.5          case Chip.W83627DHG:        
     1.6          case Chip.W83627DHGP:
     1.7 -          // do not add temperature sensor registers that read PECI
     1.8 +          // note temperature sensor registers that read PECI
     1.9            byte sel = ReadByte(0, TEMPERATURE_SOURCE_SELECT_REG);
    1.10            peciTemperature[0] = (sel & 0x07) != 0;
    1.11            peciTemperature[1] = (sel & 0x70) != 0;
     2.1 --- a/Hardware/Mainboard/Mainboard.cs	Sun Jul 04 12:49:16 2010 +0000
     2.2 +++ b/Hardware/Mainboard/Mainboard.cs	Sun Jul 11 15:52:50 2010 +0000
     2.3 @@ -85,7 +85,7 @@
     2.4          superIOHardware[i] = new SuperIOHardware(superIO[i], 
     2.5            smbios.Board != null ? smbios.Board.Manufacturer : 
     2.6            Manufacturer.Unknown, smbios.Board != null ? smbios.Board.Model : 
     2.7 -          Model.Unknown);     
     2.8 +          Model.Unknown);
     2.9      }
    2.10  
    2.11      public string Name {
     3.1 --- a/Hardware/Mainboard/Manufacturer.cs	Sun Jul 04 12:49:16 2010 +0000
     3.2 +++ b/Hardware/Mainboard/Manufacturer.cs	Sun Jul 11 15:52:50 2010 +0000
     3.3 @@ -39,12 +39,16 @@
     3.4    
     3.5    public enum Manufacturer {
     3.6      ASUS,
     3.7 +    Dell,
     3.8      DFI,
     3.9      EPoX,
    3.10      EVGA,
    3.11 +    FIC,
    3.12      Gigabyte,
    3.13 +    HP,
    3.14      IBM,
    3.15      MSI,
    3.16 +    XFX,
    3.17      Unknown    
    3.18    }
    3.19  
     4.1 --- a/Hardware/Mainboard/Model.cs	Sun Jul 04 12:49:16 2010 +0000
     4.2 +++ b/Hardware/Mainboard/Model.cs	Sun Jul 11 15:52:50 2010 +0000
     4.3 @@ -43,6 +43,7 @@
     4.4      M2N_SLI_DELUXE,
     4.5      M4A79XTD_EVO,
     4.6      P5W_DH_Deluxe,    
     4.7 +    P6X58D_E,
     4.8  
     4.9      // DFI
    4.10      LP_BI_P45_T2RS_Elite,
     5.1 --- a/Hardware/Mainboard/SMBIOS.cs	Sun Jul 04 12:49:16 2010 +0000
     5.2 +++ b/Hardware/Mainboard/SMBIOS.cs	Sun Jul 11 15:52:50 2010 +0000
     5.3 @@ -255,6 +255,8 @@
     5.4          switch (manufacturerName) {
     5.5            case "ASUSTeK Computer INC.":
     5.6              manufacturer = Manufacturer.ASUS; break;
     5.7 +          case "Dell Inc.":
     5.8 +            manufacturer = Manufacturer.Dell; break;
     5.9            case "DFI":
    5.10            case "DFI Inc.":            
    5.11              manufacturer = Manufacturer.DFI; break;
    5.12 @@ -262,13 +264,21 @@
    5.13              manufacturer = Manufacturer.EPoX; break;
    5.14            case "EVGA":
    5.15              manufacturer = Manufacturer.EVGA; break;
    5.16 +          case "First International Computer, Inc.":
    5.17 +            manufacturer = Manufacturer.FIC; break;
    5.18            case "Gigabyte Technology Co., Ltd.":
    5.19              manufacturer = Manufacturer.Gigabyte; break;
    5.20 +          case "Hewlett-Packard":
    5.21 +            manufacturer = Manufacturer.HP; break;
    5.22            case "IBM":
    5.23              manufacturer = Manufacturer.IBM; break;
    5.24            case "MICRO-STAR INTERNATIONAL CO., LTD":
    5.25            case "MICRO-STAR INTERNATIONAL CO.,LTD":
    5.26              manufacturer = Manufacturer.MSI; break;
    5.27 +          case "XFX":
    5.28 +            manufacturer = Manufacturer.XFX; break;
    5.29 +          case "To be filled by O.E.M.":
    5.30 +            manufacturer = Manufacturer.Unknown; break;
    5.31            default:
    5.32              manufacturer = Manufacturer.Unknown; break;
    5.33          }
    5.34 @@ -286,6 +296,8 @@
    5.35              model = Model.M4A79XTD_EVO; break;
    5.36            case "P5W DH Deluxe":
    5.37              model = Model.P5W_DH_Deluxe; break;
    5.38 +          case "P6X58D-E":
    5.39 +            model = Model.P6X58D_E; break;
    5.40            case "LP BI P45-T2RS Elite":
    5.41              model = Model.LP_BI_P45_T2RS_Elite; break;
    5.42            case "LP DK P55-T3eH9":
    5.43 @@ -312,6 +324,8 @@
    5.44              model = Model.X38_DS5; break;
    5.45            case "X58A-UD3R":
    5.46              model = Model.X58A_UD3R; break;
    5.47 +          case "To be filled by O.E.M.":
    5.48 +            model = Model.Unknown; break;
    5.49            default:
    5.50              model = Model.Unknown; break;
    5.51          }
     6.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Sun Jul 04 12:49:16 2010 +0000
     6.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Sun Jul 11 15:52:50 2010 +0000
     6.3 @@ -421,23 +421,68 @@
     6.4          case Chip.W83627DHGP:                      
     6.5          case Chip.W83667HG:
     6.6          case Chip.W83667HGB:
     6.7 -          v.Add(new Voltage("CPU VCore", 0));
     6.8 -          v.Add(new Voltage("Voltage #2", 1, true));
     6.9 -          v.Add(new Voltage("AVCC", 2, 34, 34, 0));
    6.10 -          v.Add(new Voltage("3VCC", 3, 34, 34, 0));
    6.11 -          v.Add(new Voltage("Voltage #5", 4, true));
    6.12 -          v.Add(new Voltage("Voltage #6", 5, true));
    6.13 -          v.Add(new Voltage("Voltage #7", 6, true));
    6.14 -          v.Add(new Voltage("3VSB", 7, 34, 34, 0));
    6.15 -          v.Add(new Voltage("VBAT", 8, 34, 34, 0));
    6.16 -          t.Add(new Temperature("CPU", 0));
    6.17 -          t.Add(new Temperature("Auxiliary", 1));
    6.18 -          t.Add(new Temperature("System", 2));
    6.19 -          f.Add(new Fan("System", 0));
    6.20 -          f.Add(new Fan("CPU", 1));
    6.21 -          f.Add(new Fan("Auxiliary", 2));
    6.22 -          f.Add(new Fan("CPU #2", 3));
    6.23 -          f.Add(new Fan("Auxiliary #2", 4));            
    6.24 +          switch (manufacturer) {
    6.25 +            case Manufacturer.ASUS:
    6.26 +              switch (model) {
    6.27 +                case Model.P6X58D_E:
    6.28 +                  v.Add(new Voltage("CPU VCore", 0));
    6.29 +                  v.Add(new Voltage("+12V", 1, 11.5f, 1.91f, 0));
    6.30 +                  v.Add(new Voltage("Analog +3.3V", 2, 34, 34, 0));
    6.31 +                  v.Add(new Voltage("+3.3V", 3, 34, 34, 0));
    6.32 +                  v.Add(new Voltage("+5V", 4, 20, 10, 0));
    6.33 +                  v.Add(new Voltage("Voltage #6", 5, true));
    6.34 +                  v.Add(new Voltage("Voltage #7", 6, true));
    6.35 +                  v.Add(new Voltage("Standby +3.3V", 7, 34, 34, 0));
    6.36 +                  v.Add(new Voltage("VBAT", 8, 34, 34, 0));
    6.37 +                  t.Add(new Temperature("CPU", 0));
    6.38 +                  t.Add(new Temperature("Motherboard", 2));
    6.39 +                  f.Add(new Fan("Chassis Fan #1", 0));
    6.40 +                  f.Add(new Fan("CPU", 1));
    6.41 +                  f.Add(new Fan("Power", 2));
    6.42 +                  f.Add(new Fan("Chassis Fan #2", 3));
    6.43 +                  f.Add(new Fan("Chassis Fan #3", 4));
    6.44 +                  break;
    6.45 +                default:
    6.46 +                  v.Add(new Voltage("CPU VCore", 0));
    6.47 +                  v.Add(new Voltage("Voltage #2", 1, true));
    6.48 +                  v.Add(new Voltage("AVCC", 2, 34, 34, 0));
    6.49 +                  v.Add(new Voltage("3VCC", 3, 34, 34, 0));
    6.50 +                  v.Add(new Voltage("Voltage #5", 4, true));
    6.51 +                  v.Add(new Voltage("Voltage #6", 5, true));
    6.52 +                  v.Add(new Voltage("Voltage #7", 6, true));
    6.53 +                  v.Add(new Voltage("3VSB", 7, 34, 34, 0));
    6.54 +                  v.Add(new Voltage("VBAT", 8, 34, 34, 0));
    6.55 +                  t.Add(new Temperature("CPU", 0));
    6.56 +                  t.Add(new Temperature("Auxiliary", 1));
    6.57 +                  t.Add(new Temperature("System", 2));
    6.58 +                  f.Add(new Fan("System", 0));
    6.59 +                  f.Add(new Fan("CPU", 1));
    6.60 +                  f.Add(new Fan("Auxiliary", 2));
    6.61 +                  f.Add(new Fan("CPU #2", 3));
    6.62 +                  f.Add(new Fan("Auxiliary #2", 4));
    6.63 +                  break;
    6.64 +              }
    6.65 +              break;
    6.66 +            default:
    6.67 +              v.Add(new Voltage("CPU VCore", 0));
    6.68 +              v.Add(new Voltage("Voltage #2", 1, true));
    6.69 +              v.Add(new Voltage("AVCC", 2, 34, 34, 0));
    6.70 +              v.Add(new Voltage("3VCC", 3, 34, 34, 0));
    6.71 +              v.Add(new Voltage("Voltage #5", 4, true));
    6.72 +              v.Add(new Voltage("Voltage #6", 5, true));
    6.73 +              v.Add(new Voltage("Voltage #7", 6, true));
    6.74 +              v.Add(new Voltage("3VSB", 7, 34, 34, 0));
    6.75 +              v.Add(new Voltage("VBAT", 8, 34, 34, 0));
    6.76 +              t.Add(new Temperature("CPU", 0));
    6.77 +              t.Add(new Temperature("Auxiliary", 1));
    6.78 +              t.Add(new Temperature("System", 2));
    6.79 +              f.Add(new Fan("System", 0));
    6.80 +              f.Add(new Fan("CPU", 1));
    6.81 +              f.Add(new Fan("Auxiliary", 2));
    6.82 +              f.Add(new Fan("CPU #2", 3));
    6.83 +              f.Add(new Fan("Auxiliary #2", 4));
    6.84 +              break;
    6.85 +          } 
    6.86            break;
    6.87          case Chip.W83627HF: 
    6.88          case Chip.W83627THF: 
     7.1 --- a/Properties/AssemblyInfo.cs	Sun Jul 04 12:49:16 2010 +0000
     7.2 +++ b/Properties/AssemblyInfo.cs	Sun Jul 11 15:52:50 2010 +0000
     7.3 @@ -69,5 +69,5 @@
     7.4  // You can specify all the values or you can default the Build and Revision Numbers 
     7.5  // by using the '*' as shown below:
     7.6  // [assembly: AssemblyVersion("1.0.*")]
     7.7 -[assembly: AssemblyVersion("0.1.37.0")]
     7.8 -[assembly: AssemblyFileVersion("0.1.37.0")]
     7.9 +[assembly: AssemblyVersion("0.1.37.1")]
    7.10 +[assembly: AssemblyFileVersion("0.1.37.1")]