Set Device Info
更新时间: 2026/08/06
在Gitcode上查看源码Set Device Info
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Sets the device information.
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 = 0x3ch |
| 5 | Device type parameter. For details, see Table 1. |
| 6 | Device Info Parameter. For details, see. Common type, for example, Table 1. Specific type, for example, Table 2. |
| 7 | Reserved. Set this parameter to 0. |
| 8:9 | Device No: logical device number (starting from 1), in little-endian format. The slot ID scenario is supported, and the value must be the same as the slot ID or silkscreen. Special notes: 1. 0xffff indicates all operations on the device type specified by byte 5. Some operations are supported. The actual returned value prevails. 2. If 0xffff fails to be used, retry with the slot ID or device logical sequence number. 3. When Device Type is Pcie Card and Device Info is 0xCA, Device No indicates the PCIe device port number. |
| 10 | [7:1]: reserved [0]: cascading flag 0: last data 1: middle data |
| 11:12 | Offset Offset of the data to be written. The value starts from 0. If the data is long and needs to be written for multiple times, the data must be written from the beginning to the end in sequence. |
| 13 | Length Length of the written data |
| 14:N | Detailed description of data Common type, for example, Table 1. Specific type, for example, Table 2. |
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. |
| 5 | [7:1]: resvered [0]: 0-last frame 1-casecade frame |
| 6:N | Data. For details, see. Common type, for example, Table 1. Specific type, for example, Table 2. |
Reference
Table 1 Device Type Parameter
| Component Type | Type ID. |
|---|---|
| SDI card | 0x39 |
Command Example
Reset the SDI card.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN