| 1 |
# Originally contributed by Gary E. Miller, cleaned up by Jean Delvare. |
| 2 |
|
| 3 |
|
| 4 |
# /etc/sensors.d/X7DB8 |
| 5 |
# settings for the supermicro X7DB8 |
| 6 |
# originally written by Gary E. Miller <[email protected]> |
| 7 |
# use at your own risk ! |
| 8 |
# Date: 30 May 2012 |
| 9 |
|
| 10 |
# Here's the info as supplied by Supermicro: |
| 11 |
# |
| 12 |
# Bus Type = SMBus |
| 13 |
# One W83793G |
| 14 |
# |
| 15 |
# Windbond W83793G, Slave Address=0x2f (0x5E in 8-Bit format) |
| 16 |
# ============================================================= |
| 17 |
# Fan1 Fan Speed, Offset 0x23, 0x24 RPM = 1350000/Data |
| 18 |
# Fan2 Fan Speed, Offset 0x25, 0x26 RPM = 1350000/Data |
| 19 |
# Fan3 Fan Speed, Offset 0x27, 0x28 RPM = 1350000/Data |
| 20 |
# Fan4 Fan Speed, Offset 0x29, 0x2a RPM = 1350000/Data |
| 21 |
# Fan5 Fan Speed, Offset 0x2b, 0x2c RPM = 1350000/Data |
| 22 |
# Fan6 Fan Speed, Offset 0x2d, 0x2e RPM = 1350000/Data |
| 23 |
# Fan7/CPU1 Fan Speed, Offset 0x2f, 0x30 RPM = 1350000/Data |
| 24 |
# Fan8/CPU2 Fan Speed, Offset 0x31, 0x32 RPM = 1350000/Data |
| 25 |
# CPU1 Core Voltage, Offset 0x10 Voltage = Data* 0.008 |
| 26 |
# CPU2 Core Voltage, Offset 0x11 Voltage = Data* 0.008 |
| 27 |
# -12V Voltage, Offset 0x14 Voltage = ((Data*0.016)- (2.048*(232./260.)))/(1-(232./260.)) |
| 28 |
# +1.5V Voltage, Offset 0x15 Voltage = Data* 0.016 |
| 29 |
# +3.3V Voltage, Offset 0x16 Voltage = Data* 0.016 |
| 30 |
# +12V Voltage, Offset 0x17 Voltage = Data* 0.008/ (10./120.) |
| 31 |
# +5V Voltage, Offset 0x18 Voltage = Data* 0.024 |
| 32 |
# 5Vsb Voltage, Offset 0x19 Voltage = Data* 0.024 |
| 33 |
# Battery Voltage, Offset 0x1a Voltage = Data* 0.016 |
| 34 |
# CPU1 CoreA (PECI Agent1) Temperature, Offset 0x1c Temperature = Data |
| 35 |
# CPU1 CoreB (PECI Agent2) Temperature, Offset 0x1d Temperature = Data |
| 36 |
# CPU2 CoreA (PECI Agent3) Temperature, Offset 0x1e Temperature = Data |
| 37 |
# CPU2 CoreB (PECI Agent4) Temperature, Offset 0x1f Temperature = Data |
| 38 |
# System Temperature, Offset 0x20 Temperature = Data |
| 39 |
# Chassis Intrusion, Offset 0x44, BitMask 0x40 1 = Bad, 0 = Good |
| 40 |
# |
| 41 |
# |
| 42 |
# Windbond W83627HF |
| 43 |
# ============================================================= |
| 44 |
# Power Supply Failure, GP11(From W83627HF) 1 = Good, 0 = Bad |
| 45 |
# |
| 46 |
|
| 47 |
chip "w83627hf-isa-0290" |
| 48 |
# no driver access to GP11, so I turned off everything. |
| 49 |
ignore in0 |
| 50 |
ignore in1 |
| 51 |
ignore in2 |
| 52 |
ignore in3 |
| 53 |
ignore in4 |
| 54 |
ignore in5 |
| 55 |
ignore in6 |
| 56 |
ignore in7 |
| 57 |
ignore in8 |
| 58 |
ignore cpu0_vid |
| 59 |
ignore fan1 |
| 60 |
ignore fan2 |
| 61 |
ignore fan3 |
| 62 |
ignore temp1 |
| 63 |
ignore temp2 |
| 64 |
ignore temp3 |
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
bus "i2c-0" "SMBus I801 adapter at 1100" |
| 69 |
|
| 70 |
chip "w83793-i2c-0-2f" |
| 71 |
|
| 72 |
label fan7 "CPU1 Fan" |
| 73 |
label fan8 "CPU2 Fan" |
| 74 |
|
| 75 |
# Voltages ; note that in the table above, the .008, .016, and .024 factors are |
| 76 |
# already computed in the driver... |
| 77 |
label in0 "Vcore1" |
| 78 |
label in1 "Vcore2" |
| 79 |
ignore in2 |
| 80 |
label in3 "-12V" |
| 81 |
label in4 "+1.5V" |
| 82 |
label in5 "+3.3V" |
| 83 |
label in6 "+12V" |
| 84 |
label in7 "+5V" |
| 85 |
label in8 "5Vsb" |
| 86 |
label in9 "Vbat" |
| 87 |
|
| 88 |
label temp1 "CPU1 CoreA" |
| 89 |
label temp2 "CPU1 CoreB" |
| 90 |
label temp3 "CPU2 CoreA" |
| 91 |
label temp4 "CPU2 CoreB" |
| 92 |
label temp5 "M/B Temp" |
| 93 |
|
| 94 |
compute in3 (@ - (2.048*(232/260)))/(1-(232/260)), (@*(1-(232/260)))+(2.048*(232/260)) |
| 95 |
compute in6 @ * 12 , @ / 12 |
| 96 |
|
| 97 |
|
| 98 |
# CPUs |
| 99 |
set in0_min 0.82 |
| 100 |
set in0_max 1.35 |
| 101 |
set in1_min 0.82 |
| 102 |
set in1_max 1.35 |
| 103 |
|
| 104 |
# -12V, 10% |
| 105 |
set in3_max -12.0 * 0.90 |
| 106 |
set in3_min -12.0 * 1.10 |
| 107 |
# +3.3V, 5% |
| 108 |
set in5_min 3.3 * 0.95 |
| 109 |
set in5_max 3.3 * 1.05 |
| 110 |
# +12V, 5% |
| 111 |
set in6_min 12.0 * 0.95 |
| 112 |
set in6_max 12.0 * 1.05 |
| 113 |
# +5V, 5% |
| 114 |
set in7_min 5.0 * 0.95 |
| 115 |
set in7_max 5.0 * 1.05 |
| 116 |
# 5Vsb, 10% |
| 117 |
set in8_min 5.0 * 0.90 |
| 118 |
set in8_max 5.0 * 1.10 |
| 119 |
# Vbat, 10% |
| 120 |
set in9_min 3.0 * 0.90 |
| 121 |
set in9_max 3.0 * 1.10 |