commit | 52b40613764d9beaa498664c783edbb87d99dcd3 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Dec 19 13:36:41 2018 -0800 |
committer | Patrick Venture <venture@google.com> | Wed Jan 02 11:52:25 2019 -0800 |
tree | b05a33597c81670f0fa03c1605b026e8becfb0c4 | |
parent | 2864b0637f6a826dd2919e533100f9c18afda1cd [diff] |
mainloop: add underscore prefix to members Most members of mainloop object have an underscore prefix. For consistency add this prefix to all members. The discussion within OpenBMC pertaining to prefixes and suffixes for member variables indicates there is latitude within a repository. Change-Id: Ifce915923b9b8c58a433f334d45e19143b7b734f 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.