[PATCH docs] added chassis, leds, buttons, inventory, and sensors

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Jan 12 13:30:10 AEDT 2016


From: Norman James <njames at us.ibm.com>

---
 dbus-interfaces.md | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 138 insertions(+)

diff --git a/dbus-interfaces.md b/dbus-interfaces.md
index 62363a2..28fe410 100644
--- a/dbus-interfaces.md
+++ b/dbus-interfaces.md
@@ -14,3 +14,141 @@ methods:
   *  `sendMessage(seq : byte, netfn : byte, lun : byte, cmd : byte, cc : byte, data : array[byte])`
    
   *  `setAttention()`
+
+# Chassis Control
+
+## `/org/openbmc/control/chassis0`
+
+signals:
+
+
+methods:
+
+  *  `(state : int) = getPowerState()`
+
+  *  `powerOff()`
+
+  *  `powerOn()`
+
+  *  `softPowerOff()`
+
+  *  `reboot()`
+  
+  *  `softReboot()`
+
+  *  `setIdentify()`
+
+  *  `clearIdentify()`
+
+  *  `setPowerPolicy(policy : int)`
+
+  *  `setDebugMode()`
+
+properties:
+
+  *  `reboot`
+
+
+# Sensors
+
+## `/org/openbmc/sensors/<type>/<name hierarchy>`
+
+signals:
+
+  *  `Warning(value : variant)`
+
+  *  `Critical(value : variant)`
+
+methods:
+
+  *  `(value : variant) = getValue()`
+
+  *  `setValue(value : variant)`
+
+  *  `resetThresholdState()`
+
+properties:
+
+  *  `error`
+
+  *  `units`
+
+  *  `value`
+
+  *  `critical_upper`
+
+  *  `critical_lower`
+
+  *  `warning_upper`
+
+  *  `warning_lower`
+
+  *  `threshold_state`
+
+  *  `worst_threshold_state`
+
+# Inventory
+
+## `/org/openbmc/inventory/<item hierarchy>`
+
+signals:
+
+
+methods:
+
+  *  `setPresent(present : string)`
+
+  *  `setFault(fault : string)`
+
+  *  `update(dict ( key : string, data : variant ) )`
+
+properties:
+
+  *  `fault`
+
+  *  `fru_type`
+
+  *  `is_fru`
+
+  *  `present1`
+
+  *  `version`
+
+
+# Buttons
+
+## `/org/openbmc/buttons/<button_name>`
+
+signals:
+
+  *  `Pressed`
+
+  *  `PressedLong`
+
+  *  `Released`
+
+methods:
+
+  *  `simPress`
+
+# LEDs
+
+## `/org/openbmc/control/leds/<led_name>`
+
+methods:
+
+  *  `setOn()`
+
+  *  `setOff()`
+
+  *  `setBlinkSlow()`
+
+  *  `setBlinkFast()`
+
+properties:
+
+  *  `color`
+
+  *  `state`
+
+
-- 
2.6.4




More information about the openbmc mailing list