commit | af6227a3eb3fc918425d7588e001a75bd348232d | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Tue Sep 11 18:08:16 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Tue Sep 11 18:10:43 2018 -0700 |
tree | 75123f1c3939cf81306c2a415e9f886e01f0bf2c | |
parent | cc86915b988098032d56a233f4f5de9f3c91f138 [diff] |
minor cleanup: remove unused c header Change-Id: I562aad32f8b860fc954773428e6a929759c694d3 Signed-off-by: Patrick Venture <venture@google.com>
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.