Get Device Capabilities
更新时间: 2026/08/06
在Gitcode上查看源码Get Device Capabilities
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Capability of the BIOS to read device configurations.
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 | Sub command, sub command=4Eh |
| 5 | Number (N) of obtained information types. When N is set to FF, all configuration items are returned. For details about the configuration items, see Table 1. |
| 6 | Required Data Length: required length of the data to be read |
| 7:8 | Indicates the read offset. The value starts from 0 (LSB first). |
| 9 | Indicates the ID of the first obtained information type. |
| 10 | ID of the second obtained information type |
| ...... | ...... |
| 9+N | ID of the Nth obtained information type. |
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 | End of List: indicates whether the data reading is complete, Long data may need to be read multiple times. This field is used to check whether data is completely read. [7:1]: reserved. [0]: End of list. 0=last data. 1=middle data. |
| 6 | Response body length: M |
| 7:M+N | //datax:y x indicates the start byte and y indicates the number of bytes. Data1:1-ID of information type 1 Data2:1-length L1 of information type 1 data3: L1-content of information type 1 data(3+L1): 1-ID of information type 2 data(4+L1): 1-length of information type 2 L2 data(5+L1): L2-content of information type 2 data(5+L1+L2): 1-ID of information type 3 data(6+L1+L2): 1-Length of information type 3 (L3) data(7+L1+L2): L3-content of information type 3 data(7+L1+L2+L3): 1-ID of information type 4 data(8+L1+L2+L3): 1-length of information type 4 L4 data(9+L1+L2+L3): L4-content of information type 4 ............ |
References
Table 1 Configuration capability parameters of the device
| Message ID | Type | Description |
|---|---|---|
| 1 | unsigned char | PcieNcsiValid: indicates whether the NCSI cable is connected. |
| 2 | unsigned char | SWRAIDEnable, indicating that the soft RAID function is enabled. |
| 5 | unsigned char | WOLState: WOL (wake on lan) network wakeup status |
| 9 | unsigned char | WeakPwdDictSupport: indicates whether to support weak password dictionary check. |
| 10 | unsigned char | VMDState: indicates the VMD status. |
| 13 | unsigned char | PcieNcsiCapability: queries whether the mainboard supports the NCSI function of the PCIe card (regardless of whether the NCSI cable is connected). |
| 14 | unsigned char | VGASwitch is used to set the VGA display flag bit. |
Command Example
Request:
bash
ipmitool raw 0x30 0x92 0xdb 0x07 0x00 0x4e 0x07 0x07 0x00 0x00 0x01 0x02 0x05 0x09 0x0a 0x0d 0x0eResponse:
text
db 07 00 00 15 01 01 00 02 01 00 05 01 00 09 01 01 0a 01 00 0d 01 ff 0e 01 00