<div dir="ltr"><div>Hi James,</div><div><br></div><div>After some debugging, I realized that the code I pointed out earlier wasn't the root cause. Update is that, the HwmonTempSensor stops updating after the hwmon driver returns EAGAIN as errno. I'll keep debugging...</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">- Alex Qiu</div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 25, 2020 at 5:49 PM Alex Qiu <<a href="mailto:xqiu@google.com">xqiu@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi James and OpenBMC community,</div><div><br></div><div>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 (<a href="https://github.com/openbmc/dbus-sensors/blob/master/include/sensor.hpp#L266" target="_blank">https://github.com/openbmc/dbus-sensors/blob/master/include/sensor.hpp#L266</a>) 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.</div><div><br></div><div>Any suggestions on how we should handle this kind of sensor properly?<br></div><div><br></div><div>Thank you!</div><br clear="all"><div><div dir="ltr"><div dir="ltr">- Alex Qiu</div></div></div></div>
</blockquote></div>