Add support for power supply off when it should be on

If the power good bit indicates false, or the UNIT_IS_OFF bit is on,
create an error log and attach STATUS_WORD, STATUS_INPUT, STATUS_VOUT,
STATUS_IOUT, and MFR_SPECIFIC values to the metadata. The combination of
those PMBus command results should give an indication as to why the
power supply has turned off.

Change-Id: I692a8fdeac3fe208a5eb70964db7b5094cfb587c
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
6 files changed
tree: d87792f8e97186108b259e521c1c60c35a8fff48
  1. power-sequencer/
  2. power-supply/
  3. test/
  4. xyz/
  5. .gitignore
  6. argument.hpp
  7. bootstrap.sh
  8. configure.ac
  9. device.hpp
  10. device_monitor.hpp
  11. elog-errors.hpp
  12. event.hpp
  13. file.hpp
  14. LICENSE
  15. Makefile.am
  16. names_values.hpp
  17. pmbus.cpp
  18. pmbus.hpp
  19. README.md
  20. timer.cpp
  21. timer.hpp
  22. utility.cpp
  23. utility.hpp
README.md

Code for detecting and analyzing power faults on Witherspoon.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.