commit | 56c876f3a108f4f4fdbe13898ac3ba47b98b9a20 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Mar 06 08:50:15 2019 -0800 |
committer | Patrick Venture <venture@google.com> | Wed Mar 06 13:06:33 2019 -0800 |
tree | d2049b0859c810f37d7198026c8d241fb7cf1f6f | |
parent | 27512cf82dd7caf27a5886c050623499686d1fe8 [diff] |
test: rework to use Pair-wise comparison Use Pair-wise comparison instead of straight equality check. Change-Id: I3aa567015bfbd81578275fc0edf1ef785fde7678 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.