Arducam 64MB Autofocus not detected under bullseye

  1. Where did you get the camera module(s)?
    Arducam 64MB Autofocus
    Manufacturer #: B0399
    Under raspberry pi 4 8GB

  2. Model number of the product(s)?
    Arducam 64MB Autofocus
    Manufacturer #: B0399

  3. What hardware/platform were you working on?
    Bullseye 32bit

  4. Instructions you have followed. (link/manual/etc.)
    1 week trying

  5. Problems you were having?
    supported=1 detected=0, libcamera interfaces=1

Always is displaying: detected=0
libcamera-still is working

  1. The dmesg log from your hardware?

root@raspberrypi:~# dmesg|grep arducam
[ 0.077867] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_64mp@1a
[ 8.686292] arducam_64mp: loading out-of-tree module taints kernel.
[ 8.883839] arducam_64mp 10-001a: Device found Arducam 64MP.
[ 8.941051] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints

  1. Troubleshooting attempts you’ve made?
    1 week trying it

  2. What help do you need?
    I can’t run python libraries if detected is 0

=============
vcgencmd get_camera
supported=1 detected=0, libcamera interfaces=1

root@raspberrypi:~# libcamera-still --list-cameras
Available cameras

0 : arducam_64mp [9248x6944 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/arducam_64mp@1a)
Modes: ‘SRGGB10_CSI2P’ : 1280x720 [120.09 fps - (2064, 2032)/5120x2880 crop]
1920x1080 [60.04 fps - (784, 1312)/7680x4320 crop]
2312x1736 [30.00 fps - (0, 0)/9248x6944 crop]
3840x2160 [20.00 fps - (784, 1312)/7680x4320 crop]
4624x3472 [10.00 fps - (0, 0)/9248x6944 crop]
8000x6000 [3.00 fps - (624, 472)/9248x6944 crop]
9152x6944 [2.70 fps - (0, 0)/9248x6944 crop]

/boot/config,.txt

[pi4]
#dtoverlay=vc4-fkms-v3d
dtoverlay=vc4-kms-v3d,cma-512

Run as fast as firmware / board allows

arm_boost=1

[all]
dtoverlay=arducam-64mp
#dtoverlay=imx519
#gpu_mem=128
camera_auto_detect=1
#gpu_mem

root@raspberrypi:~# uname -a
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

==============================
root@raspberrypi:~# cat /etc/os-release
PRETTY_NAME=“Raspbian GNU/Linux 11 (bullseye)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian

====================================
root@raspberrypi:~# cat /proc/cpuinfo
cat /proc/meminfoprocessor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

Hardware : BCM2835
Revision : d03115
Serial : 100000006677fa18
Model : Raspberry Pi 4 Model B Rev 1.5
root@raspberrypi:~# cat /proc/meminfo
MemTotal: 7999804 kB
MemFree: 7310440 kB
MemAvailable: 7647668 kB
Buffers: 26060 kB
Cached: 435588 kB
SwapCached: 0 kB
Active: 352832 kB
Inactive: 195208 kB
Active(anon): 123100 kB
Inactive(anon): 1448 kB
Active(file): 229732 kB
Inactive(file): 193760 kB
Unevictable: 32796 kB
Mlocked: 16 kB
SwapTotal: 102396 kB
SwapFree: 102396 kB
Zswap: 0 kB
Zswapped: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 119236 kB
Mapped: 121812 kB
Shmem: 38156 kB
KReclaimable: 28040 kB
Slab: 55328 kB
SReclaimable: 28040 kB
SUnreclaim: 27288 kB
KernelStack: 4288 kB
PageTables: 5572 kB
SecPageTables: 0 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 4102296 kB
Committed_AS: 1040028 kB
VmallocTotal: 259653632 kB
VmallocUsed: 11604 kB
VmallocChunk: 0 kB
Percpu: 656 kB
CmaTotal: 524288 kB
CmaFree: 503924 kB

root@raspberrypi:~# dmesg|grep arducam
[ 0.077867] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_64mp@1a
[ 8.686292] arducam_64mp: loading out-of-tree module taints kernel.
[ 8.883839] arducam_64mp 10-001a: Device found Arducam 64MP.
[ 8.941051] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints

===================================

root@raspberrypi:~# ls /dev/video*
/dev/video0 /dev/video1 /dev/video10 /dev/video11 /dev/video12 /dev/video13 /dev/video14 /dev/video15 /dev/video16 /dev/video18 /dev/video19 /dev/video20 /dev/video21 /dev/video22 /dev/video23 /dev/video31
root@raspberrypi:~# dpkg -l | grep libcamera
ii libcamera-apps 1.2.1-1 armhf libcamera-apps
ii libcamera-dev:armhf 0~git20230724+ad9428b4-1 armhf complex camera support library (development files)
ii libcamera0:armhf 0~git20230724+ad9428b4-1 armhf complex camera support library
ii python3-libcamera 0~git20230720+bde9b04f-1 armhf complex camera support library (Python 3 bindings)

===============================

root@raspberrypi:~# libcamera-still --list-cameras
Available cameras

0 : arducam_64mp [9248x6944 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/arducam_64mp@1a)
Modes: ‘SRGGB10_CSI2P’ : 1280x720 [120.09 fps - (2064, 2032)/5120x2880 crop]
1920x1080 [60.04 fps - (784, 1312)/7680x4320 crop]
2312x1736 [30.00 fps - (0, 0)/9248x6944 crop]
3840x2160 [20.00 fps - (784, 1312)/7680x4320 crop]
4624x3472 [10.00 fps - (0, 0)/9248x6944 crop]
8000x6000 [3.00 fps - (624, 472)/9248x6944 crop]
9152x6944 [2.70 fps - (0, 0)/9248x6944 crop]

libcamera-still works

root@raspberrypi:~# 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: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –

==============================================

I want to execute programs in python 3.7 but it fails because pythonsays that the camera has not been detected, it asks me to connect the camera with raspi-config, which I already had activated a week ago. With a normal Raspberry camera V2, all python programs works without problems.

I just want to fix detected=0 from
vcgencmd get_camera
supported=1 detected=0, libcamera interfaces=1

is there any way to turn detected=1 ?

Best regards

Hi

This camera is not compatible with the legacy camera stack. Please try the code in the link below: