sundeepgoel post at 2016-11-25 23:39:27

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

ornage1 post at 2017-1-15 10:29:16

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.

aali post at 2025-9-16 22:31:23

Nice post. I learn something more challenging on different blogs everyday. It would all the time be stimulating to read content from different writers and observe a little something from their store. I’d want to use some with the content material on my blog whether or not you don’t mind. Natually I’ll provide you with a hyperlink on your net blog. Thanks for sharing.        소액 현금화

aali post at 2025-9-19 22:21:25

유흥알바는 주로 밤 시간대에 이루어지는 엔터테인먼트 업소에서의 아르바이트를 말합니다. 클럽, 바(bar), 노래주점(가라오케)이나 룸살롱 등에서 고객을 응대하고 서비스        유흥알바
page: [1]
View full version: I2C not working