commit | c9c818ed854f23a87dd77c2209b6a27805825adb | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Tue Sep 04 09:44:49 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Tue Sep 04 09:46:46 2018 -0700 |
tree | 436b52857dc739da6e2653d11e2e8a953c7cda1e | |
parent | 043d32306e00484afc446a44789b61869ea14f84 [diff] |
hwmon: revert alignment change and fix-up Using clang-format off/on instead of INDENT-OFF/ON. Change-Id: If4ecec970cfc456f8461c42e03159df29b4e8542 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.