-
Where did you get the camera module(s)?
Amazon -
Model number of the product(s)?
5MP OV5647 wide angle fish eye -
What hardware/platform were you working on?
Raspberry pi 4 -
Instructions you have followed. (link/manual/etc.) manual. link from the instructions. Also traded my other rasp camera module 3 which worked. Even traded cables each time. the module 3 works, but not the arducam O5647
-
Problems you were having? Camera not found
$ libcamera-hello
[0:00:33.542258571] [2100] INFO Camera camera_manager.cpp:327 libcamera v0.4.0+53-29156679
[0:00:33.582843404] [2106] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:00:33.585158978] [2106] INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media0 and ISP device /dev/media2
[0:00:33.585273182] [2106] INFO RPI pipeline_base.cpp:1121 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml’
Preview window unavailable
Mode selection for 1296:972:12:P
SGBRG10_CSI2P,640x480/0 - Score: 3296
SGBRG10_CSI2P,1296x972/0 - Score: 1000
SGBRG10_CSI2P,1920x1080/0 - Score: 1349.67
SGBRG10_CSI2P,2592x1944/0 - Score: 1567
Stream configuration adjusted
[0:00:33.588181849] [2100] INFO Camera camera.cpp:1202 configuring streams: (0) 1296x972-YUV420 (1) 1296x972-SGBRG10_CSI2P
[0:00:33.588646663] [2106] INFO RPI vc4.cpp:622 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
[0:00:34.688078570] [2106] WARN V4L2 v4l2_videodevice.cpp:2150 /dev/video0[13:cap]: Dequeue timer of 1000000.00us has expired!
[0:00:34.688161089] [2106] ERROR RPI pipeline_base.cpp:1367 Camera frontend has timed out!
[0:00:34.688174959] [2106] ERROR RPI pipeline_base.cpp:1368 Please check that your camera sensor connector is attached securely.
[0:00:34.688189311] [2106] ERROR RPI pipeline_base.cpp:1369 Alternatively, try another cable and/or sensor.
ERROR: Device timeout detected, attempting a restart!!!
- The dmesg log from your hardware?
dmesg | grep ov5647
[ 0.049041] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/ov5647@36
[ 0.049117] /soc/i2c0mux/i2c@1/ov5647@36: Fixed dependency cycle(s) with /soc/csi@7e801000
[ 0.050148] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/ov5647@36
[ 0.064687] /soc/i2c0mux/i2c@1/ov5647@36: Fixed dependency cycle(s) with /soc/csi@7e801000
[ 3.920530] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/ov5647@36
[ 3.920598] /soc/i2c0mux/i2c@1/ov5647@36: Fixed dependency cycle(s) with /soc/csi@7e801000
- Troubleshooting attempts you’ve made?
modified firmware config
different cable
comparing with a different camera
updating raspi
config:
sudo cat /boot/firmware/config.txt
For more options and information see
http://rptl.io/configtxt
Some settings may impact device functionality. See link above for details
Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on
Enable audio (loads snd_bcm2835)
dtparam=audio=on
Additional overlays and parameters are documented
/boot/firmware/overlays/README
#dtoverlay=imx708
dtoverlay=ov5647
Automatically load overlays for detected cameras
camera_auto_detect=0
Automatically load overlays for detected DSI displays
display_auto_detect=1
Automatically load initramfs files, if found
auto_initramfs=1
Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
Don’t have the firmware create an initial video= setting in cmdline.txt.
Use the kernel’s default instead.
disable_fw_kms_setup=1
Run in 64-bit mode
arm_64bit=1
Disable compensation for displays with overscan
disable_overscan=1
Run as fast as firmware / board allows
arm_boost=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
[cm5]
dtoverlay=dwc2,dr_mode=host
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=on
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
dtparam=eth_led0=4
dtparam=eth_led1=4
[all]
- What help do you need?
Help me to get this working or decide if I need to get a replacement.


