/openbmc/phosphor-fan-presence/monitor/example/ |
H A D | monitor.yaml | diff 69f2f48eb6708c7318e47f287fea1b28d9ec9ba7 Tue Oct 20 20:59:43 CDT 2020 Jolie Ku <jolie_ku@wistron.com> monitor: Add up/down count fault detection
Create an up/down count fault determination algorithm that could be used in place of the current timer based outOfRange() function. The up/down count is a different method for determining when a fan is faulted by counting up each iteration a rotor is out of spec and removing those counts when the rotor returns within spec.
Tested: 1. Remove a fan and run Mihawk, the counter add 1 when sensor is out of spec, and replaced the fan back before hit the threshold, the counter decrement back to 0. 2. Remove a fan, counter add 1 and mark the removed fan as nonfunctional when counter reaches the threshold, and Replaced the fan back, counter will decrement back to 0 and fan back to functional.
Change-Id: I632dd2c7553b007beb7ae6bb694a590d2cfc2a1c Signed-off-by: Jolie Ku <jolie_ku@wistron.com> Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | gen-fan-monitor-defs.py | diff 69f2f48eb6708c7318e47f287fea1b28d9ec9ba7 Tue Oct 20 20:59:43 CDT 2020 Jolie Ku <jolie_ku@wistron.com> monitor: Add up/down count fault detection
Create an up/down count fault determination algorithm that could be used in place of the current timer based outOfRange() function. The up/down count is a different method for determining when a fan is faulted by counting up each iteration a rotor is out of spec and removing those counts when the rotor returns within spec.
Tested: 1. Remove a fan and run Mihawk, the counter add 1 when sensor is out of spec, and replaced the fan back before hit the threshold, the counter decrement back to 0. 2. Remove a fan, counter add 1 and mark the removed fan as nonfunctional when counter reaches the threshold, and Replaced the fan back, counter will decrement back to 0 and fan back to functional.
Change-Id: I632dd2c7553b007beb7ae6bb694a590d2cfc2a1c Signed-off-by: Jolie Ku <jolie_ku@wistron.com> Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
H A D | types.hpp | diff 69f2f48eb6708c7318e47f287fea1b28d9ec9ba7 Tue Oct 20 20:59:43 CDT 2020 Jolie Ku <jolie_ku@wistron.com> monitor: Add up/down count fault detection
Create an up/down count fault determination algorithm that could be used in place of the current timer based outOfRange() function. The up/down count is a different method for determining when a fan is faulted by counting up each iteration a rotor is out of spec and removing those counts when the rotor returns within spec.
Tested: 1. Remove a fan and run Mihawk, the counter add 1 when sensor is out of spec, and replaced the fan back before hit the threshold, the counter decrement back to 0. 2. Remove a fan, counter add 1 and mark the removed fan as nonfunctional when counter reaches the threshold, and Replaced the fan back, counter will decrement back to 0 and fan back to functional.
Change-Id: I632dd2c7553b007beb7ae6bb694a590d2cfc2a1c Signed-off-by: Jolie Ku <jolie_ku@wistron.com> Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
H A D | json_parser.cpp | diff 69f2f48eb6708c7318e47f287fea1b28d9ec9ba7 Tue Oct 20 20:59:43 CDT 2020 Jolie Ku <jolie_ku@wistron.com> monitor: Add up/down count fault detection
Create an up/down count fault determination algorithm that could be used in place of the current timer based outOfRange() function. The up/down count is a different method for determining when a fan is faulted by counting up each iteration a rotor is out of spec and removing those counts when the rotor returns within spec.
Tested: 1. Remove a fan and run Mihawk, the counter add 1 when sensor is out of spec, and replaced the fan back before hit the threshold, the counter decrement back to 0. 2. Remove a fan, counter add 1 and mark the removed fan as nonfunctional when counter reaches the threshold, and Replaced the fan back, counter will decrement back to 0 and fan back to functional.
Change-Id: I632dd2c7553b007beb7ae6bb694a590d2cfc2a1c Signed-off-by: Jolie Ku <jolie_ku@wistron.com> Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
H A D | fan.hpp | diff 69f2f48eb6708c7318e47f287fea1b28d9ec9ba7 Tue Oct 20 20:59:43 CDT 2020 Jolie Ku <jolie_ku@wistron.com> monitor: Add up/down count fault detection
Create an up/down count fault determination algorithm that could be used in place of the current timer based outOfRange() function. The up/down count is a different method for determining when a fan is faulted by counting up each iteration a rotor is out of spec and removing those counts when the rotor returns within spec.
Tested: 1. Remove a fan and run Mihawk, the counter add 1 when sensor is out of spec, and replaced the fan back before hit the threshold, the counter decrement back to 0. 2. Remove a fan, counter add 1 and mark the removed fan as nonfunctional when counter reaches the threshold, and Replaced the fan back, counter will decrement back to 0 and fan back to functional.
Change-Id: I632dd2c7553b007beb7ae6bb694a590d2cfc2a1c Signed-off-by: Jolie Ku <jolie_ku@wistron.com> Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
H A D | tach_sensor.hpp | diff 69f2f48eb6708c7318e47f287fea1b28d9ec9ba7 Tue Oct 20 20:59:43 CDT 2020 Jolie Ku <jolie_ku@wistron.com> monitor: Add up/down count fault detection
Create an up/down count fault determination algorithm that could be used in place of the current timer based outOfRange() function. The up/down count is a different method for determining when a fan is faulted by counting up each iteration a rotor is out of spec and removing those counts when the rotor returns within spec.
Tested: 1. Remove a fan and run Mihawk, the counter add 1 when sensor is out of spec, and replaced the fan back before hit the threshold, the counter decrement back to 0. 2. Remove a fan, counter add 1 and mark the removed fan as nonfunctional when counter reaches the threshold, and Replaced the fan back, counter will decrement back to 0 and fan back to functional.
Change-Id: I632dd2c7553b007beb7ae6bb694a590d2cfc2a1c Signed-off-by: Jolie Ku <jolie_ku@wistron.com> Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
H A D | fan.cpp | diff 69f2f48eb6708c7318e47f287fea1b28d9ec9ba7 Tue Oct 20 20:59:43 CDT 2020 Jolie Ku <jolie_ku@wistron.com> monitor: Add up/down count fault detection
Create an up/down count fault determination algorithm that could be used in place of the current timer based outOfRange() function. The up/down count is a different method for determining when a fan is faulted by counting up each iteration a rotor is out of spec and removing those counts when the rotor returns within spec.
Tested: 1. Remove a fan and run Mihawk, the counter add 1 when sensor is out of spec, and replaced the fan back before hit the threshold, the counter decrement back to 0. 2. Remove a fan, counter add 1 and mark the removed fan as nonfunctional when counter reaches the threshold, and Replaced the fan back, counter will decrement back to 0 and fan back to functional.
Change-Id: I632dd2c7553b007beb7ae6bb694a590d2cfc2a1c Signed-off-by: Jolie Ku <jolie_ku@wistron.com> Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
H A D | tach_sensor.cpp | diff 69f2f48eb6708c7318e47f287fea1b28d9ec9ba7 Tue Oct 20 20:59:43 CDT 2020 Jolie Ku <jolie_ku@wistron.com> monitor: Add up/down count fault detection
Create an up/down count fault determination algorithm that could be used in place of the current timer based outOfRange() function. The up/down count is a different method for determining when a fan is faulted by counting up each iteration a rotor is out of spec and removing those counts when the rotor returns within spec.
Tested: 1. Remove a fan and run Mihawk, the counter add 1 when sensor is out of spec, and replaced the fan back before hit the threshold, the counter decrement back to 0. 2. Remove a fan, counter add 1 and mark the removed fan as nonfunctional when counter reaches the threshold, and Replaced the fan back, counter will decrement back to 0 and fan back to functional.
Change-Id: I632dd2c7553b007beb7ae6bb694a590d2cfc2a1c Signed-off-by: Jolie Ku <jolie_ku@wistron.com> Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|