[PATCH skeleton v2 0/2] Enable and Handle Checkstop gpio sensor.
OpenBMC Patches
openbmc-patches at stwcx.xyz
Wed May 18 02:10:54 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 (2):
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.
Makefile | 24 +++---
bin/Barreleye.py | 7 ++
bin/Openbmc.py | 3 +-
bin/Sensors.py | 9 +++
bin/chassis_control.py | 12 ++-
includes/gpio-init-gdbus.c | 100 +++++++++++++++++++++++++
includes/gpio-init-sdbus.c | 94 +++++++++++++++++++++++
includes/gpio.c | 93 +----------------------
includes/gpio.h | 9 ++-
objects/host_xstop_obj.c | 181 +++++++++++++++++++++++++++++++++++++++++++++
10 files changed, 421 insertions(+), 111 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