Hello all:<br clear="all"><br>I am having some difficulties determining how to utilize the i2c-at91 driver. Has anyone had experience getting this driver to work correctly? If so, do you mind giving me some pointers on how you did so? I have tried to use
<br><br>open("/dev/i2c", O_RDWR)<br><br>with the i2c dev driver....to no avail. I am looking at the source code for i2c-at91.c and it does not appear to be similar to the gpio driver where it exports symbols that I can use in another driver. As such, I am a little unsure what to do from here. 
<br><br>One other point of concern. I have my kernel configured with<br><br>#<br># I2C support<br>#<br>CONFIG_I2C=y<br>CONFIG_I2C_CHARDEV=y<br><br>#<br># I2C Algorithms<br>#<br># CONFIG_I2C_ALGOBIT is not set<br># CONFIG_I2C_ALGOPCF is not set
<br># CONFIG_I2C_ALGOPCA is not set<br><br>#<br># I2C Hardware Bus support<br>#<br>CONFIG_I2C_AT91=y<br>CONFIG_I2C_AT91_CLOCKRATE=100000<br># CONFIG_I2C_OCORES is not set<br># CONFIG_I2C_PARPORT_LIGHT is not set<br># CONFIG_I2C_STUB is not set
<br># CONFIG_I2C_PCA_ISA is not set<br><br>#<br># Miscellaneous I2C Chip support<br>#<br># CONFIG_SENSORS_DS1337 is not set<br># CONFIG_SENSORS_DS1374 is not set<br># CONFIG_SENSORS_EEPROM is not set<br># CONFIG_SENSORS_PCF8574 is not set
<br># CONFIG_SENSORS_PCA9539 is not set<br># CONFIG_SENSORS_PCF8591 is not set<br># CONFIG_SENSORS_MAX6875 is not set<br># CONFIG_I2C_DEBUG_CORE is not set<br># CONFIG_I2C_DEBUG_ALGO is not set<br>CONFIG_I2C_DEBUG_BUS=y<br>
# CONFIG_I2C_DEBUG_CHIP is not set<br><br>Is there something I am missing in the configuration as well?<br><br>I would appreciate any pointers or tips on how to get the twi operating as an i2c. <br><br>Thanks.<br><br>Paul
<br>