On Fri, 24 Jun 2011 16:34:15 -0500, Xianghua Xiao wrote: > It appears i2cget/i2cset can only handle up to 2 bytes at once, I have > an I2C device that needs to send 4 bytes R/W, can i2cget/i2cset do > that? The SVN version of i2cset has support for block writes. This was contributed by Guenter Roeck in: http://www.lm-sensors.org/changeset/5911/i2c-tools/trunk/tools i2cget indeed still lacks support for block reads, but that shouldn't be too hard to implement, now that the way got paved by i2cset. In the meantime you may be able to abuse i2cdump's "i" mode and grep the output, but performance will suffer. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html