userspace dev-interface linux-2.6.7

Nils Roeder nroeder at
Wed May 4 14:14:28 CEST 2005

Rudolf Marek wrote:
> Have you read linux-2.6.XXXX/Documentation/i2c ?
> There is file called dev-interface, that should help you.
> If you have any more questions, just write again.

thanks for replying.
Linux-2.6.XXXX/Documentation/i2c is what i read.
the problem is that #include <linux/i2c-dev.h> causes
compiler errors because of the missing I2C_SMBUS_... macros in 2.6.x
(if you want i include the error output, my example program or
  the linux/i2c-dev.h file i am using)
although all this is fixable, i am surprised that i couldn't find
any howto/tutorial/advice on that - or am i the only one having this
problem ?


More information about the lm-sensors mailing list