Set Device Action
更新时间: 2026/08/06
在Gitcode上查看源码Set Device Action
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
To set the chip operation
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, sub command = 53h |
| 5:8 | Position: indicates the position number. (The 8100 slot ID may be repeated. The position is added to locate a card. For other products, 0x00000000 can be filled in.) |
| 9 | SlotID: indicates the slot ID. |
| 10 | Operated device ID: 0: indicates all device IDs. Other values: specified device ID For the DIMIN chip, the value ranges from 1 to 4. For other operation types, the chip ID range depends on the actual situation. For the video compression card chip Hi3559, the value ranges from 1 to 10. For the FPGA card, there is only one device, which is represented by 0. For the MCU, there is only one device, which is represented by 0. For the super encoding card chip SD3403, the value ranges from 1 to 7. |
| 11 | Operation type (not all devices support the following operation types): 1: chip reset (If you run the ipmi command to directly reset the DMINI chip, the OS will restart. You are advised to run the NPU driver command to reset the chip in in-band mode.) 2: FPGA card self-healing 3: Reset the MCU. 4: resets PCIe devices managed by the MCU. 5: Reset the chip through the 9555 pin. 6: Reset the NPU module. |
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
Send a reset command.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN