commit | 9e997b4da98725401769ef82fe26e11c46a059d9 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Fri Mar 08 13:42:10 2019 -0800 |
committer | Patrick Venture <venture@google.com> | Mon Mar 11 07:18:22 2019 -0700 |
tree | 2491fb824cf7dd7dc31eb066d573200d0d1261e4 | |
parent | 5d8f570bdc264d7447ee2fc0fb6f134c1a3780f8 [diff] |
use filesystem instead of experimental Use filesystem now that it should be available instead of experimental::filesystem. Change-Id: I62838b343ce34f85a47661f1eaaff3c7e6338bbf 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.