| commit | 94539af60991235bc921c848ab1aba47485265b3 | [log] [tgz] |
|---|---|---|
| author | Patrick Williams <patrick@stwcx.xyz> | Sat Feb 01 08:22:58 2025 -0500 |
| committer | Patrick Williams <patrick@stwcx.xyz> | Sat Feb 01 08:22:58 2025 -0500 |
| tree | 73d7cb45c7e803db047660b806f5aae11d2c535c | |
| parent | c1c5bcfab8a9c8779cac556fee14829dd16d2fd7 [diff] |
clang-format: update latest spec and reformat Copy the latest format file from the docs repository and apply. Change-Id: Ie32798cbf7083f3e59a4f36ff9459bb737c97476 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
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.