commit | 7bd5fcf356d7ba99a3648ad4b905078806fe27ec | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Mon Jan 22 16:14:28 2018 -0800 |
committer | Patrick Venture <venture@google.com> | Thu Feb 22 15:33:12 2018 +0000 |
tree | 2024f730e19a1e0d51430b6e2164d24e0b2cad51 | |
parent | a4bba96ed8e6a706928bd2c4de5f113df9304047 [diff] |
Read MaxValue and MinValue from configuration Read MaxValue and MinValue from enviroment variables file. With this change MAXVALUE_temp1 and MINVALUE_temp1 for example can be read from the configuration and added to dbus. Change-Id: Ic7c2ba57ae65415bb154c617b13866d661969e5a Signed-off-by: James Feist <james.feist@linux.intel.com>
Exposes generic hwmon entries as DBus objects.
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To full clean the repository again 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.