On Fri, 31 May 2013 11:49:41 +0200 CF <cfoissac@xxxxxxx> wrote: > I'm requesting help. I am currently successfully using i2c-dev module. > But i'm unable to drive i2c busses from kernel space as i'd do from > userspace (with the use of open, read, write, ioctl functions). I can't > logically acces glibc. > > Can somebody point me how i could do from kernel space ? you need to get the I2C adapter for your bus using i2c_get_adapter() and then send the I2C messages by i2c_transfer(). Anatolij -- 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