-
Where did you get the camera module(s)?
Arducam site -
Model number of the product(s)?
16MP Autofocus Camera -
What hardware/platform were you working on?
Raspberry Pi 4 8GB -
Instructions you have followed. (link/manual/etc.)
-
Problems you were having?
Autofocus is not working -
The dmesg log from your hardware?
Here is the log I got from “dmesg | grep imx519
”
[ 1757.896183] Modules linked in: xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables nfnetlink br_netfilter bridge rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth ecdh_generic ecc libaes overlay 8021q garp stp llc imx519 ak7375 spidev brcmfmac brcmutil cfg80211 vc4 v3d i2c_mux_pinctrl snd_soc_hdmi_codec bcm2835_unicam drm_display_helper gpu_sched rfkill cec v4l2_dv_timings raspberrypi_hwmon drm_shmem_helper drm_dma_helper i2c_mux v4l2_fwnode drm_kms_helper v4l2_async i2c_brcmstb snd_soc_core snd_bcm2835(C) snd_compress snd_pcm_dmaengine bcm2835_v4l2(C) bcm2835_codec(C) bcm2835_isp(C) bcm2835_mmal_vchiq(C) videobuf2_vmalloc rpivid_hevc(C) snd_pcm v4l2_mem2mem videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common snd_timer vc_sm_cma(C) videodev snd syscopyarea mc spi_bcm2835 i2c_bcm2835 sysfillrect sysimgblt
[ 1772.108568] Modules linked in: xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables nfnetlink br_netfilter bridge rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep hci_uart btbcm bluetooth ecdh_generic ecc libaes overlay 8021q garp stp llc imx519 ak7375 spidev brcmfmac brcmutil cfg80211 vc4 v3d i2c_mux_pinctrl snd_soc_hdmi_codec bcm2835_unicam drm_display_helper gpu_sched rfkill cec v4l2_dv_timings raspberrypi_hwmon drm_shmem_helper drm_dma_helper i2c_mux v4l2_fwnode drm_kms_helper v4l2_async i2c_brcmstb snd_soc_core snd_bcm2835(C) snd_compress snd_pcm_dmaengine bcm2835_v4l2(C) bcm2835_codec(C) bcm2835_isp(C) bcm2835_mmal_vchiq(C) videobuf2_vmalloc rpivid_hevc(C) snd_pcm v4l2_mem2mem videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common snd_timer vc_sm_cma(C) videodev snd syscopyarea mc spi_bcm2835 i2c_bcm2835 sysfillrect sysimgblt
- Troubleshooting attempts you’ve made?
At first, I am able to run the camera, and view the screen using libcamera-hello & libcamera-still but with no autofocus at all (It was working before this). Manual focus is not working also.
Then, I detach the cable, and this is what I saw → Cable
After that, I have tried with new cable, and it is displaying this error message
I have also tried on other raspberry pi and they are all the same.
I have did " dpkg -l | grep libcamera
" and this is what I got
ii libcamera-apps 0~git20230309+4def288-1 arm64 libcamera-apps
ii libcamera-dev 0.0.10 arm64 libcamera
ii libcamera0:arm64 0~git20230321+74d023d8-1 arm64 complex camera support library
ii python3-libcamera 0~git20230302+923f5d70-1 arm64 complex camera support library (Python 3 bindings)
- What help do you need?
I wonder if there is any way I can fix it using any commands or configurations or maybe the hardware is broken and how should I proceed with it?