commit | 15266a96d758d4dbc1d3095e652ae083b24732c7 | [log] [tgz] |
---|---|---|
author | Cheng C Yang <cheng.c.yang@linux.intel.com> | Wed Jun 12 08:42:52 2019 +0800 |
committer | Cheng C Yang <cheng.c.yang@linux.intel.com> | Wed Jun 12 08:42:52 2019 +0800 |
tree | 4a4174fc159bb3ace8929374a0b20e3cd8a8c828 | |
parent | 86dea2b5fe33da6cb62049ef03bfcd046517ded9 [diff] |
Correct association of PSU PWM Sensor Correct association of PSU PWM Sensor which can make redfish get correct PSU PWM Fan sensors in Thermal/Fans entries. Tested: Insert one 1100W PSU and check Web redfish page, below entry can be found. https://ip/redfish/v1/Chassis/Flextronics_S_1100ADU00_201_PSU_1/Thermal "@odata.id": "/redfish/v1/Chassis/Flextronics_S_1100ADU00_201_PSU_1/Thermal#/ Fans/1", "@odata.type": "#Thermal.v1_3_0.Fan", "MaxReadingRange": 100, "MemberId": "Pwm_PSU1_Fan_1", "MinReadingRange": 0, "Name": "Pwm PSU1 Fan 1", "Reading": 29, "ReadingUnits": "Percent", "Status": { "Health": "OK", "State": "Enabled" } Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com> Change-Id: I8f068ef3e5bd246a2432e180b1c86dbd6b0bad97
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