View: 18131|Reply: 202

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

22

posts

216

credits

Intermediate member

Rank: 3Rank: 3

credits
216
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

8

posts

28

credits

Novice

Rank: 1

credits
28
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
Published in 2024-1-19 21:00:02 | Show all floors
Thanks for the information… appreciated… been reading for awhile, and just wanted to let you know I continue to enjoy your writing.        https://4twbet.vip/

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-1-31 23:41:24 | Show all floors
I’m impressed, I must say. Actually rarely do you encounter a blog that’s both educative and entertaining, and let me tell you, you’ve got hit the nail to the head. Your notion is outstanding; the issue is an issue that not enough people are speaking intelligently about. I am very happy that we found this at my look for something about it.        https://hi88.cx/
Published in 2024-2-1 20:38:26 | Show all floors
Possessing read this I thought it had been quite beneficial. I value you taking time and work to put this article together. I when once again locate myself paying method to significantly time both reading and commenting. But so what, it was nonetheless worth it!        news on maldives
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list