commit | b6c1771bfd4dcc4bc461878424b3f71b3bffdbca | [log] [tgz] |
---|---|---|
author | Ed Tanous <edtanous@google.com> | Fri Sep 03 10:12:37 2021 -0700 |
committer | Ed Tanous <ed@tanous.net> | Sat Nov 06 17:47:03 2021 +0000 |
tree | fed915b7ed9217cbbd977433d134099fc77a1af8 | |
parent | 6a22a2ffd18995b1f3b9e5601317543f6f527c8b [diff] |
clang-format with latest clang New clang, new format Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I822c00ec321bdcbfd20adbb050c02b994da179a7
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.