commit | 0fe4cb34b5292a559693407ebc0b38645c6c19d6 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Oct 18 19:19:58 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Thu Oct 18 19:19:58 2018 -0700 |
tree | c44e29c3ba94bd97bd74751b2d2c16e7ea01f993 | |
parent | 4cbdfef205ba4011018a3a287dd238e00509a757 [diff] |
mainloop: Use sdeventplus Convert to using sdeventplus instead of sd_event directly. Change-Id: Ie8ee25c2d75ac4c56b88fb79f70eaa53c4f7b6e4 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.