Home
last modified time | relevance | path

Searched hist:dabd48dd9ad9c05b1ad67e3540385bd69fe20239 (Results 1 – 3 of 3) sorted by relevance

/openbmc/dbus-sensors/src/
H A DDeviceMgmt.cppdabd48dd9ad9c05b1ad67e3540385bd69fe20239 Wed Aug 03 17:43:17 CDT 2022 Zev Weiss <zev@bewilderbeest.net> Add device-management infrastructure

We're moving toward having dbus-sensors take over sensor device
lifecycle management from entity-manager; this code (loosely based on
entity-manager's include/devices.hpp and src/overlay.cpp) provides some
general-purpose utilities for instantiating and destroying devices.

This also includes a variant of setupPropertiesChangedMatches() taking
an I2CDeviceTypeMap instead of a span of C strings, so that we can
support both existing sensor daemons and ones that get converted to use
that instead of the simple string arrays they currently employ.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: I39fcd0de2c70cd58b4d132cdcae5f82319732dbb
H A DUtils.cppdiff dabd48dd9ad9c05b1ad67e3540385bd69fe20239 Wed Aug 03 17:43:17 CDT 2022 Zev Weiss <zev@bewilderbeest.net> Add device-management infrastructure

We're moving toward having dbus-sensors take over sensor device
lifecycle management from entity-manager; this code (loosely based on
entity-manager's include/devices.hpp and src/overlay.cpp) provides some
general-purpose utilities for instantiating and destroying devices.

This also includes a variant of setupPropertiesChangedMatches() taking
an I2CDeviceTypeMap instead of a span of C strings, so that we can
support both existing sensor daemons and ones that get converted to use
that instead of the simple string arrays they currently employ.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: I39fcd0de2c70cd58b4d132cdcae5f82319732dbb
/openbmc/dbus-sensors/
H A Dmeson.builddiff dabd48dd9ad9c05b1ad67e3540385bd69fe20239 Wed Aug 03 17:43:17 CDT 2022 Zev Weiss <zev@bewilderbeest.net> Add device-management infrastructure

We're moving toward having dbus-sensors take over sensor device
lifecycle management from entity-manager; this code (loosely based on
entity-manager's include/devices.hpp and src/overlay.cpp) provides some
general-purpose utilities for instantiating and destroying devices.

This also includes a variant of setupPropertiesChangedMatches() taking
an I2CDeviceTypeMap instead of a span of C strings, so that we can
support both existing sensor daemons and ones that get converted to use
that instead of the simple string arrays they currently employ.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: I39fcd0de2c70cd58b4d132cdcae5f82319732dbb