6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 14879
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Mon Sep 18, 2023 12:09 pm

I've dropped back to a clean 64bit Raspberry Pi OS Desktop Bullseye image with all updates applied, and I'm wrong that the kernel has been bumped on Bullseye. It's still on the 20230405 package and 6.1.21.

However I can't reproduce any issues with a V3 camera and 7" DSI touch screen. I do have an HDMI screen connected on HDMI-0 as well, but that shouldn't make any difference to the way I2C is working.

Code: Select all

pi@bullseye64:~ $ sudo i2cdetect -y 10
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- UU -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 
40: -- -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
I've got "libcamera-hello -t 0" running in one window, and Chromium up in another with https://naqtn.github.io/WBBMTT to check out multitouch from the panel. All good (once I'd replaced a dodgy FFC from Pi to camera).
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Hooba97
Posts: 20
Joined: Thu Sep 14, 2023 12:43 pm

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Mon Sep 18, 2023 12:12 pm

Thank you , I'll try to do a fresh install in a bit and let you know the results

Hooba97
Posts: 20
Joined: Thu Sep 14, 2023 12:43 pm

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Mon Sep 18, 2023 3:16 pm

I just did a fresh install twice

Fresh install Kernel version : camera problem is exists

New kernel version( rpi-update) : touch screen problem

I tried new cables as well

Ps : camera is v3 Noir

Edit : using sudo i2cdetect -y 10 returns the following

Code: Select all

Last login: Mon Sep 18 16:09:02 2023
iehab@raspberrypi:~ $ sudo i2cdetect -y 10
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- UU -- -- --
10: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: 30 -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
40: -- -- -- -- -- UU -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
iehab@raspberrypi:~ $

aBUGSworstnightmare
Posts: 7871
Joined: Tue Jun 30, 2015 1:35 pm

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Mon Sep 18, 2023 6:36 pm

Hooba97 wrote: I just did a fresh install twice

Fresh install Kernel version : camera problem is exists

New kernel version( rpi-update) : touch screen problem

I tried new cables as well

Ps : camera is v3 Noir
..
then do it a third time please and only (!!!!) run below commands after you've booted your Pi for the first time:

Code: Select all

sudo apt-get update
sudo apt-get full-upgrade
sudo reboot
After the Pi has rebooted run below commands and report back

Code: Select all

libcamera-hello --list-cameras
libcamera-hello -t 0 --qt-preview

Hooba97
Posts: 20
Joined: Thu Sep 14, 2023 12:43 pm

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Mon Sep 18, 2023 10:33 pm

I did as you asked , still same problem

Code: Select all

iehab@raspberrypi:~ $ libcamera-hello --list-cameras
Available cameras
-----------------
0 : imx708_noir [4608x2592] (/base/soc/i2c0mux/i2c@1/imx708@1a)
    Modes: 'SRGGB10_CSI2P' : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]
                             2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
                             4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]

iehab@raspberrypi:~ $ libcamera-hello -t 0 --qt-preview
Made QT preview window
[0:05:25.724281912] [2034]  INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:05:25.855980789] [2038]  INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media0 and ISP device /dev/media1
[0:05:25.856106825] [2038]  INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:05:25.857055128] [2034]  INFO Camera camera.cpp:1033 configuring streams: (0) 2304x1296-YUV420
[0:05:25.857610696] [2038]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 2304x1296-SBGGR10_1X10 - Selected unicam format: 2304x1296-pBAA
[0:05:34.073884353] [2038] ERROR V4L2 v4l2_device.cpp:353 'imx708_noir': Unable to set controls: Input/output error
[0:05:35.292240294] [2038] ERROR V4L2 v4l2_device.cpp:353 'imx708_noir': Unable to set controls: Input/output error
[0:05:40.838198532] [2038] ERROR V4L2 v4l2_device.cpp:353 'imx708_noir': Unable to set controls: Input/output error
[0:05:43.036112981] [2038] ERROR V4L2 v4l2_device.cpp:353 'imx708_noir': Unable to set controls: Input/output error
[0:05:47.568180703] [2038] ERROR V4L2 v4l2_device.cpp:353 'imx708_noir': Unable to set controls: Input/output error
[0:05:48.956117938] [2038] ERROR V4L2 v4l2_device.cpp:353 'imx708_noir': Unable to set controls: Input/output error
[0:05:54.684107451] [2038] ERROR V4L2 v4l2_device.cpp:353 'imx708_noir': Unable to set controls: Input/output error
iehab@raspberrypi:~ $ 

aBUGSworstnightmare
Posts: 7871
Joined: Tue Jun 30, 2015 1:35 pm

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Tue Sep 19, 2023 10:58 am

So your camera is detected but then libcamera fails

Code: Select all

[0:05:35.292240294] [2038] ERROR V4L2 v4l2_device.cpp:353 'imx708_noir': Unable to set controls: Input/output error
Does it fail with exactly the same message when DSI1 screen is disconnected?

As I don't own one of these cameras/official 7in displays, I'm not able to offer any further support.

Hooba97
Posts: 20
Joined: Thu Sep 14, 2023 12:43 pm

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Tue Sep 19, 2023 11:40 am

Disconnecting the DSI screen solves the error
From what I understand , it has something to do with i2c conflict with the camera

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 14879
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Tue Sep 19, 2023 1:42 pm

Can I check that you are using the standard length cables for both camera and display, and using a reputable power supply?

With the standard Bullseye 64bit image I can't reproduce the issue. Please confirm whether you're using the 32bit or 64bit version of Raspberry Pi OS.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Hooba97
Posts: 20
Joined: Thu Sep 14, 2023 12:43 pm

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Tue Sep 19, 2023 3:03 pm

Yes I am using the cables included in the boxes , I even tried new cables, and using the official power supply as for the os I had 32bit when the issue started , now running on 64 bit with the same issue

Are you using the v3 noir version?

Hooba97
Posts: 20
Joined: Thu Sep 14, 2023 12:43 pm

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Fri Sep 22, 2023 12:57 pm

Any update how to solve the problem?

rafael2k
Posts: 3
Joined: Thu Sep 04, 2014 8:26 pm

Re: Rp4 + pi camera v3 + official 7" touch screen ( camera issue) i2c conflict?

Thu Sep 28, 2023 5:02 pm

Same problem here. After a kernel update, the touch screen stopped working.

[ 8.914075] edt_ft5x06 10-0038: supply vcc not found, using dummy regulator
[ 8.914404] edt_ft5x06 10-0038: supply iovcc not found, using dummy regulator
[ 8.915006] edt_ft5x06 10-0038: touchscreen probe failed
[ 8.915382] edt_ft5x06: probe of 10-0038 failed with error -5


Return to “Camera board”