Enable/Disable some sensors when Host On/Off

Ed Tanous ed at tanous.net
Tue Oct 20 04:31:44 AEDT 2020


On Sun, Oct 18, 2020 at 7:00 AM Thu Ba Nguyen <tbnguyen1985 at gmail.com> wrote:
>
> Do we have any options/solution to Enable/Disable some sensors when Host On/Off?

I believe this is already supported in the entity-manager/dbus-sensors
stack, with the "PowerState" parameter in the EM configuration;

example:
https://github.com/openbmc/entity-manager/blob/def29274907ef77187b02ae19d55bb9888413892/configurations/WFT%20Baseboard.json#L6

There's also mitigations for the common thresholding issues, like a
power state change coming in during the sensor read.


More information about the openbmc mailing list