detecting i2c bus dynamically