commit | f4414cba09577e906b7b022a96b41e6a859da149 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Tue Apr 13 10:30:37 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Apr 13 14:41:47 2021 -0500 |
tree | 02cd68e38d417512e9e47fccbe10e290dcfd8368 | |
parent | 347666f8951c1ee3f9241faf19d1171ebbdd299d [diff] |
enable shellcheck Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I16d09efd983f2379e2340fac08bc0ccba495fb81
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.