Controlling IPMI IPMB bus

From: MadScientist (sonicplanet_at_hotmail.com)
Date: 05/27/04


Date: 27 May 2004 08:20:24 -0700

Hi there !

I'm currently in the process of developing a chassis sensor for use on
a IPMB bus.

To build up my knowledge of the IPMI messaging protocol, it would be
nice if someone could answer my following question about using the the
BMC to control non-intelligent devices on the IPMB bus (of that BMC).

When I want to read data from an address, I have to use the Master
Write-Read I2C command. Can someone confirm to me that the following
HEX string is correct to read 1 byte of data from a non-intelligent
I2C I/O device on address 44h:

BYTE 1: netFn/rsLUN = 18h (BMC LUN 00b)
BYTE 2: Cmd Code = 52h (Master Write-Read Command)
BYTE 3: Data 1 = 00h (BusID = 00b)
BYTE 4: Data 2 = 44h (rsSA, Slave Address)
BYTE 5: Data 3 = 01h (number of bytes to read)
BYTE 6: Data 4 = 00h (data to write)

Thank you !