commit | a97f1343379bbb52371195bc613a689cbfb374f3 | [log] [tgz] |
---|---|---|
author | Cheng C Yang <cheng.c.yang@linux.intel.com> | Tue Feb 11 15:10:41 2020 +0800 |
committer | Cheng C Yang <cheng.c.yang@linux.intel.com> | Wed Feb 12 04:31:55 2020 +0000 |
tree | 9e910ffd7102ec80b5384f99ecba2af5b55e68e5 | |
parent | 3459d0130d09da5168b317af7d4cb00752b6c13d [diff] |
Fix the PSU Service crash issue. When entity-manager changes, PSU service will crash when recreating PSU Sensors. Change delay time to 3s for PSU service has enough time to finish last creating, change sensor monitoring time to 1s to avoid sysfs file reading failure. Tested: When starting system or reset entity-manager, PSU service will not crash. Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com> Change-Id: I43e7f5207c137cd3601877af5313a3c340ee05f3
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