commit | 591b1e422e576fed1e926fbbb58a2fe367287efa | [log] [tgz] |
---|---|---|
author | Yong Li <yong.b.li@linux.intel.com> | Thu Dec 19 17:46:31 2019 +0800 |
committer | Yong Li <yong.b.li@intel.com> | Fri Dec 20 02:56:43 2019 +0000 |
tree | d99f61545ad61c19d84cf9c82bc7abce33559d32 | |
parent | 9f9b38d89a751e70cdf61bfb3f78c05800201f95 [diff] |
Fix duplicated/missed PSU logs in redfish When perform disconnect/reconnect PSU actions, some logs are missing and some are duplicated in redfish, this change fixes this issue. Tested: With two PSUs, perform these actions, then check the redfish event logs: # remove one AC cable PowerSupplyPowerLost PowerSupplyFailed PowerSupplyFailurePredicted #One PSU is removed PowerSupplyConfigurationError PowerSupplyFanFailed #Connected the PSU PowerSupplyConfigurationErrorRecovered PowerSupplyFanRecovered #Connected the AC cable PowerSupplyRecovered PowerSupplyPredictedFailureRecovered PowerSupplyPowerRestored Signed-off-by: Yong Li <yong.b.li@linux.intel.com> Change-Id: I5cef5f728e99e785113294c931cae6219346653f
dbus-sensors is a collection of sensor applications that provide the xyz.openbmc_project.Sensor collection of interfaces. They read sensor values from hwmon, d-bus, or direct driver access to provide readings. Some advance non-sensor features such as fan presence, pwm control, and automatic cpu detection (x86) are also supported.
runtime re-configurable from d-bus (entity-manager or the like)
isolated: each sensor type is isolated into its own daemon, so a bug in one sensor is unlikely to affect another, and single sensor modifications are possible
async single-threaded: uses sdbusplus/asio bindings
multiple data inputs: hwmon, d-bus, direct driver access