commit | e3e0f97d648d7251f6670289ae38284c79686e47 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Dec 19 08:58:21 2018 -0800 |
committer | Patrick Venture <venture@google.com> | Wed Jan 02 11:56:28 2019 -0800 |
tree | 48122b1f2363c636ca5a35b133698c25ff655b04 | |
parent | 0e2d68d2af9b4fbb67319fcfd41112d83e990986 [diff] |
test: add gpiohandle mock impl Add gpio handle mock implementation for use in testing. Change-Id: I0fb2d1af4739ad700f62a4e7cbbe62db528bb93e 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.