monitor: Add NonzeroSpeed trust group class
This class provides the ability to only trust
the sensors in the group if at least one of them
has a nonzero speed.
It is being used for a system where the tach values for
a set of rotors are reported as zero by the fan controller
hardware when the other rotor on the fan is moving to a
new target speed. As all the fans are set to the same speed
at the same time, the rotors in question all report as
zeros at exactly the same time, and this is then used to
know when the values cannot be trusted.
Change-Id: I29a014014bc8455287f90e5b573a856814331a53
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed