Hello
I have a problem with a debian linux with kernel 2.4.32 and I2C-bus. The modules i2c-core and i2c-dev are loaded in the kernel (i2c core version 2.6.1) and the adapter is ready (PCA9564 ISA adapter). With the command cat /proc/bus/i2c can i test it. But in the file /proc/bus/i2c-0 is only the information "invalid argument". Why? How can i load it correctly? This is the reason because i have a break with the return message in the following part of code (invalid argument):
Code:
if(ioctl(fd, I2C_SLAVE, ADDR) < 0) {fprintf(stderr, "error: %m\n", fd);}
thanks