- This series of commands are mainly used for diagnostic.
- This Command is used to set fan control mode and fan PWM.
Request
Byte | Data |
---|---|
1 | Control Mode 1h = Manually Control 0h = Auto Control (follow fan control algorithm) |
2 | Fan PWM Duty Cycle 00h ~ 64h for 0% ~ 100% PWM duty cycle This field is valid only if the request data byte #1 equals to 01h |
Response
Byte | Data |
---|---|
1 | Completion code(0x00). |
- This Command is used to get fan control mode and fan PWM.
Request
Byte | Data |
---|---|
NA | NA |
Response
Byte | Data |
---|---|
1 | Completion code(0x00). |
2 | Control Mode 1h = Manually Control 0h = Auto Control (follow fan control algorithm) |
3 | Fan PWM Duty Cycle 00h ~ 64h for 0% ~ 100% PWM duty cycle |
- Because standard IPMI Master Write-Read command only support 8 buses (ID 0 ~ 7).
- This OEM command is created to write-read all I2C buses of the BMC.
Request
Byte | Data |
---|---|
1 | Bus ID, 0-based (count from 0) |
2 | Slave Address [7:1] Slave Address (7-bit) [0] Reserved. Write as 0. |
3 | Read Count Number of bytes to read, 1-based. According to work as designed, the max read count is 255. 0 = no bytes to read. |
4 | Offset Data Offset |
(5:N) | Data to write Keep empty for this field if no data to write. According to work as designed, the max write data length is 255 bytes. |
Response
Byte | Data |
---|---|
1 | Completion code(0x00). |
(2:N) | Data read from specified salve address. |
- This Command is used to set in/out direction and high/low level for a specific GPIO.
- GPIO number = port number * 8 + pin order of the port.
Request
Byte | Data |
---|---|
1 | GPIO Number |
2 | GPIO Direction 0 = Input 1 = Output |
3 | GPIO Level 0 = Low 1 = high Note: If data byte 2 is 0, data byte 3 will be ignored |
Response
Byte | Data |
---|---|
1 | Completion code(0x00). |
- This Command is used to get in/out direction and high/low level for a specific GPIO.
- GPIO number = port number * 8 + pin order of the port.
Request
Byte | Data |
---|---|
1 | GPIO Number |
Response
Byte | Data |
---|---|
1 | Completion code(0x00). |
2 | GPIO Direction 0 = Input 1 = Output |
3 | GPIO Level 0 = Low 1 = high |
- This Command is used to get direction and level of all GPIOs of BMC.
Request
Byte | Data |
---|---|
NA | NA |
Response
Byte | Data |
---|---|
1 | Completion code(0x00). |
2N | Byte 2N: GPIO Direction of Port18E |
2N+1 | Byte 2N+1: GPIO Level of Port18E |
- This Command is used to set fru date.
Request
Byte | Data |
---|---|
1 | Time byte 1 (LSB) |
2 | Time byte 2 |
3 | Time byte 3 (MSB) |
Response
Byte | Data |
---|---|
1 | Completion code(0x00). |
- This series of commands are mainly used for diagnostic.
- Read logs from BMC directory '/tmp/ipmi_log'.
- The maximun response 'N' is 1024.
Request
Byte | Data |
---|---|
NA | NA |
Response
Byte | Data |
---|---|
1 | Completion code(0x00). |
(2:N) | Response ascii code which reads from '/tmp/ipmi_log'. |