Patent ID: 8423848

Claim:
A method executed by a processor of a server for testing inter-integrated circuit (I2C) devices connected to a baseboard management controller (BMC) of the server via a switch, the method comprising: setting a first identifier to indicate which channels of the I2C devices are active and setting a second identifier to indicate which channels of the I2C devices are inactive; informing the BMC of associations between the identifiers and the active or inactive status of each of the channels of the I2C devices; sending a first command to the switch to activate a channel to a selected I2C device for test, and assigning the first identifier to the channel of the selected I2C device; inactivating all other channels to the other I2C devices, and assigning the second identifier to all the other channels as part of the first command; and sending a second command to the switch to inactivate the channel to the selected I2C device, and replacing the first identifier of the channel by the second identifier after the test of the selected I2C device.