commit | dd46739659dd8ce2adb8def30f6b8c2ef4a75c0d | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Fri Apr 20 17:22:49 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Tue Apr 24 19:56:24 2018 +0000 |
tree | 82abf10a05d24126940f1ff98a384a4c31c8654e | |
parent | 50cf1c57b782cfb139245b15893f59d19066ee4f [diff] |
sysfs: cleanup: add missing namespace comment Namespace was missing terminator comment. Change-Id: I9a35742fbdf5c0cdf162dfead0e86864b635a9ab Signed-off-by: Patrick Venture <venture@google.com>
Exposes generic hwmon entries as DBus objects.
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.