Clear Event
更新时间: 2026/08/06
在Gitcode上查看源码Clear Event
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Recovery event.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, subcommand=39h |
| 5 | Event architecture. 0: sensor event, sensor-based event mechanism 1: object event (new event mechanism) |
| 6:9 | Event ID. If BYTE5 is set to 1, this field must be set. Otherwise, this field must be set to all 0s. data1:4: event ID, in little endian format. The event ID is carried when an event is reported. |
| 10 | When the value of byte 5 is 0, the value of this field is the sensor type. When byte 5 is 1, this byte indicates the high-order byte of the event body sequence number. |
| 11 | When BYTE5 is set to 0: Sensor # When byte 5 is 1, this byte indicates the low byte of the event body sequence number. If both byte 10 and byte 11 are 0xff, the operation is performed on a type of event specified by the event ID instead of an event for a component. |
| 12 | Event Dir | Event Type. This parameter is valid only when BYTE5 is set to 0. If the value of byte 5 is 1, this field must be set to 0. Bit 7: 0-alarm and 1-clear alarm bit6-bit0 eventtype |
| 13 | Event data 1. This parameter is valid only when byte 5 is set to 0. When byte 5 is set to 1, this parameter must be set to 0. |
| 14 | Event data 2. This parameter is valid only when byte 5 is set to 0. When byte 5 is set to 1, this parameter must be set to 0. |
| 15 | Event data 3. This parameter is valid only when byte 5 is set to 0. When byte 5 is set to 1, this parameter must be set to 0. |
| 16 | Operate Type 0- Manually trigger a recovery event. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
Command Example
Clear an event.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN