commit | 8729e44a35e0b78c6119c769156cb46bd0987415 | [log] [tgz] |
---|---|---|
author | Matthew Barth <msbarth@us.ibm.com> | Mon Apr 02 09:36:33 2018 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Fri Apr 13 14:33:41 2018 +0000 |
tree | fbbb2fdbf8ba1e374e07947909cce3af58415a7c | |
parent | 38c74e70d98d5dc9f106868252ea8afd0787430b [diff] |
Remove OCC EAGAIN workaround The ability to handle an EAGAIN for a sensor from the OCC device can be done by defining the EAGAIN return code(11) as a sensor removal return code within each OCC config file. This return code can be defined at the device level within the config file to be applied across all sensors the OCC provides. Tested: OCC sensors are removed from Dbus when EAGAIN is returned Resolves openbmc/openbmc#2327 Change-Id: If16ec37da6d960d54de1d47af3a39944249df772 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.