commit | 5dc6fe7c8cf6571988c130e8d2127de63963a3f4 | [log] [tgz] |
---|---|---|
author | Joseph Reynolds <jrey@us.ibm.com> | Thu May 10 15:54:54 2018 -0500 |
committer | Joseph Reynolds <jrey@us.ibm.com> | Mon May 14 16:01:54 2018 -0500 |
tree | b631f0284841f7099ee35770f92842fae7a1a99b | |
parent | 28842e1a26aae780ff7d96563b480e2d10df1876 [diff] |
Use s.c_str() in log messages Resolves openbmc/openbmc#2905 Tested: static_assert only Change-Id: Iac42db5c4a63116959b8f5fb7b611106e36e51bf Signed-off-by: Joseph Reynolds <jrey@us.ibm.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.