| commit | 9b53a628bdcfd69088c2b2138fb4eacfe6a5ed08 | [log] [tgz] |
|---|---|---|
| author | Cheng C Yang <cheng.c.yang@linux.intel.com> | Tue Aug 27 22:13:58 2019 +0800 |
| committer | Cheng C Yang <cheng.c.yang@linux.intel.com> | Wed Aug 28 14:12:42 2019 +0000 |
| tree | f1be151708ea30fa33e4d097439ec64de3ceda8a | |
| parent | 3a07f558a6c99b1c29dfeff3cd457f2dd78f10d6 [diff] |
Add Deassert Event to PSU
Tested:
Plug out AC cable and plug in it again, below redfish log is created
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/
1566427243",
"@odata.type": "#LogEntry.v1_4_0.LogEntry",
"Created": "2019-08-21T22:40:43+00:00",
"EntryType": "Event",
"Id": "1566427243",
"Message": "Power supply PSU2 AC power regained.",
"MessageArgs": [
"PSU2"
],
"MessageId": "OpenBMC.0.1.PowerSupplyACInserted",
"Name": "System Event Log Entry",
"Severity": "OK"
},
Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
Change-Id: Ic2626c99f06962dafabb580fe498fb558480f61e
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