Removing sensors on standby
Thaj
tajudheenk at gmail.com
Tue Jun 11 20:07:43 AEST 2019
Hi,
As per current implementation of OpenBMC sensor architecture sensor is
added/removed when hwmon driver is probed/removed.
But there are scenarios where hwmon driver is available but values are not
available. For example there are some sensors (VR, ADC, pwm tach) in my
system which are unavailable on BMC Standby(Host powered OFF). Power to
these devices are removed when host is off causing hwmon driver to read a
value 0. Please find the attached screenshot for reference.
Requirement is that, Sensor should be monitored only on host powered ON
state.
How to handle sensors in this case?
Is it a good idea to add a config file entry for this purpose (something
like REMOVE_ON_STANDBY) ?
Regards,
Thaj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190611/4e96df86/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sensor.PNG
Type: image/png
Size: 39228 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190611/4e96df86/attachment-0001.png>
More information about the openbmc
mailing list