commit | c635e8609f5246224dfba7db57991de0b1c5327f | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Tue Apr 17 14:45:31 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Tue Apr 24 19:56:28 2018 +0000 |
tree | c91c8ad47d43fcb7e332f5028f7e53c14c0400b2 | |
parent | dd46739659dd8ce2adb8def30f6b8c2ef4a75c0d [diff] |
test: moved to tools Moved the current test folder to tools and started a new test folder. This will allow for rapid introduction of new unit-tests into phosphor-hwmon. The tools folder contains small tools to aid in phosphor-hwmon configuration and misc. This folder will go under review at another time. Change-Id: Ice18ffb5cdcbd519d49088e233a8082a9410b03e Signed-off-by: Patrick Venture <venture@google.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.