Multi Cam Adapter Board V2.2 Issue - Not working at all

  1. Where did you get the camera module(s)?
    https://ca.robotshop.com//products/arducam-multi-camera-adapter-module-v22-raspberry-pi
    And 4 of Raspberry Pi Camera Module V2 from Digikey (cannot attach link due to new user limitation)

  2. Model number of the product(s)?
    For the adapter: B012001
    For the cameras: 913-2664

  3. What hardware/platform were you working on?
    Raspberry Pi + Multi Cam Adapter + 4 of Raspberry Pi Camera Module V2

  4. Instructions you have followed. (link/manual/etc.)
    Attached instruction, which is the same as in https://www.uctronics.com/download/Amazon/B0120.pdf

  5. Problems you were having?
    Camera is detected using the vcgencmd, but I cannot run the init.sh file that you guys have on the git. The Rpi also works for a single camera (without the multi cam adapter). When multi cam adapter plugged in I can see the LED light on the multi cam.

pi@raspberrypi:~/RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel/Multi_Camera_Adapter_V2.2_python $ sudo ./init_camera.sh
----Test i2c1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: 70 – – – – – – –
----Detecting the /dev/video0 device
video0 detected!
β€”Start testing each camera
if all of them are normal, after it finished,you will see four image in the current path.
Start testing the camera A
libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:10:05.832189663] [1409] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3866-0c55e522
ERROR: *** no cameras available ***
Start testing the camera B
libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:10:06.961498310] [1426] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3866-0c55e522
ERROR: *** no cameras available ***
Start testing the camera C
libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:10:08.191336129] [1457] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3866-0c55e522
ERROR: *** no cameras available ***
Start testing the camera D
libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:10:09.357711297] [1481] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3866-0c55e522
ERROR: *** no cameras available ***

pi@raspberrypi:~/RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel/Multi_Camera_Adapter_V2.2_python $ vcgencmd get_camera
supported=1 detected=1, libcamera interfaces=0

  1. The dmesg log from your hardware?
    sudo dmesg | grep arducam -----> Does not return anything

  2. Troubleshooting attempts you’ve made?
    I double checked the hardware configuration and it looks the same as in the manual's pic. The cables are in the right direction. I have tried to update the Rpi to the latest version and other different things, but no success.

  3. What help do you need?
    I think it is a software issue? But I am new to Rpi so I am struggling a bit. Any help is appreciated, thanks!

Added: I have also tried the set up here (Quick Start Guide for Multi-Camera Adapter Board - Arducam Wiki) and it is still giving me the same error.

I also have this line inside /boot/config.txt: β€œdtoverlay=camera-mux-4port, cam0-imx219, cam1-imx219, cam2-imx219, cam3-imx219”

I have also enabled I2C and GL (Full KMS) OpenGL Driver.

@Anthon1e

Hello, thank you for your question. We are sorry to hear that you are having trouble using the camera. Can you please show me the dmesg output of your device?

dmesg | grep imx219

Also, can you please send me a picture of your hardware connection? This will help me to troubleshoot the issue better.

The command does not return anything. I have tried β€œdmesg | grep imx”, β€œdmesg | grep arducam”, β€œdmesg | grep cam” as well but no result.

Here is the HW set up:

@Anthon1e

It is very strange that there is no dmesg information.

Please show me your config.txt file

cat /boot/config.txt

I also need your kernel version

uname -a 

Yes this is what shows up:

pi@raspberrypi:~ $ cat /boot/config.txt
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Automatically load overlays for detected cameras
start_x=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Disable compensation for displays with overscan
disable_overscan=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

[pi4]
#dtoverlay=vc4-fkms-v3d
# Run as fast as firmware / board allows
arm_boost=1

[all]
gpu_mem=256
#dtoverlay=camera-mux-4port, cam0-imx219, cam1-imx219, cam2-imx219, cam3-imx219
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.20-v7+ #1638 SMP Tue Mar 21 17:11:41 GMT 2023 armv7l GNU/Linux
pi@raspberrypi:~ $

Here is what shows up:

pi@raspberrypi:~ $ cat /boot/config.txt
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Automatically load overlays for detected cameras
start_x=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Disable compensation for displays with overscan
disable_overscan=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

[pi4]
#dtoverlay=vc4-fkms-v3d
# Run as fast as firmware / board allows
arm_boost=1

[all]
gpu_mem=256
#dtoverlay=camera-mux-4port, cam0-imx219, cam1-imx219, cam2-imx219, cam3-imx219
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.20-v7+ #1638 SMP Tue Mar 21 17:11:41 GMT 2023 armv7l GNU/Linux
pi@raspberrypi:~ $

This is what shows up, I tried to copy and show you the full thing but the bot didn’t let me :frowning:

@Anthon1e

β€œdtoverlay=camera-mux-4port, cam0-imx219, cam1-imx219, cam2-imx219, cam3-imx219” seems to be commented out by you, can you open it?

Please do not put a space after the comma

dtoverlay=camera-mux-4port,cam0-imx219,cam1-imx219,cam2-imx219,cam3-imx219

Oh, the # is my attempt to mess around to see if anything works at all. But anyway, I just tried again to uncomment and remove the blank space after comma, the error still persists.

@Anthon1e

Can I see dmesg now?

dmesg | grep imx219

I noticed you only connected two cameras right?

image

Nothing shows up sadly

@Anthon1e

can you replace this cable

image

Okay I can try to buy one tomorrow. This is the one that came with the Multicam (just opened yesterday). I actually have a spare camera from which I can detach the cable and replace this one, would that work?

@Anthon1e

Sure.of course it can.

Okay, so I have not tried anything yet, but as I unplugged that wire it seems pretty damaged. Maybe it is the issue. I will let you know afterward after I retest all these cameras. Thanks.

Hi Edward, you were right, there was an issue with the cable. I think I have pushed the cable in too hard that it got damaged. Anyway, I can see the list of imx219 now, there are still some issues though so can you have a look please?

I am currently connecting only 2 cameras, hence error for imx219 13 and 15. For the 12 and 14, is this a driver issue?

@Anthon1e

If you don’t connect them all, you need to specify some ports.

A, B, C, D on the board correspond to 0, 1, 2, 3

like

dtoverlay=camera-mux-4port,cam0-imx219,cam2-imx219
1 Like