View: 59335|Reply: 114

Orange Pi Zero2 - I2C does not work after Ubuntu 20.04.3 LTS

[Copy link]

1

threads

1

posts

15

credits

Novice

Rank: 1

credits
15
Published in 2022-11-29 23:34:49 | Show all floors |Read mode
This post was finally edited by TedNukem at 2022-11-29 23:37

Hello!

This is my first topic. Sorry if I'm writing in the wrong place or I haven't been able to find a similar topic!

No matter Ubuntu or Debian, no matter which version, after Ubuntu 20.04.3 LTS, I2C does not work.
The i2cdetect command does not detect my device ( I2C Display ).
All newer versions of Ubuntu and Debian:
  1. root@OPZ2-NEW:~# ls /dev/*i2c*
  2. /dev/i2c-0  /dev/i2c-1
Copy code
  1. root@OPZ2-NEW:~# i2cdetect -y 0
  2.      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
  3. 00:                         -- -- -- -- -- -- -- --
  4. 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  5. 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  6. 30: -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- --
  7. 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  8. 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  9. 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  10. 70: -- -- -- -- -- -- -- --
Copy code
  1. root@OPZ2-NEW:~# i2cdetect -y 1
  2.      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
  3. 00:                         -- -- -- -- -- -- -- --
  4. 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  5. 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  6. 30: 30 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  7. 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  8. 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  9. 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  10. 70: -- -- -- -- -- -- -- --
Copy code
Here's how it works properly on Ubuntu 20.04.3 LTS:
  1. root@OPZ2-OLD:~# ls /dev/*i2c*
  2. /dev/i2c-3  /dev/i2c-5
Copy code
  1. root@OPZ2-OLD:~# i2cdetect -y 3
  2.      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
  3. 00:          -- -- -- -- -- -- -- -- -- -- -- -- --
  4. 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  5. 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  6. 30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
  7. 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  8. 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  9. 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  10. 70: -- -- -- -- -- -- -- --
Copy code
  1. root@OPZ2-OLD:~# i2cdetect -y 5
  2.      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
  3. 00:          -- -- -- -- -- -- -- -- -- -- -- -- --
  4. 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  5. 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  6. 30: -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- --
  7. 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  8. 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  9. 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  10. 70: -- -- -- -- -- -- -- --
Copy code
Here the display address is visible which is 3C and I can send any commands without errors.

Thank you for your attention!

4

threads

7

posts

78

credits

Registered member

Rank: 2

credits
78
Published in 2023-3-31 02:29:41 | Show all floors
same problem here after moving from buster to bullseye: Orangepizero2_3.0.6_debian_bullseye_desktop_xfce_linux5.16.17.img , i2c 0 and 1 instead of i2c 3 and 5, anyone can help ?

0

threads

24

posts

233

credits

Intermediate member

Rank: 3Rank: 3

credits
233
Published in 2023-7-8 01:22:24 | Show all floors
The versatility of shrink wrap heat guns extends to art projects as well. They are great for creating textured effects on various materials. best variable temperature heat gun

0

threads

6

posts

22

credits

Novice

Rank: 1

credits
22
Published in 2023-8-7 11:41:39 | Show all floors
Sometimes kernel configurations might change between different versions. Make sure that the I2C driver is properly configured in your kernel settings. Rebuilding or updating the kernel might help. mapquest driving directions

0

threads

11

posts

38

credits

Novice

Rank: 1

credits
38
Published in 2023-9-22 12:07:14 | Show all floors
Gaming has become an integral part of modern Geometry Dash entertainment, captivating people of all ages and backgrounds around the world. It's fascinating how games have evolved from simple, pixelated adventures to immersive, lifelike experiences.

0

threads

25

posts

106

credits

Registered member

Rank: 2

credits
106
Published in 2023-12-14 10:47:35 | Show all floors
Thanks to reading this article, I have gained new knowledge, thank you very much 2048 taylor swift

0

threads

2

posts

10

credits

Novice

Rank: 1

credits
10
Published in 2024-1-25 11:41:16 | Show all floors
Hello Neighbor is an immersive and suspenseful video game that has captured the attention of players worldwide.
Published in 2024-2-10 21:58:05 | Show all floors
Very nice post. I just stumbled upon your blog and wished to say that I’ve really enjoyed surfing around your blog posts. After all I’ll be subscribing to your rss feed and I hope you write again very soon!        [url= https://mtdn.net]먹튀뱅[/url]
Published in 2024-2-16 19:54:38 | Show all floors
books online are great, wether they are e-books or conventional hardbound and paperback books**        메이저토토
Published in 2024-2-19 18:24:45 | Show all floors
Dude.. I am not much into reading, but somehow I got to read plenty of articles on your blog. Its amazing how interesting it is for me to check out you incredibly often.        Tải app tdtc
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list