commit | 0e74975747f46aeb8da7790c6176d5372187b75e | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Tue Nov 06 15:25:41 2018 -0800 |
committer | William A. Kennington III <wak@google.com> | Tue Nov 06 15:25:48 2018 -0800 |
tree | 289826e4e306f642b4ea3611449a3f19de584af5 | |
parent | db7ecb6aaa066a2468aaa82cd1dfdbe60f3793eb [diff] |
mainloop: Include <cassert> We are currently relying on sdbusplus implicitly including cassert for us. Since we use assert(), depend on the header providing it. Change-Id: Idb771e74d5c0d5bdb0d82455dfd9d2e1a8b6b6ef Signed-off-by: William A. Kennington III <wak@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.