commit | 28842e1a26aae780ff7d96563b480e2d10df1876 | [log] [tgz] |
---|---|---|
author | Matthew Barth <msbarth@us.ibm.com> | Mon May 07 16:47:51 2018 -0500 |
committer | Matthew Barth <msbarth@us.ibm.com> | Mon May 07 16:47:51 2018 -0500 |
tree | dec23706c36b8192c42b3d7a2c2904978a0708b8 | |
parent | 7c424807216cf276fb247954060561030720ea4e [diff] |
.gitignore: Add test-driver Change-Id: I08226c55afaebf0f2633a2a34879589e66fdf9ee Signed-off-by: Matthew Barth <msbarth@us.ibm.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.