| 1 |
# /etc/sensors.d/X8DTN |
| 2 |
# settings for the supermicro X8DTN |
| 3 |
# originally written by Gary E. Miller <[email protected]> |
| 4 |
# use at your own risk ! |
| 5 |
# Date: 25 May 2012 |
| 6 |
|
| 7 |
# Here's the info as supplied by Supermicro: |
| 8 |
|
| 9 |
# |
| 10 |
# Bus Type = ISAIO/SMBus |
| 11 |
# One W83795AG |
| 12 |
# |
| 13 |
# Windbond W83795AG, Slave Address=0x2f (0x5E in 8-Bit format) |
| 14 |
# ============================================================= |
| 15 |
# Fan1 Fan Speed, Offset 0x2e RPM = 84375/Data |
| 16 |
# Fan2 Fan Speed, Offset 0x2f RPM = 84375/Data |
| 17 |
# Fan3 Fan Speed, Offset 0x30 RPM = 84375/Data |
| 18 |
# Fan4 Fan Speed, Offset 0x31 RPM = 84375/Data |
| 19 |
# Fan5 Fan Speed, Offset 0x32 RPM = 84375/Data |
| 20 |
# Fan6 Fan Speed, Offset 0x33 RPM = 84375/Data |
| 21 |
# Fan7 Fan Speed, Offset 0x34 RPM = 84375/Data |
| 22 |
# Fan8 Fan Speed, Offset 0x35 RPM = 84375/Data |
| 23 |
# CPU1 Voltage, Offset 0x10 Voltage = Data* 0.008 |
| 24 |
# CPU2 Voltage, Offset 0x11 Voltage = Data* 0.008 |
| 25 |
# +1.5V Voltage, Offset 0x12 Voltage = Data* 0.008 |
| 26 |
# +5V Voltage, Offset 0x13 Voltage = Data* 0.008 * (40/10) |
| 27 |
# +12V Voltage, Offset 0x14 Voltage = Data* 0.008/ (10./66.2) |
| 28 |
# +5VSB Voltage, Offset 0x15 Voltage = Data* 0.008 * (40/10) |
| 29 |
# +3.3V Voltage, Offset 0x1c Voltage = Data* 0.024 |
| 30 |
# +3.3VSB Voltage, Offset 0x1d Voltage = Data* 0.024 |
| 31 |
# Battery Voltage, Offset 0x1e Voltage = Data* 0.024 |
| 32 |
# CPU1 Temperature, Offset 0x27 Temperature = Data |
| 33 |
# CPU2 Temperature, Offset 0x26 Temperature = Data |
| 34 |
# System Temperature, Offset 0x1f Temperature = Data |
| 35 |
# Chassis Intrusion, Bank 0, Offset 0x46, BitMask 0x40 1 = Bad, 0 = Good |
| 36 |
# (Clear Bit: Bank 0, Offset 0x4d, BitMask 0x80) |
| 37 |
# |
| 38 |
# |
| 39 |
# Power Supply Failure, GP11(From W83627HF) 1 = Good, 0 = Bad |
| 40 |
|
| 41 |
chip "w83627hf-isa-0a00" |
| 42 |
# I'm not sure which is GP11, so I turned off everything. |
| 43 |
ignore in0 |
| 44 |
ignore in1 |
| 45 |
ignore in2 |
| 46 |
ignore in3 |
| 47 |
ignore in4 |
| 48 |
ignore in5 |
| 49 |
ignore in6 |
| 50 |
ignore in7 |
| 51 |
ignore in8 |
| 52 |
ignore cpu0_vid |
| 53 |
ignore fan1 |
| 54 |
ignore fan2 |
| 55 |
ignore fan3 |
| 56 |
ignore temp1 |
| 57 |
ignore temp2 |
| 58 |
ignore temp3 |
| 59 |
|
| 60 |
bus "i2c-0" "SMBus I801 adapter at 0400" |
| 61 |
|
| 62 |
chip "w83795adg-i2c-0-2f" |
| 63 |
|
| 64 |
# Voltages ; note that in the table above, the .008 and .024 factors are |
| 65 |
# already computed in the driver... |
| 66 |
|
| 67 |
label in0 "CPU1" |
| 68 |
label in1 "CPU2" |
| 69 |
label in2 "+1.5V" |
| 70 |
label in3 "+5V" |
| 71 |
label in4 "+12V" |
| 72 |
label in5 "5VSB" |
| 73 |
label in12 "+3.3V" |
| 74 |
label in13 "3VSB" |
| 75 |
label in14 "Vbat" |
| 76 |
|
| 77 |
compute in3 @*4, @/4 |
| 78 |
compute in4 @*6.62, @/6.62 |
| 79 |
compute in5 @*4, @/4 |
| 80 |
|
| 81 |
label temp5 "mobo" |
| 82 |
label temp7 "CPU2" |
| 83 |
label temp8 "CPU1" |
| 84 |
|
| 85 |
ignore in6 |
| 86 |
ignore in7 |
| 87 |
ignore in11 |
| 88 |
ignore temp3 |
| 89 |
ignore temp4 |
| 90 |
|
| 91 |
set in0_min 0.82 |
| 92 |
set in0_max 1.35 |
| 93 |
set in1_min 0.82 |
| 94 |
set in1_max 1.35 |
| 95 |
set in12_min 3.3 * 0.90 |
| 96 |
set in12_max 3.3 * 1.05 |
| 97 |
set in13_min 3.3 * 0.95 |
| 98 |
set in13_max 3.3 * 1.10 |
| 99 |
set in14_min 3.0 * 0.90 |
| 100 |
set in14_max 3.3 * 1.10 |