commit | ecac0ae208cfc437f2a8634d215ca67f118bf6af | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Wed Jul 08 13:09:08 2020 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue Jul 14 10:12:05 2020 -0500 |
tree | 9eda3568f69a3906b335503847c853e227a3e2ca | |
parent | 5e034afc7ac41630f075feda6bbeade1052ed27e [diff] |
Fixes for when sensor value is a double The change to the xyz.openbmc_project.Sensor.Value interface that moves the Value property to a double from an int64_t has merged, which uncovered some problems in the code that was trying to detect the type and handle it accordingly. This does remove support for the Scale property on the Value interface, as meson CI won't even compile with it since the double version of it is empty and so the function has unused parameters, which meson doesn't like. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I34dc6cc83dae76a879258bf3c6859cd348e4de4d
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.
To enable the use of Linux features like cgroups prioritization and udev/systemd control, one instance of phosphor-hwmon is intended to be run per hwmon sysfs class instance. This requires an algorithm for selecting a stable, well-known D-Bus busname. The algorithm is <PREFIX>-<ID>.Hwmon<N> where PREFIX is an autoconf configurable prefix (BUSNAME_PREFIX, xyz.openbmc_project by default), ID is a std::hash of the /sys/devices path backing the hwmon class instance, and N is the implemented phosphor-hwmon D-Bus API version.