commit | 3a816147e3e1e1196e7da61b26ccbd01fdbbf6c2 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 15:36:42 2021 -0500 |
committer | Brandon Kim <brandonkim@google.com> | Wed Oct 06 13:55:48 2021 -0700 |
tree | 3e602d998117e00f90d4a4af32674d5b209502b1 | |
parent | 04da055198fe03f119e53578ac80a6188461b748 [diff] |
build: switch to C++20 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4699bde837bcad3b9d9123bbafe0dd8bffcb97f6
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps: 1. meson build 2. ninja -C build To clean the repository run `rm -rf build`.
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 either a std::hash of the /sys/devices path backing the hwmon class instance or provided suffix value from the command line, and N is the implemented phosphor-hwmon D-Bus API version.