From 072482986dfa60a905392c2dc49031ad7296bf2a Mon Sep 17 00:00:00 2001 From: Dhruvaraj S Date: Tue, 21 Mar 2017 02:14:52 -0500 Subject: IPMI Sensor Support for Power Supply Redundancy Change-Id: Id475849a77fd18e8f6b05c73f55866aba604c9a7 Signed-off-by: Dhruvaraj Subhashchandran --- ipmisensor.cpp | 2 +- sensorhandler.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ipmisensor.cpp b/ipmisensor.cpp index aaa6cb6..0a19221 100644 --- a/ipmisensor.cpp +++ b/ipmisensor.cpp @@ -198,7 +198,7 @@ lookup_t g_ipmidbuslookup[] = { {0x12, 0x02, set_sensor_dbus_state_system_event, "setValue", "", ""}, {0x12, 0x03, set_sensor_dbus_state_system_event, "setValue", "", ""}, {0x12, 0x04, set_sensor_dbus_state_system_event, "setValue", "", ""}, - + {0xD8, 0x00, set_sensor_dbus_state_simple, "setValue", "Disabled", ""}, {0xFF, 0xFF, NULL, "", "", ""} }; diff --git a/sensorhandler.cpp b/sensorhandler.cpp index 53bb412..5ac17d1 100644 --- a/sensorhandler.cpp +++ b/sensorhandler.cpp @@ -40,6 +40,7 @@ sensorTypemap_t g_SensorTypeMap[] = { {0xC7, 0x03, "SYSTEM"}, {0xC7, 0x03, "MAIN_PLANAR"}, {0xC2, 0x6F, "PowerCap"}, + {0xD8, 0x03, "PowerSupplyRedundancy"}, {0xFF, 0x00, ""}, }; -- cgit v1.2.1