#
2539e69c |
| 27-Aug-2024 |
Chanh Nguyen <chanh@os.amperecomputing.com> |
Add message registry for power button long press
When the power button is pressed, it depends on how long the press takes to cause which event to happen [1].
Add a message registry for the power bu
Add message registry for power button long press
When the power button is pressed, it depends on how long the press takes to cause which event to happen [1].
Add a message registry for the power button long press event.
[1] https://github.com/openbmc/phosphor-buttons/blob/master/README.md#power-button
Tested: 1. Redfish Validator passed. 2. Verify in Redfish log. ''' GET: /redfish/v1/Systems/system/LogServices/EventLog/Entries Response: { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries", "@odata.type": "#LogEntryCollection.LogEntryCollection", "Description": "Collection of System Event Log Entries", "Members": [ { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/1724214823", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "Created": "2024-08-21T04:33:43+00:00", "EntryType": "Event", "Id": "1724214823", "Message": "Power Button Long Pressed.", "MessageArgs": [], "MessageId": "OpenBMC.0.1.PowerButtonLongPressed.OK", "Name": "System Event Log Entry", "Severity": "OK" } ], "Members@odata.count": 1, "Name": "System Event Log Entries" } '''
Change-Id: I772c444303c784d086af69e1eab22d9446658d4b Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
show more ...
|
#
3e5faba5 |
| 16-Aug-2023 |
Ed Tanous <edtanous@google.com> |
Generate OpenBMC registry
We haven't been very good about maintaining this file, so lets generate it like we do everything else.
This commit takes the existing, manually built openbmc_message_regis
Generate OpenBMC registry
We haven't been very good about maintaining this file, so lets generate it like we do everything else.
This commit takes the existing, manually built openbmc_message_registry.hpp and copies the generated json from a working system, then hooks it into the parse_registries script to generate the hpp file. This results in a couple changes, and somewhat proves how bad our ability to manage this file manually is..
Tested: Looking for input on if this is the right direction.
Change-Id: I5dc03021d194f0674e4a8f41421096b211462a0a Signed-off-by: Ed Tanous <edtanous@google.com>
show more ...
|