commit | 641299377c7352f9c946edf1527e5ded73c01f52 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Tue Feb 13 21:10:17 2024 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Feb 13 21:35:42 2024 -0600 |
tree | a43f3de2fcf8d0d306911ce8636cb2c273847750 | |
parent | 47fb49ac4af2b34d2a3d5e2aa062cbb7a7273864 [diff] |
prefer std::format over fmt Since C++20, std::format has existed so prefer that. For the single fmt::print call we can use stdplus::print until GCC supports the std one. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4c8af58966fb7330dee20fb13ae2ef11d8a823c7
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps:
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 a meson 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.