commit | ad6043f6ff524bbf6df4d313c0ce447da3007619 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Jul 22 19:26:56 2022 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Jul 22 19:26:56 2022 -0500 |
tree | f5bffaa24816206a0ebe9994b1dbe5a8a943bea6 | |
parent | cabec7f730ffbfd120bab81b385cf9a9a60d526e [diff] |
sdbusplus: use shorter type aliases The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I86dfa77a53a306b0e868eeb82de30b270704c455
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.