commit | 2e41b13f9ea27976a85abbbc5e3028fa258d16d2 | [log] [tgz] |
---|---|---|
author | Matthew Barth <msbarth@us.ibm.com> | Mon May 07 14:15:45 2018 -0500 |
committer | Matthew Barth <msbarth@us.ibm.com> | Thu May 24 10:19:36 2018 -0500 |
tree | 05d3414cb7c8fd24aab61ba661a8f9525835ddff | |
parent | 9c43106c5e71e9cc9d8778d92c7b6377e6926d7a [diff] |
Move status iface creation into sensor object For sensors that have a status interface created with a functional property set according to its fault sysfs file value, the object associated with the sensor should contain the creation of this interface. Tested: No change in status interface creation for sensors Change-Id: Ic3c0a81c661ac481b90ad9bd4c8bf415dae3520e Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Exposes generic hwmon entries as DBus objects.
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.