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