commit | feb744a71b5a70ba2726fed7f002adf50e5c859b | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Jun 26 19:07:48 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Thu Jun 27 14:22:51 2019 -0700 |
tree | e39ab5e2e3f1dd64f0084c65697cfd814ad360f6 | |
parent | 1fc55df81aa66308f5cab5520d11df0aef262144 [diff] |
mainloop: move out the interface update method Move the interface update method out of the read() loop. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I430d20ded4efd89c691eff368d005791f0138929
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.