Introduction - If you have any usage issues, please Google them yourself
under linux the i2c driver development information are two ways to achieve I2c device driver under linux, in great detail, it is a good learning materials, I just looked at the information to develop their own drivers