Change PSU Input Voltage Max Value
Input critical threshold in some PSUs can reach to 275, the max value should
higher than the threshold.
Tested By:
Run ipmitool sensor list, no warning appears.
Run ipmitool raw 0x0a 0x23 0x00 0x00 0x45 0x00 0x00 0xff, if the command
return 0x00 0x46 ......, then run command ipmitool raw 0x0a 0x23 0x00 0x00
0x46 0x00 0x00 0xff and this command can return correct value.
Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
Change-Id: Iff1c67b2f9d65ea5aecec1afd52d2cbfdb84f59e
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 6bfe3ad..8f36b86 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -281,7 +281,7 @@
labelMatch = {{"pin", PSUProperty("Input Power", 3000, 0, 6)},
{"pout1", PSUProperty("Output Power", 3000, 0, 6)},
- {"vin", PSUProperty("Input Voltage", 255, 0, 3)},
+ {"vin", PSUProperty("Input Voltage", 300, 0, 3)},
{"iin", PSUProperty("Input Current", 20, 0, 3)},
{"iout1", PSUProperty("Output Current", 255, 0, 3)},
{"temp1", PSUProperty("Temperature", 127, -128, 3)},