Clear Event
更新时间: 2026/08/06
在Gitcode上查看源码

Clear Event

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Recovery event.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer 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.
4Sub command, subcommand=39h
5Event architecture.
0: sensor event, sensor-based event mechanism
1: object event (new event mechanism)
6:9Event 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.
10When 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.
11When 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.
12Event 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
13Event 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.
14Event 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.
15Event 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.
16Operate Type
0- Manually trigger a recovery event.

Response Information

ByteData Field
1Completion Code
2:4Manufacturer 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 0

Response:

text
0f MM NN

Back to Index