64mp: failed to read chip id 4136, with error -5

  1. Where did you get the camera module(s)?
    pi-shop.ch

  2. Model number of the product(s)?
    64mp arducam

  3. What hardware/platform were you working on?
    RPI 4B Rev 1.4

  4. Instructions you have followed. (link/manual/etc.)
    manual and troubleshooting

  5. Problems you were having?
    installed everything on another RPI 4B and worked fine for two weeks but after a kernel update i got errors and I was not able to open preview window anymore.
    Installed everthing on the new device but cant find the camera.
    dmesg shows an issue with the I2C and i get the error: failed to read chip id 4136, with error -5

  6. The dmesg log from your hardware?
    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
    [ 0.000000] Linux version 6.1.21-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023
    [ 0.000000] random: crng init done
    [ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.4
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000000ec00000, size 512 MiB
    [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff]
    [ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000fbffffff]
    [ 0.000000] Normal empty
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000037ffffff]
    [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
    [ 0.000000] On node 0, zone DMA32: 16384 pages in unavailable ranges
    [ 0.000000] percpu: Embedded 29 pages/cpu s78504 r8192 d32088 u118784
    [ 0.000000] pcpu-alloc: s78504 r8192 d32088 u118784 alloc=29*4096
    [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [ 0.000000] Detected PIPT I-cache on CPU0
    [ 0.000000] CPU features: detected: Spectre-v2
    [ 0.000000] CPU features: detected: Spectre-v3a
    [ 0.000000] CPU features: detected: Spectre-v4
    [ 0.000000] CPU features: detected: Spectre-BHB
    [ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
    [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [ 0.000000] CPU features: detected: ARM erratum 1742098
    [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [ 0.000000] alternatives: applying boot alternatives
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 983808
    [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1200M@60 smsc95xx.macaddr=E4:5F:01:5C:EC:A8 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=0e6d6e80-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    [ 0.000000] Unknown kernel command line parameters “splash”, will be passed to user space.
    [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [ 0.000000] software IO TLB: area num 4.
    [ 0.000000] software IO TLB: mapped [mem 0x0000000034000000-0x0000000038000000] (64MB)
    [ 0.000000] Memory: 3305848K/3997696K available (11776K kernel code, 2106K rwdata, 3688K rodata, 4160K init, 1077K bss, 167560K reserved, 524288K cma-reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] ftrace: allocating 39744 entries in 156 pages
    [ 0.000000] ftrace: allocated 156 pages with 4 groups
    [ 0.000000] trace event string verifier disabled
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU event tracing is enabled.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [ 0.000000] Trampoline variant of Tasks RCU enabled.
    [ 0.000000] Rude variant of Tasks RCU enabled.
    [ 0.000000] Tracing variant of Tasks RCU enabled.
    [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [ 0.000000] Root IRQ handler: gic_handle_irq
    [ 0.000000] GIC: Using split EOI/Deactivate mode
    [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
    [ 0.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
    [ 0.000353] Console: colour dummy device 80x25
    [ 0.000424] printk: console [tty1] enabled
    [ 0.000491] Calibrating delay loop (skipped), value calculated using timer frequency… 108.00 BogoMIPS (lpj=216000)
    [ 0.000522] pid_max: default: 32768 minimum: 301
    [ 0.000649] LSM: Security Framework initializing
    [ 0.000889] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.000974] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.002355] cgroup: Disabling memory control group subsystem
    [ 0.004754] cblist_init_generic: Setting adjustable number of callback queues.
    [ 0.004774] cblist_init_generic: Setting shift to 2 and lim to 1.
    [ 0.004959] cblist_init_generic: Setting shift to 2 and lim to 1.
    [ 0.005138] cblist_init_generic: Setting shift to 2 and lim to 1.
    [ 0.005627] rcu: Hierarchical SRCU implementation.
    [ 0.005641] rcu: Max phase no-delay instances is 1000.
    [ 0.007012] EFI services will not be available.
    [ 0.007572] smp: Bringing up secondary CPUs …
    [ 0.008794] Detected PIPT I-cache on CPU1
    [ 0.008969] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
    [ 0.010160] Detected PIPT I-cache on CPU2
    [ 0.010287] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
    [ 0.011431] Detected PIPT I-cache on CPU3
    [ 0.011561] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
    [ 0.011712] smp: Brought up 1 node, 4 CPUs
    [ 0.011735] SMP: Total of 4 processors activated.
    [ 0.011748] CPU features: detected: 32-bit EL0 Support
    [ 0.011757] CPU features: detected: 32-bit EL1 Support
    [ 0.011770] CPU features: detected: CRC32 instructions
    [ 0.011964] CPU: All CPU(s) started at EL2
    [ 0.011991] alternatives: applying system-wide alternatives
    [ 0.013992] devtmpfs: initialized
    [ 0.026808] Enabled cp15_barrier support
    [ 0.026854] Enabled setend support
    [ 0.027078] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [ 0.027113] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [ 0.042414] pinctrl core: initialized pinctrl subsystem
    [ 0.043399] DMI not present or invalid.
    [ 0.044190] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [ 0.047854] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
    [ 0.048196] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [ 0.049152] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [ 0.049254] audit: initializing netlink subsys (disabled)
    [ 0.049542] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
    [ 0.050178] thermal_sys: Registered thermal governor ‘step_wise’
    [ 0.050271] cpuidle: using governor menu
    [ 0.050700] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.050903] ASID allocator initialised with 32768 entries
    [ 0.051072] Serial: AMBA PL011 UART driver
    [ 0.063740] bcm2835-mbox fe00b880.mailbox: mailbox enabled
    [ 0.072756] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/arducam_64mp@1a
    [ 0.080397] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-03-17T10:51:33, variant start_x
    [ 0.084411] raspberrypi-firmware soc:firmware: Firmware hash is 82f3750a65fadae9a38077e3c2e217ad158c8d54
    [ 0.100644] KASLR enabled
    [ 0.131972] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
    [ 0.137871] SCSI subsystem initialized
    [ 0.138164] usbcore: registered new interface driver usbfs
    [ 0.138226] usbcore: registered new interface driver hub
    [ 0.138295] usbcore: registered new device driver usb
    [ 0.138657] usb_phy_generic phy: supply vcc not found, using dummy regulator
    [ 0.138884] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
    [ 0.139259] pps_core: LinuxPPS API ver. 1 registered
    [ 0.139273] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
    [ 0.139301] PTP clock support registered
    [ 0.140494] vgaarb: loaded
    [ 0.141450] clocksource: Switched to clocksource arch_sys_counter
    [ 0.142172] VFS: Disk quotas dquot_6.6.0
    [ 0.142259] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.142447] FS-Cache: Loaded
    [ 0.142622] CacheFiles: Loaded
    [ 0.152066] NET: Registered PF_INET protocol family
    [ 0.153029] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [ 0.157894] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [ 0.158063] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [ 0.158095] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [ 0.158355] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [ 0.159583] TCP: Hash tables configured (established 32768 bind 32768)
    [ 0.159888] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.159995] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.160366] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [ 0.161294] RPC: Registered named UNIX socket transport module.
    [ 0.161314] RPC: Registered udp transport module.
    [ 0.161324] RPC: Registered tcp transport module.
    [ 0.161335] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.161361] PCI: CLS 0 bytes, default 64
    [ 0.164090] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [ 0.164519] kvm [1]: IPA Size Limit: 44 bits
    [ 0.165974] kvm [1]: vgic interrupt IRQ9
    [ 0.166216] kvm [1]: Hyp mode initialized successfully
    [ 1.309092] Initialise system trusted keyrings
    [ 1.309666] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [ 1.317691] zbud: loaded
    [ 1.320807] NFS: Registering the id_resolver key type
    [ 1.320851] Key type id_resolver registered
    [ 1.320862] Key type id_legacy registered
    [ 1.320984] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
    [ 1.321001] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
    [ 1.322532] Key type asymmetric registered
    [ 1.322552] Asymmetric key parser ‘x509’ registered
    [ 1.322637] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 1.322946] io scheduler mq-deadline registered
    [ 1.322963] io scheduler kyber registered
    [ 1.332366] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
    [ 1.332417] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
    [ 1.332507] brcm-pcie fd500000.pcie: MEM 0x0600000000…0x063fffffff → 0x00c0000000
    [ 1.332592] brcm-pcie fd500000.pcie: IB MEM 0x0000000000…0x00ffffffff → 0x0400000000
    [ 1.333682] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
    [ 1.333702] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 1.333720] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
    [ 1.333803] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
    [ 1.334066] pci 0000:00:00.0: PME# supported from D0 D3hot
    [ 1.338304] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
    [ 1.338493] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
    [ 1.338621] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
    [ 1.403542] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
    [ 1.403714] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
    [ 1.403844] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
    [ 1.404328] pci 0000:01:00.0: PME# supported from D0 D3hot
    [ 1.405124] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
    [ 1.405152] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
    [ 1.405198] pci 0000:00:00.0: PCI bridge to [bus 01]
    [ 1.405220] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
    [ 1.406587] simple-framebuffer 3e330000.framebuffer: framebuffer at 0x3e330000, 0x8ca000 bytes
    [ 1.406607] simple-framebuffer 3e330000.framebuffer: format=a8r8g8b8, mode=1920x1200x32, linelength=7680
    [ 1.407265] Console: switching to colour frame buffer device 240x75
    [ 1.417775] simple-framebuffer 3e330000.framebuffer: fb0: simplefb registered!
    [ 1.429739] iproc-rng200 fe104000.rng: hwrng registered
    [ 1.430260] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
    [ 1.431742] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
    [ 1.445586] brd: module loaded
    [ 1.454802] loop: module loaded
    [ 1.455669] Loading iSCSI transport class v2.0-870.
    [ 1.461277] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
    [ 1.521613] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
    [ 1.522835] usbcore: registered new interface driver r8152
    [ 1.522928] usbcore: registered new interface driver lan78xx
    [ 1.522992] usbcore: registered new interface driver smsc95xx
    [ 1.571160] pci 0000:00:00.0: enabling device (0000 → 0002)
    [ 1.571361] xhci_hcd 0000:01:00.0: xHCI Host Controller
    [ 1.571398] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
    [ 1.572220] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0001e40000000890
    [ 1.573333] xhci_hcd 0000:01:00.0: xHCI Host Controller
    [ 1.573355] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
    [ 1.573378] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
    [ 1.573838] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
    [ 1.573859] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.573874] usb usb1: Product: xHCI Host Controller
    [ 1.573887] usb usb1: Manufacturer: Linux 6.1.21-v8+ xhci-hcd
    [ 1.573900] usb usb1: SerialNumber: 0000:01:00.0
    [ 1.574677] hub 1-0:1.0: USB hub found
    [ 1.574750] hub 1-0:1.0: 1 port detected
    [ 1.575709] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
    [ 1.575730] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.575745] usb usb2: Product: xHCI Host Controller
    [ 1.575758] usb usb2: Manufacturer: Linux 6.1.21-v8+ xhci-hcd
    [ 1.575770] usb usb2: SerialNumber: 0000:01:00.0
    [ 1.576466] hub 2-0:1.0: USB hub found
    [ 1.576561] hub 2-0:1.0: 4 ports detected
    [ 1.578392] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [ 1.578690] dwc_otg: FIQ enabled
    [ 1.578701] dwc_otg: NAK holdoff enabled
    [ 1.578711] dwc_otg: FIQ split-transaction FSM enabled
    [ 1.578733] Module dwc_common_port init
    [ 1.579340] usbcore: registered new interface driver uas
    [ 1.579451] usbcore: registered new interface driver usb-storage
    [ 1.579697] mousedev: PS/2 mouse device common for all mice
    [ 1.586346] sdhci: Secure Digital Host Controller Interface driver
    [ 1.586367] sdhci: Copyright(c) Pierre Ossman
    [ 1.586971] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.590553] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.590924] hid: raw HID events driver (C) Jiri Kosina
    [ 1.591174] usbcore: registered new interface driver usbhid
    [ 1.591188] usbhid: USB HID core driver
    [ 1.600588] NET: Registered PF_PACKET protocol family
    [ 1.600726] Key type dns_resolver registered
    [ 1.602259] registered taskstats version 1
    [ 1.602358] Loading compiled-in X.509 certificates
    [ 1.603288] Key type .fscrypt registered
    [ 1.603303] Key type fscrypt-provisioning registered
    [ 1.619449] uart-pl011 fe201000.serial: there is not valid maps for state default
    [ 1.620233] uart-pl011 fe201000.serial: cts_event_workaround enabled
    [ 1.620417] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 35, base_baud = 0) is a PL011 rev2
    [ 1.629913] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
    [ 1.630413] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
    [ 1.631765] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
    [ 1.631785] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
    [ 1.662782] of_cfs_init
    [ 1.662925] of_cfs_init: OK
    [ 1.696897] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
    [ 1.697497] Waiting for root device PARTUUID=0e6d6e80-02…
    [ 1.749406] mmc1: new high speed SDIO card at address 0001
    [ 1.796799] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
    [ 1.797958] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [ 1.802562] mmcblk0: p1 p2
    [ 1.803187] mmcblk0: mmc0:aaaa SC16G 14.8 GiB (quirks 0x00004000)
    [ 1.823264] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
    [ 1.823366] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [ 1.824122] devtmpfs: mounted
    [ 1.829533] usb 1-1: new high-speed USB device number 2 using xhci_hcd
    [ 1.834359] Freeing unused kernel memory: 4160K
    [ 1.834581] Run /sbin/init as init process
    [ 1.834592] with arguments:
    [ 1.834602] /sbin/init
    [ 1.834612] splash
    [ 1.834621] with environment:
    [ 1.834630] HOME=/
    [ 1.834639] TERM=linux
    [ 1.980116] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
    [ 1.980157] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [ 1.980173] usb 1-1: Product: USB2.0 Hub
    [ 1.982667] hub 1-1:1.0: USB hub found
    [ 1.982910] hub 1-1:1.0: 4 ports detected
    [ 2.195589] systemd[1]: System time before build time, advancing clock.
    [ 2.277512] usb 1-1.2: new low-speed USB device number 3 using xhci_hcd
    [ 2.376228] NET: Registered PF_INET6 protocol family
    [ 2.378374] Segment Routing with IPv6
    [ 2.378430] In-situ OAM (IOAM) with IPv6
    [ 2.386125] usb 1-1.2: New USB device found, idVendor=17ef, idProduct=608d, bcdDevice= 1.00
    [ 2.386162] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 2.386178] usb 1-1.2: Product: Lenovo USB Optical Mouse
    [ 2.386193] usb 1-1.2: Manufacturer: PixArt
    [ 2.396703] input: PixArt Lenovo USB Optical Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:17EF:608D.0001/input/input0
    [ 2.397299] hid-generic 0003:17EF:608D.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt Lenovo USB Optical Mouse] on usb-0000:01:00.0-1.2/input0
    [ 2.460400] systemd[1]: systemd 247.3-7+deb11u2 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
    [ 2.461519] systemd[1]: Detected architecture arm64.
    [ 2.471145] systemd[1]: Set hostname to .
    [ 2.477491] usb 1-1.3: new high-speed USB device number 4 using xhci_hcd
    [ 2.687923] usb 1-1.3: New USB device found, idVendor=24a9, idProduct=1302, bcdDevice= 2.00
    [ 2.687966] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 2.687983] usb 1-1.3: Product: USB Flash Disk
    [ 2.687999] usb 1-1.3: Manufacturer: UPen
    [ 2.688012] usb 1-1.3: SerialNumber: 3HAC038143-0000000000582
    [ 2.691195] usb-storage 1-1.3:1.0: USB Mass Storage device detected
    [ 2.692033] scsi host0: usb-storage 1-1.3:1.0
    [ 2.773505] usb 1-1.4: new low-speed USB device number 5 using xhci_hcd
    [ 2.887461] usb 1-1.4: New USB device found, idVendor=17ef, idProduct=608c, bcdDevice= 1.14
    [ 2.887502] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 2.887519] usb 1-1.4: Product: Lenovo Calliope USB Keyboard
    [ 2.887533] usb 1-1.4: Manufacturer: LiteOn
    [ 2.899692] input: LiteOn Lenovo Calliope USB Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:17EF:608C.0002/input/input1
    [ 2.958431] hid-generic 0003:17EF:608C.0002: input,hidraw1: USB HID v1.11 Keyboard [LiteOn Lenovo Calliope USB Keyboard] on usb-0000:01:00.0-1.4/input0
    [ 2.967332] input: LiteOn Lenovo Calliope USB Keyboard System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:17EF:608C.0003/input/input2
    [ 3.025976] input: LiteOn Lenovo Calliope USB Keyboard Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:17EF:608C.0003/input/input3
    [ 3.026385] hid-generic 0003:17EF:608C.0003: input,hidraw2: USB HID v1.11 Device [LiteOn Lenovo Calliope USB Keyboard] on usb-0000:01:00.0-1.4/input1
    [ 3.085794] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd’s process lifecycle management for the service. Please update your service to use a safer KillMode=, such as ‘mixed’ or ‘control-group’. Support for KillMode=none is deprecated and will eventually be removed.
    [ 3.227912] systemd[1]: Queued start job for default target Graphical Interface.
    [ 3.251284] systemd[1]: Created slice system-getty.slice.
    [ 3.252697] systemd[1]: Created slice system-modprobe.slice.
    [ 3.253772] systemd[1]: Created slice system-systemd\x2dfsck.slice.
    [ 3.254673] systemd[1]: Created slice User and Session Slice.
    [ 3.255213] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ 3.256355] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [ 3.256817] systemd[1]: Reached target Slices.
    [ 3.256955] systemd[1]: Reached target Swap.
    [ 3.258091] systemd[1]: Listening on Syslog Socket.
    [ 3.258844] systemd[1]: Listening on fsck to fsckd communication Socket.
    [ 3.259244] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [ 3.260492] systemd[1]: Listening on Journal Audit Socket.
    [ 3.261280] systemd[1]: Listening on Journal Socket (/dev/log).
    [ 3.262330] systemd[1]: Listening on Journal Socket.
    [ 3.269684] systemd[1]: Listening on udev Control Socket.
    [ 3.270540] systemd[1]: Listening on udev Kernel Socket.
    [ 3.271540] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
    [ 3.290059] systemd[1]: Mounting POSIX Message Queue File System…
    [ 3.295304] systemd[1]: Mounting RPC Pipe File System…
    [ 3.301626] systemd[1]: Mounting Kernel Debug File System…
    [ 3.307930] systemd[1]: Mounting Kernel Trace File System…
    [ 3.308521] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
    [ 3.318883] systemd[1]: Starting Restore / save the current clock…
    [ 3.328001] systemd[1]: Starting Set the console keyboard layout…
    [ 3.334737] systemd[1]: Starting Create list of static device nodes for the current kernel…
    [ 3.341400] systemd[1]: Starting Load Kernel Module configfs…
    [ 3.348221] systemd[1]: Starting Load Kernel Module drm…
    [ 3.355294] systemd[1]: Starting Load Kernel Module fuse…
    [ 3.361808] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
    [ 3.373006] systemd[1]: Starting File System Check on Root Device…
    [ 3.398478] systemd[1]: Starting Journal Service…
    [ 3.414571] systemd[1]: Starting Load Kernel Modules…
    [ 3.424228] fuse: init (API version 7.37)
    [ 3.428601] systemd[1]: Starting Coldplug All udev Devices…
    [ 3.457786] systemd[1]: Mounted POSIX Message Queue File System.
    [ 3.458901] systemd[1]: Mounted RPC Pipe File System.
    [ 3.459851] systemd[1]: Mounted Kernel Debug File System.
    [ 3.460800] systemd[1]: Mounted Kernel Trace File System.
    [ 3.463321] systemd[1]: Finished Restore / save the current clock.
    [ 3.468748] systemd[1]: Finished Create list of static device nodes for the current kernel.
    [ 3.479514] systemd[1]: [email protected]: Succeeded.
    [ 3.481875] systemd[1]: Finished Load Kernel Module configfs.
    [ 3.484475] systemd[1]: [email protected]: Succeeded.
    [ 3.486340] systemd[1]: Finished Load Kernel Module fuse.
    [ 3.519373] i2c_dev: i2c /dev entries driver
    [ 3.530325] systemd[1]: Mounting FUSE Control File System…
    [ 3.538253] systemd[1]: Mounting Kernel Configuration File System…
    [ 3.546900] systemd[1]: Started File System Check Daemon to report status.
    [ 3.582484] systemd[1]: [email protected]: Succeeded.
    [ 3.584140] systemd[1]: Finished Load Kernel Module drm.
    [ 3.602301] systemd[1]: Finished Load Kernel Modules.
    [ 3.603516] systemd[1]: Mounted FUSE Control File System.
    [ 3.604192] systemd[1]: Mounted Kernel Configuration File System.
    [ 3.630907] systemd[1]: Starting Apply Kernel Variables…
    [ 3.634684] systemd[1]: Finished File System Check on Root Device.
    [ 3.646498] systemd[1]: Starting Remount Root and Kernel File Systems…
    [ 3.702642] systemd[1]: Finished Apply Kernel Variables.
    [ 3.711834] scsi 0:0:0:0: Direct-Access UPen USB Flash Disk 0000 PQ: 0 ANSI: 4
    [ 3.715053] sd 0:0:0:0: [sda] 31641664 512-byte logical blocks: (16.2 GB/15.1 GiB)
    [ 3.717205] sd 0:0:0:0: [sda] Write Protect is off
    [ 3.717242] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
    [ 3.725889] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn’t support DPO or FUA
    [ 3.736410] sda: sda1
    [ 3.737053] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [ 3.831346] systemd[1]: Started Journal Service.
    [ 4.325266] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
    [ 4.396460] systemd-journald[150]: Received client request to flush runtime journal.
    [ 4.412706] systemd-journald[150]: File /var/log/journal/855e69e2056d4b5abcec2655b89b3401/system.journal corrupted or uncleanly shut down, renaming and replacing.
    [ 5.557008] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [ 5.697676] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
    [ 5.722447] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
    [ 5.722492] [vc_sm_connected_init]: start
    [ 5.737779] [vc_sm_connected_init]: installed successfully
    [ 5.738991] mc: Linux media interface: v0.10
    [ 5.857076] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
    [ 5.909747] videodev: Linux video capture interface: v2.00
    [ 5.990766] bcm2835_audio bcm2835_audio: card created with 4 channels
    [ 5.994503] i2c i2c-22: Added multiplexed i2c bus 0
    [ 6.029853] i2c i2c-22: Added multiplexed i2c bus 10
    [ 6.094059] bcm2835_audio bcm2835_audio: card created with 4 channels
    [ 6.149048] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    [ 6.151203] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    [ 6.163944] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
    [ 6.172640] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
    [ 6.218110] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
    [ 6.267339] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
    [ 6.267424] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
    [ 6.280362] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
    [ 6.280438] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
    [ 6.318777] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
    [ 6.327078] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
    [ 6.327182] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
    [ 6.359315] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
    [ 6.359436] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
    [ 6.405628] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
    [ 6.406597] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
    [ 6.407253] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
    [ 6.407766] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
    [ 6.407804] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
    [ 6.407842] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
    [ 6.407860] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
    [ 6.407877] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
    [ 6.428537] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
    [ 6.448037] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
    [ 6.454680] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
    [ 6.454779] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
    [ 6.458778] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
    [ 6.500175] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
    [ 6.500235] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
    [ 6.500262] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
    [ 6.500282] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
    [ 6.500300] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
    [ 6.512758] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
    [ 6.770485] Console: switching to colour dummy device 80x25
    [ 6.785196] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
    [ 7.013719] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
    [ 7.205736] Console: switching to colour frame buffer device 240x75
    [ 7.205819] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
    [ 7.522575] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
    [ 7.540708] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [ 7.541901] rpivid feb10000.codec: Device registered as /dev/video19
    [ 7.575190] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
    [ 7.601353] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid

  7. Troubleshooting attempts you’ve made?
    -Changed several things in config.txt
    -Freshly installed all the drivers

  8. What help do you need?
    Does someone know how to fix this?
    Rest of dmesg and config.txt follows after that post.

[ 8.051159] 8021q: 802.1Q VLAN Support v1.8
[ 8.110095] uart-pl011 fe201000.serial: no DMA platform data
[ 8.279918] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 8.300144] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 8.304170] bcmgenet fd580000.ethernet eth0: Link is Down
[ 8.682993] dw9807 10-000c: I2C write CTL fail ret = -121
[ 8.756645] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 8.792435] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 8.895057] arducam_64mp 10-001a: failed to read chip id 4136, with error -5
[ 8.966330] dw9807 10-000c: I2C write STATUS address fail ret = -121
[ 8.966382] dw9807 10-000c: dw9807_ramp I2C failure: -121
[ 8.984222] dw9807 10-000c: I2C write STATUS address fail ret = -121
[ 8.984275] dw9807 10-000c: dw9807_ramp I2C failure: -121
[ 8.984628] dw9807 10-000c: I2C write CTL fail ret = -121
[ 9.084893] arducam_64mp: probe of 10-001a failed with error -5
[ 9.183313] usbcore: registered new interface driver brcmfmac
[ 9.189387] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[ 9.809403] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 12.381632] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 12.381685] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 15.984893] Bluetooth: Core ver 2.22
[ 15.985324] NET: Registered PF_BLUETOOTH protocol family
[ 15.985340] Bluetooth: HCI device and connection manager initialized
[ 15.985362] Bluetooth: HCI socket layer initialized
[ 15.985370] Bluetooth: L2CAP socket layer initialized
[ 15.985388] Bluetooth: SCO socket layer initialized
[ 15.998054] Bluetooth: HCI UART driver ver 2.3
[ 15.998079] Bluetooth: HCI UART protocol H4 registered
[ 15.998159] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 15.998358] Bluetooth: HCI UART protocol Broadcom registered
[ 16.275259] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 16.275280] Bluetooth: BNEP filters: protocol multicast
[ 16.275296] Bluetooth: BNEP socket layer initialized
[ 16.280635] Bluetooth: MGMT ver 1.22
[ 16.293456] NET: Registered PF_ALG protocol family
[ 16.441758] Bluetooth: RFCOMM TTY layer initialized
[ 16.441802] Bluetooth: RFCOMM socket layer initialized
[ 16.441839] Bluetooth: RFCOMM ver 1.11
[ 18.034046] exFAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Config file:

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 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

Run in 64-bit mode

arm_64bit=1

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]
dtoverlay=arducam-64mp

[pi4]

Run as fast as firmware / board allows

arm_boost=1
dtoverlay=vc4-fkms-v3d,cma-512

[all]
gpu_mem=128

@Chris3785

Before, I need some information

Please reboot your device and execute the following command:

wget -O arducam-camera-bug-report https://github.com/ketai-dhr/arducam-camera-bug-report/releases/download/tools/arducam-camera-bug-report
chmod +x ./arducam-camera-bug-report
./arducam-camera-bug-report

This will output an arducam-bug-report.txt in the current directory.

Please send this file to me via google cloud disk or similar platform or email ([email protected])

And if possible, please send me the hardware connection diagram.

Thank you for your cooperation.