commit | cc86915b988098032d56a233f4f5de9f3c91f138 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Tue Sep 04 12:36:43 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Tue Sep 04 12:37:54 2018 -0700 |
tree | 38ff2ea42d1e7e9438dbbf1124ae9639cb38750e | |
parent | c9c818ed854f23a87dd77c2209b6a27805825adb [diff] |
clang-format: fix pointer alignment, sort using Change-Id: Ia1b19aeba59b2f680b62ce3855e929b9ad77377a 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.