i have been handle this for week, i cant handle this anymore… i dont know what to do plz help
i wanna handle opencv but i cant do that because of this
camera modules : 2 of Arducam ov5647
raspberry pi ver : 4B 4GB
OS: rasbian legacy(buster)
i followed
multi camera adapter v2.2 manual
But at ‘sudo apt install -y python3-kms++ python3-libcamera’
it saids, unable to locate package python3-kms+
im new on arducam forum, so i cant upload 2 links
lots of rpi update and upgrade etc
config.txt---------------------------------------------------------------------------------------------
For more options and information see
Raspberry Pi Documentation - Configuration
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 this if your display has a black border of unused pixels visible
and your display can output without overscan
#disable_overscan=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
dtparam=i2c_vc=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
[pi4]
Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d
gpu_mem=256
enable_uart=1
dtoverlay=w1-gpio
start_x=1
#dtoverlay=ov5647
dtoverlay=camera-mux-4port,cam0-ov5647,cam3-ov5647
i connected on A and D port, then ‘libcamera-hello list’ shows two cameras connected.
[email protected]:~ $ cd libcamera-install/libcamera-apps/build
[email protected]:~/libcamera-install/libcamera-apps/build $ ./libcamera-hello --list
Available cameras
0 : ov5647 [2592x1944] (/base/soc/i2c0mux/[email protected]/[email protected]/[email protected]/[email protected])
Modes: ‘SGBRG10_CSI2P’ : 640x480 [58.92 fps - (16, 0)/2560x1920 crop]
1296x972 [43.25 fps - (0, 0)/2592x1944 crop]
1920x1080 [30.62 fps - (348, 434)/1928x1080 crop]
2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]
1 : ov5647 [2592x1944] (/base/soc/i2c0mux/[email protected]/[email protected]/[email protected]/[email protected])
Modes: ‘SGBRG10_CSI2P’ : 640x480 [58.92 fps - (16, 0)/2560x1920 crop]
1296x972 [43.25 fps - (0, 0)/2592x1944 crop]
1920x1080 [30.62 fps - (348, 434)/1928x1080 crop]
2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]
[email protected]:~ $ sudo dmesg | grep ov5647
[ 7.771320] platform video-mux: Fixed dependency cycle(s) with /soc/i2c0mux/[email protected]/[email protected]/[email protected]/[email protected]
[ 7.952379] platform video-mux: Fixed dependency cycle(s) with /soc/i2c0mux/[email protected]/[email protected]/[email protected]/[email protected]
[ 8.330975] ov5647 23-0036: Consider updating driver ov5647 to match on endpoints
[ 8.350186] ov5647 26-0036: Consider updating driver ov5647 to match on endpoints
[email protected]:~/libcamera-install/libcamera-apps/build $ vcgencmd get_camera
supported=1 detected=0, libcamera interfaces=1
[email protected]:~/RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel/Multi_Camera_Adapter_V2.2_python $ sudo chmod +x init_camera.sh
[email protected]:~/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: – – – – – – – – – 0c – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – 36 – – – – – – – – –
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
sh: 1: libcamera-still: not found
Start testing the camera B
sh: 1: libcamera-still: not found
Start testing the camera C
sh: 1: libcamera-still: not found
Start testing the camera D
[email protected]:~ $ cd libcamera-install/libcamera-apps/build
[email protected]:~/libcamera-install/libcamera-apps/build $ ./libcamera-still
Made X/EGL preview window
[0:00:45.534355972] [1046] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+22-76e1cb9f
[0:00:45.887121305] [1047] INFO RPI vc4.cpp:390 Registered camera /base/soc/i2c0mux/[email protected]/[email protected]/[email protected]/[email protected] to Unicam device /dev/media4 and ISP device /dev/media2
[0:00:46.032385342] [1047] INFO RPI vc4.cpp:390 Registered camera /base/soc/i2c0mux/[email protected]/[email protected]/[email protected]/[email protected] to Unicam device /dev/media4 and ISP device /dev/media2
[0:00:46.036319472] [1046] INFO Camera camera.cpp:1028 configuring streams: (0) 1296x972-YUV420
[0:00:46.038132027] [1047] INFO RPI vc4.cpp:512 Sensor: /base/soc/i2c0mux/[email protected]/[email protected]/[email protected]/[email protected] - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
[0:00:47.142002989] [1047] WARN V4L2 v4l2_videodevice.cpp:2007 /dev/video0[16:cap]: Dequeue timer of 1000000.00us has expired!
[0:00:47.142138860] [1047] ERROR RPI pipeline_base.cpp:1321 Camera frontend has timed out!
[0:00:47.142192804] [1047] ERROR RPI pipeline_base.cpp:1322 Please check that your camera sensor connector is attached securely.
[0:00:47.142246101] [1047] ERROR RPI pipeline_base.cpp:1323 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!
i did everything i found to do this… but i think that there’s no other way plz help me
i think that i properly connected cameras and adapter but i uploaded pics just in case