commit | 043d32306e00484afc446a44789b61869ea14f84 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Fri Aug 31 10:10:53 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Fri Aug 31 12:42:31 2018 -0700 |
tree | 786a28de89a2a916ba5c2e4b73411516a10dc8af | |
parent | 901f117733c828aa7519610eb23ce112b9d068a8 [diff] |
add .clang-format Change-Id: I94ce26d595367e08d6fb3734535bcd855f1b1473 Signed-off-by: Patrick Venture <venture@google.com>
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.