I2C not working
Hi,
For me the image installs fine and i2c folders appear under /dev/ Also get following using i2cdetect -l and lsmod
root@OrangePI:/home/orangepi# i2cdetect -l
i2c-0 i2c twi0 I2C adapter
i2c-1 i2c twi1 I2C adapter
root@OrangePI:/home/orangepi# lsmod
Module SizeUsed by
snd_usb_audio 792050
snd_usbmidi_lib 173911 snd_usb_audio
snd_hwdep 53371 snd_usb_audio
uvcvideo 596340
However, have tried various sensors on the i2c interface but nothing gets detected, following is the output for both 1 and 0
root@OrangePI:/home/orangepi# i2cdetect -y 1
0123456789abcdef
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
However, the dmesg error is different
bus 1 :sunxi_i2c_do_xfer()980 - incomplete xfer
bus 0 : sunxi_i2c_do_xfer()973 - xfer timeout
please suggest way forward to get i2c to work ...
Reply EditSupport Not support Use magic
1 ...114115116117118119120121 / 121 Pages
Return to listhttp://www.orangepi.org/orangepibbsen/static/image/common/pn_post.pnghttp://www.orangepi.org/orangepibbsen/static/image/common/pn_reply.png
Any news on this?
I got a similar problem with i2c:
libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/3.4.39/modules.builtin.bin'
FATAL: Module i2c-sun7i not found.
page:
[1]