commit | 17cfad6ce0a217697703d0b9c40bdc3ebd3f1b43 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Mon Mar 11 14:14:30 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Thu Mar 21 17:40:53 2019 +0000 |
tree | 9ff9964821288be830c86e9295a3eea2c2d95c6d | |
parent | 69a68eddc25381ca6bee24ab668ba67a975a1954 [diff] |
swap out getopts for cli11 Swap out getopt for cli11 for parsing parameters. Tested: Verified on quanta-q71l-variant that phosphor-hwmon started as before. Change-Id: Ic0137432afd254b77133842b5d73a5bab1e415aa 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.