Dealing with a sensor which doesn't have valid reading until host is powered up

Alex Qiu xqiu at google.com
Wed Aug 26 10:49:11 AEST 2020


Hi James and OpenBMC community,

We have a sensor for HwmonTempSensor which doesn't have a valid reading
until the host is fully booted. Before it's becoming alive and useful, it's
getting disabled in code (
https://github.com/openbmc/dbus-sensors/blob/master/include/sensor.hpp#L266)
because of errors thrown up by the hwmon driver. Ideally, the thermal
control loop should kick the fan to fail safe mode until no more errors are
observed.

Any suggestions on how we should handle this kind of sensor properly?

Thank you!

- Alex Qiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200825/e3dcf1a8/attachment.htm>


More information about the openbmc mailing list