Hi, I'm trying to migrate some code from the ROACH to ROACH 2 which uses the PPC I2C bus. On the ROACH we used linux/i2c-dev.h and accessed /dev/i2c-0. The same code compiles on the ROACH 2 but does not seem to work: the fopen call on /dev/i2c-0 fails. To trace down the problem, I tried using the Uboot commands David George suggested:
"If you plan on using the PPC, the easiest way to go about it initially would be to use the i2c commands in u-boot which are very user friendly: i2c probe #list all the device on the iic bus i2c md# read a register on a given device i2c mw# write a register on a given device" However, i2c probe returns only: Valid chip addresses: Following this: http://www.mjmwired.net/kernel/Documentation/i2c/dev-interface I tried using i2cdetect -l, returning nothing. Doing i2cdetect -F 0 or -F 1 yields: Error: Could not open file `/dev/i2c-1': No such device or address I see there is are both /dev/i2c-0 and /dev/i2c-1 files, and they look right. Any ideas? Thanks, Glenn

