commit | 9c45e6b2f7229410778217e7ef9d228c5892ff66 | [log] [tgz] |
---|---|---|
author | Cheng C Yang <cheng.c.yang@linux.intel.com> | Tue Aug 13 07:21:32 2019 +0800 |
committer | Cheng C Yang <cheng.c.yang@linux.intel.com> | Tue Aug 13 07:21:32 2019 +0800 |
tree | 7552c85530790def1d2371860336ac96b298796d | |
parent | ffa07e254fb36bf54c92ba3714e5fc4b6dbc2f8c [diff] |
Add Configuration Error Event Add configuration error event to PSU Event. And correct AC Lost event. Tested: Insert two different kind of PSU, redfish log show { "@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry", "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/ 1563892413_1", "@odata.type": "#LogEntry.v1_4_0.LogEntry", "Created": "2019-07-23T14:33:33+00:00", "EntryType": "Event", "Id": "1563892413_1", "Message": "Power supply PSU2 configuration error.", "MessageArgs": [ "PSU2" ], "MessageId": "OpenBMC.0.1.PowerSupplyConfigurationError", "Name": "System Event Log Entry", "Severity": "Critical" }, Remove AC cable from one PSU, redfish log show { "@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry", "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/1563892413", "@odata.type": "#LogEntry.v1_4_0.LogEntry", "Created": "2019-07-23T14:33:33+00:00", "EntryType": "Event", "Id": "1563892413", "Message": "Power supply PSU2 AC power lost.", "MessageArgs": [ "PSU2" ], "MessageId": "OpenBMC.0.1.PowerSupplyACLost", "Name": "System Event Log Entry", "Severity": "Critical" }, Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com> Change-Id: I9bb93afd3e4bf172fea1abff9870c20d72233467
dbus-sensors is a collection of sensor applications that provide the xyz.openbmc_project.Sensor collection of interfaces. They read sensor values from hwmon, d-bus, or direct driver access to provide readings. Some advance non-sensor features such as fan presence, pwm control, and automatic cpu detection (x86) are also supported.
runtime re-configurable from d-bus (entity-manager or the like)
isolated: each sensor type is isolated into its own daemon, so a bug in one sensor is unlikely to affect another, and single sensor modifications are possible
async single-threaded: uses sdbusplus/asio bindings
multiple data inputs: hwmon, d-bus, direct driver access