commit | 129de0ab1ea8eee567fe3fc17ae515f3297cc7f3 | [log] [tgz] |
---|---|---|
author | Josh Lehan <krellan@google.com> | Wed Mar 24 18:29:50 2021 -0700 |
committer | Josh Lehan <krellan@google.com> | Thu Mar 25 20:22:12 2021 -0700 |
tree | b12700914b36a2d6150f573086ecb4407f0adead | |
parent | 373225765ec76e358d11b2ee58488a72fc6c446e [diff] |
VariantVisitors: Template replace redundant code There are a lot of cut-and-paste code blocks in VariantVisitors, and much of the redundancy can be replaced by just using a template. Also took the opportunity to improve the error message that is thrown, when a type mismatch exception happens. Tested: Works for me, no changes noted from previous behavior. Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: I96b45dde7e2f6445082b3f69d66bf92d33eedf64
dbus-sensors is a collection of sensor applications that provide the xyz.openbmc_project.Sensor collection of interfaces. They read sensor values from hwmon, d-bus, or direct driver access to provide readings. Some advance non-sensor features such as fan presence, pwm control, and automatic cpu detection (x86) are also supported.
runtime re-configurable from d-bus (entity-manager or the like)
isolated: each sensor type is isolated into its own daemon, so a bug in one sensor is unlikely to affect another, and single sensor modifications are possible
async single-threaded: uses sdbusplus/asio bindings
multiple data inputs: hwmon, d-bus, direct driver access