commit | d273b1e06d8d68f60aac3139e5c83f884416c537 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Mar 30 21:55:44 2022 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Apr 01 16:02:29 2022 -0500 |
tree | 9654c7d2f8d4a6346528af90b620b7e1b4e886cc | |
parent | d54618168d143988d183af831228a3a88e7c615b [diff] |
sdbusplus: object: don't use 'bool' argument constructor `sdbusplus::server::object_t` has long had an enum-based parameter for signal action, but maintained a backwards compatible boolean mapping. It is time to remove this boolean to make it more observable which actions are being used in applications. Map all `true` occurrences to `action::defer_emit` or `action::emit_no_signals` as appropriate. - Value: defer_emit (primary object) - Others: emit_no_signals (secondary objects) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I892a1c953231123aa5407b388ff9133882d80feb
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps: 1. meson build 2. ninja -C build To clean the repository run `rm -rf build`.
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 either a std::hash of the /sys/devices path backing the hwmon class instance or provided suffix value from the command line, and N is the implemented phosphor-hwmon D-Bus API version.