commit | 827886a372ad2f97d31edbfd8a649460133d1af3 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Jun 19 18:31:23 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Wed Jun 19 18:31:23 2019 -0700 |
tree | dc6228ad252f77f872ec351f349d34ba53a03438 | |
parent | db76d49cf7740500db4e677046a9175e0b3f173e [diff] |
types: add missing headers Add missing explicit headers to avoid indirect header inclusion dependencies. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I889fb1b7e62dbac1a9347421e97a41716f02b20d
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.