Set Device Status
更新时间: 2026/08/06
在Gitcode上查看源码Set Device Status
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to set device status.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 92h |
| 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 | Indicates a subcommand. The value is 05h. |
| 5 | Device ID. For details, see Table 1. |
| 6 | [7]-event direction 0=assertion (alarm generation) 1=deassertion (The alarm is cleared.) Note: When DeviceId is 0x13 or 0x14, the value is 0 (cleared) or 1 (generated). In other cases, the value is 0 (generated) or 1 (restored). [6:0]-segment, 1 based. For high-performance servers such as the 9032, each segment indicates a 4P system, and the BDF is numbered based on the 4P system. To be compatible with earlier products and facilitate unified processing by the BMC, the segment is always 0 for the 8100 and other 4P and lower systems that do not need to distinguish BDFs by segment. Note: Device ID=10h byte6: 1: The BIOS reports that the POST phase is complete. 0: The BIOS POST phase is not complete. |
| 7 | device status1 |
| 8 | device status2 |
| 9 | device status3 |
| 10 | device status4 |
| 11 | device status5 |
| 12 | device status6 |
| 13:N | device status7 ...... device statusN The number of device statuses is not limited for future expansion. For details about the number of events, see the BIOS Event Format sheet. |
| Special Scenario | Description |
|---|---|
| When the value of device status1 (byte 7) is 0x0D, a UPI link fault is reported. | X86 model: device status3 (byte 9) indicates the corresponding UPI port number. ARM model: device status5 (byte 11) indicates the corresponding UPI port number. |
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
Set device status.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN