Set KVM Parameter
更新时间: 2026/08/06
在Gitcode上查看源码

Set KVM Parameter

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

This command is used to set KVM parameters.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn30h
CMD94h
1:3Manufacturer 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.
4Sub command, sub command = 21h
5Parameter selector, starting from 1. For details, see Table 1.
6[7:1]: reserved
[0]: cascading flag
0: last data
1: middle data
7Offset, indicating the offset of the written data. The value starts from 0.
Write data in sequence when they are written as multiple frames.
8Length: length of the data to be written.
9Written data

Response Information

ByteData Field
1Completion Code
2:4Manufacturer 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.

Reference

Table 1 KVM parameters

ParameterQuery and Setting CapabilitiesData#(Decimal)
KVM algorithmRead onlydata1: KVM algorithm support
bit 7: 2 reservedbit1: new algorithm (RLE_JPEG)bit0: old algorithm (RLE)
For each bit, the value 1 indicates that the algorithm is supported, and the value 0 indicates that the algorithm is not supported.
1
Remote KVM Data Encrypt EnabledRead and writeRemote KVM data encrypt or not
data1: Remote KVM data encrypt
bit[1:7]: Remote KVM data encrypt
0-AES128
bit0: Remote KVM data encrypt or not
0-disabled
1-enabled
2
Remote VMM Data Encrypt EnabledRead and writeRemote VMM data encrypt or not
data1: Remote VMM data encrypt
bit[1:7]: Remote VMM data encrypt
0-AES128
bit0: Remote VMM data encrypt or not
0-disabled
1-enabled
3
Remote KVM Computer Lock EnabledRead and writedata 1: Remote KVM Computer Lock Enabled
0-disabled1-enabled
4
Remote KVM Computer Lock KeysRead and writeRemote KVM computer lock keys, which are sent to the OS to lock the screen or deregister the composite key after the remote KVM is disconnected.
data1: key1data2: key2data3: key3data4: key4data5: key5data6: key6
5
Set Remote Console Authentication KeyWrite-only. Parameters in () are optional, and parameter session No. is used only when the KVM module synchronizes the relationship between the key and username to the VMM module.Set remote console authentication key:
data1:10 KVM module
1 VMM module
2 ISOL module
Other reserved
data2:1-Authentication key length NData3:N-Authentication Key. Currently, the value contains 20 bytes. LSB first.data(3+N):16-user name. The user name has a length of 16 bytes.data(19+N):1-KVM share mode1 shared mode
2 private mode
(data(20+N):1)-Session No. based 0. Currently, a maximum of two dialogs are supported at the same time.
6
Replace Remote Console Authentication KeyWrite-only. The key is replaced only when the old key is matched. Otherwise, an error is returned.Replace remote console authentication key, replacing a 4-byte key with a 20-byte one which is more secure and compatible with the old KVM integration interface with a 4-byte key.
data1:4-old authentication key. which is 4-byte in length and LSB first.data5:1-new authentication key length Ndata6:N-new authentication key. Currently, the length is 20 bytes, and LSB is first.
7
Remote VMM Floppy Driver EnabledRead and write to enable the remote VMM floppy drive.data 1: Remote VMM Floppy Driver Enabled. Note that you need to set the switch status at an interval of 1 second.
0-disabled1: enabled. The remote VMM floppy drive is enabled.
8

Command Example

Request:

bash
ipmitool raw 0x30 0x94 0xDB 0x07 0x00 0x21 0x06 0x01 0x00 0x01 0x00

Response:

text
 db 07 00

Back to Index