commit | cd40c8815a9533cb72d97e1d316e91650f14b024 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Thu Jan 24 14:06:44 2019 -0800 |
committer | Patrick Venture <venture@google.com> | Fri Jan 25 08:27:49 2019 -0800 |
tree | 60d138aa328a9aa966f71a39a8b16c36ff449128 | |
parent | e9764ff47f548c7c2a0e1205a94b75afdf27a993 [diff] |
test: add adjustvalue test Add a test that calls adjust value on a sensor value to verify it's processed as expected. Change-Id: Iff299efced680c730d7ba5bdeff71617446db042 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.