Get Component Info (deprecated)
更新时间: 2026/08/06
在Gitcode上查看源码Get Component Info (deprecated)
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtain component information.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 91h |
| 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 = 12h |
| 5 | Component ID |
| 6 | Indicates the information type. The options are as follows: 0: component product ID, which is the same as that of the mother board and is a hexadecimal number. 1: Component board ID, which is a hexadecimal number and is valid only when the board is in position. 2: component PCB ID, which is a hexadecimal number and is valid only when the component is installed. 3: Component present. 1: present; 0: not present. 4: Component name, which is a character string. 5: Component type 0: Base board 1: Mezzanine Card other reserved NOTE: Pangea devices and V2 main versions support only Component present query. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code. Invalid Parameter (C9h) for unsupported component Invalid Data Field (CCh)for unsupported component |
| 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 | Indicates whether a component is present. 0: not present; 1: present. |
Command Example
Obtain component information.
Request:
bash
ipmicmd -k "0f 00 30 91 db 07 00 12 03 03" smi 0Response:
text
0f MM NN