i2c_probe: update for use in scripting