commit | 99b95815550d2d84140d00032e341b8206fa9601 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Dec 19 08:59:15 2018 -0800 |
committer | Patrick Venture <venture@google.com> | Wed Jan 09 17:26:08 2019 +0000 |
tree | 3d51879e8ea0595521e9436ce17c0a8e2c05fdf0 | |
parent | 12659aa103878c10567620d48726b6ff6f9d7993 [diff] |
sensor: add gpio handle test variation Add a sensor constructor test where the gpio handle is required. Change-Id: I05050fb71a6287183ca94f974e965e3f58de9499 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.