View: 2646|Reply: 0

i2c-dev not load

[Copy link]

2

threads

3

posts

20

credits

Novice

Rank: 1

credits
20
Published in 2022-2-18 08:01:27 | Show all floors |Read mode
Hello,
I am using Orange PI Zero 2 H616 with debian 10.11.
I connected the SDA and SCK pins to arduino.
I uploaded a simple program to arduino that uses the wire library.
I loaded the i2c_dev module.
If I run the i2cdetect -y 3 command I get the following output:

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --  




By checking the file /var/log/orangepi-hardware-monitor.log I find the following information:


sunxi_i2c_adap_init()2522 - init
sunxi_i2c_probe()2208 - [i2c3] warning: failed to get regulator id
sunxi_i2c_probe()2270 - [i2c3] twi_drv_used = 0
sunxi_i2c_probe()2274 - [i2c3] twi_pkt_interval = 0
twi_request_gpio()451 - [i2c3] init name: twi3
sunxi_i2c_probe()2208 - [i2c5] warning: failed to get regulator id
sunxi_i2c_probe()2270 - [i2c5] twi_drv_used = 0
sunxi_i2c_probe()2274 - [i2c5] twi_pkt_interval = 0
twi_request_gpio()451 - [i2c5] init name: twi5
axp20x-i2c 5-0036: AXP20x variant AXP806 found
axp20x-i2c 5-0036: AXP20X driver loaded
i2c /dev entries driver
overlays=i2c0


If i run lsmod, i2c module list doesn't show up.


searching google for "failed to get regulator id", i couldn't find much information.
Could you give me some information on this problem?
What can I do to fix the problem?



Thanks in advance.

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list