commit | 12659aa103878c10567620d48726b6ff6f9d7993 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Dec 19 13:58:43 2018 -0800 |
committer | Patrick Venture <venture@google.com> | Wed Jan 09 17:23:12 2019 +0000 |
tree | f83f8109414a3ed8912837063a7df77554876773 | |
parent | e3e0f97d648d7251f6670289ae38284c79686e47 [diff] |
sensor: add underscore prefix to members Add underscore prefix to members for sensor object. Change-Id: I5b59f9f45cc20bd700940bc3b0e5d2d4127b333d 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.