This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

i2c problem

Other Parts Discussed in Thread: AM1808

i am using Am1808 device. And i want to use i2c0 ( not gpio expanded function) to talk to the external device. I enabled the i2c driver and enable davinci device driver for i2c bus ( support ( not bingbang) as building my kernel. after booted up the system, i did not find /dev/i2c0. So, i created the node by mknode /dev/i2c0 c 89 0.

after that, i tried to open the i2c device at the user level. (open("/dev/i2c-0", O_RDWR)). then, i got the error message " failed to open the device". So, anyone have any idea ?

thanks!