commit | 26d21731c292a02ec71480fade9a06658160eafb | [log] [tgz] |
---|---|---|
author | Edward A. James <eajames@us.ibm.com> | Thu Nov 30 13:17:26 2017 -0600 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Dec 11 20:41:15 2017 -0500 |
tree | 1a0f658e70d9b3387c8643fb1ebd74dfeeecf04f | |
parent | fee106b9bf94e9a393c7c44b53b7cc5d9f89b439 [diff] |
Silently exit on ENODEV ENODEV should be included in the check for "disappeared" device or directory when hwmon driver is being unloaded. There is a race condition between unloading drivers and stopping hwmon polling, even up to several seconds, which exceeds the previous retry period for ENODEV. Change-Id: I39c8ae9ea79aa41028f5529c7ea9816d4736fc65 Signed-off-by: Edward A. James <eajames@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 full clean the repository again 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.