about phosphor pid control package

Will Liang (梁永鉉) Will.Liang at quantatw.com
Wed May 8 23:45:41 AEST 2019


Hi,

I have a question about getFailSafeMode().

Currently, only sensors that are defined as "temp" types can be checked for failure.
I did not find any "fan" type sensors to check if the fan has failed.
Our project need to check the fan fail so  I want to add another "fan" sensor type to check.

Can I add one more "for loop" to check the fan sensor in updateSensors() function in zone.cpp??

for (const auto& t : _thermalInputs)
{
    ........
}
for (const auto& t : _fanInputs)
{
    ........
}

BRs,
Will


More information about the openbmc mailing list