commit | 3ec41c53ac70b69b023d7ed92bd2908104d7cdf4 | [log] [tgz] |
---|---|---|
author | Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> | Fri Dec 10 16:05:17 2021 -0600 |
committer | Ed Tanous <ed@tanous.net> | Mon Jan 10 17:45:22 2022 +0000 |
tree | 56ec3a47037ae0edecf692a879d332782c65d180 | |
parent | 4786334f3eab8ab7f4d5ff8e94cf507b4a29c203 [diff] |
Add reporting of Relative Humidity for Hwmon By checking for IIO devies of in_humidityrelative_input or in_humidityrelative_raw we add to the reading of those devices too. Also the units for "Percent" now have become overloaded, as humidity is "Percent" Relative Humidity and not a a Utilization. I believe Utilization should NOT be a "Percent" but a fraction from 0 to 1. Tested: on Rainier's Blyth and Everest's Storm King Op Panels busctl introspect --no-pager xyz.openbmc_project.HwmonTempSensor \ /xyz/openbmc_project/sensors/humidity/Relative_Humidity Results consistent with location of the systems. Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I62c2464177542e7a2234f277be30d4fa4a849381
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