[PATCH skeleton v3 0/3] Enable and Handle Checkstop gpio sensor.

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed May 18 21:20:50 AEST 2016


In sensor_manager2.py :: class SensorManager :: method *register* expects a *sensor class name* to be instantiated. This will work only for sensors implemented in python. There must be a binding agnostic method to register sensors.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/skeleton/74)
<!-- Reviewable:end -->


https://github.com/openbmc/skeleton/pull/74

Hariharasubramanian R (3):
  Enable and Handle Checkstop gpio sensor.
  Host xstop sensor: Add sensor process to be started up, Emit signal on
    xstop, wait 30secs before rebooting host and a python binding
    object.
  Fix code review comments from Chris Austen.

 Makefile                   |  24 ++++----
 bin/Barreleye.py           |   7 +++
 bin/Openbmc.py             |   3 +-
 bin/Sensors.py             |   9 +++
 bin/chassis_control.py     |  26 +++++---
 includes/gpio-init-gdbus.c |  98 ++++++++++++++++++++++++++++++
 includes/gpio-init-sdbus.c |  93 ++++++++++++++++++++++++++++
 includes/gpio.c            |  94 +----------------------------
 includes/gpio.h            |   9 +--
 objects/host_xstop_obj.c   | 147 +++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 391 insertions(+), 119 deletions(-)
 create mode 100644 includes/gpio-init-gdbus.c
 create mode 100644 includes/gpio-init-sdbus.c
 create mode 100644 objects/host_xstop_obj.c

-- 
2.8.2




More information about the openbmc mailing list