commit | ac47309f62f91ccfa421e432eb7ff9f7a1da9613 | [log] [tgz] |
---|---|---|
author | Matthew Barth <msbarth@us.ibm.com> | Mon May 07 14:41:46 2018 -0500 |
committer | Patrick Venture <venture@google.com> | Mon Jun 04 15:27:55 2018 +0000 |
tree | cb15615d15bac5d61e657d6783b101611f816b60 | |
parent | e289100ec0dc9944439092d1d8f97de8123ed9c6 [diff] |
Move sensor adjust within sensor object All sensor adjustments should be contained within the sensor object for the sensor. This allows the adjustments to be retrieved for a given sensor and applied accordingly. Tested: No change in adjusting a sensor value No change in removing a sensor given a removal return code Change-Id: I5e1e40fe41b4064422a47178aec1f297b781566d Signed-off-by: Matthew Barth <msbarth@us.ibm.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 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.