No Autofocus working IMX519

1.Where did you get the camera module(s)?
Amazon.com

2.Model number of the product(s).
16MP AUtofocus camerfa IMX519

3.What hardware/platform were you working on?
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 11 (bullseye)
Connected from windows10 through VNC.

4.Instructions you have followed. (link/manual/etc.)
https://docs.arducam.com/Raspberry-Pi-Camera/Native-camera/Quick-Start-Guide/

5.Problems you were having.
Autofocus is not working.
And geting ERROR.

[0:04:19.591851747] [1326] ERROR V4L2 v4l2_device.cpp:92 ‘ak7375 10-000c’: Failed to open V4L2 device ‘/dev/v4l-subdev1’: Invalid argument

[0:04:19.592001799] [1326] ERROR CameraSensor camera_sensor.cpp:517 ‘imx519 10-001a’: Lens initialisation failed, lens disabled

  1. The dmesg log from your hardware.
    please check the “reply”>

7.Troubleshooting attempts you’ve made.
Crean install OS “Raspbian GNU/Linux 11 (bullseye)”

Modify /boot/config.txt to add dtoverlay=vc4-kms-v3d,cma-128 under [all]section

8.What help do you need?
I need fix autofocus problem.

Also I submit this problem from Cntact Center at last week.
but no response yet.

This is the dmesg

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 6.1.21-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1642 SMP Mon Apr 3 17:20:52 BST 2023
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] random: crng init done
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x26c00000, size 128 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] percpu: Embedded 17 pages/cpu s36884 r8192 d24556 u69632
[ 0.000000] pcpu-alloc: s36884 r8192 d24556 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 194880
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 snd_bcm2835.enable_hdmi=0 video=HDMI-A-1:1024x768M@60D vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=cee5b201-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: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 629552K/786432K available (10240K kernel code, 1452K rwdata, 2900K rodata, 1024K init, 613K bss, 25808K reserved, 131072K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 34800 entries in 103 pages
[ 0.000000] ftrace: allocated 102 pages with 4 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 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 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000018] Switching to timer-based delay loop, resolution 52ns
[ 0.000373] Console: colour dummy device 80x30
[ 0.000447] printk: console [tty1] enabled
[ 0.000501] Calibrating delay loop (skipped), value calculated using timer frequency… 38.40 BogoMIPS (lpj=192000)
[ 0.000524] pid_max: default: 32768 minimum: 301
[ 0.000668] LSM: Security Framework initializing
[ 0.000868] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.000891] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.001991] cgroup: Disabling memory control group subsystem
[ 0.002211] CPU: Testing write buffer coherency: ok
[ 0.002601] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003435] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.003452] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.003563] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.003703] Setting up static identity map for 0x100000 - 0x10003c
[ 0.003840] rcu: Hierarchical SRCU implementation.
[ 0.003849] rcu: Max phase no-delay instances is 1000.
[ 0.004541] smp: Bringing up secondary CPUs …
[ 0.005403] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.006320] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.007171] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.007273] smp: Brought up 1 node, 4 CPUs
[ 0.007294] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.007307] CPU: All CPU(s) started in HYP mode.
[ 0.007314] CPU: Virtualization extensions available.
[ 0.007977] devtmpfs: initialized
[ 0.023384] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.023577] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.023606] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.028702] pinctrl core: initialized pinctrl subsystem
[ 0.029860] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.033015] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.037999] audit: initializing netlink subsys (disabled)
[ 0.038214] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[ 0.038815] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.039948] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.039996] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.040236] Serial: AMBA PL011 UART driver
[ 0.046641] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.051237] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx519@1a
[ 0.070058] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-03-17T10:53:39, variant start_x
[ 0.080075] raspberrypi-firmware soc:firmware: Firmware hash is 82f3750a65fadae9a38077e3c2e217ad158c8d54
[ 0.123233] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 0.127317] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.128987] SCSI subsystem initialized
[ 0.129230] usbcore: registered new interface driver usbfs
[ 0.129294] usbcore: registered new interface driver hub
[ 0.129351] usbcore: registered new device driver usb
[ 0.129591] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.129771] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[ 0.130042] pps_core: LinuxPPS API ver. 1 registered
[ 0.130054] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.130082] PTP clock support registered
[ 2.008950] clocksource: Switched to clocksource arch_sys_counter
[ 2.009729] VFS: Disk quotas dquot_6.6.0
[ 2.009805] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.009955] FS-Cache: Loaded
[ 2.057017] CacheFiles: Loaded
[ 2.065909] NET: Registered PF_INET protocol family
[ 2.066271] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 2.068884] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 2.068988] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.069026] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 2.069221] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 2.069589] TCP: Hash tables configured (established 8192 bind 8192)
[ 2.069750] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 2.069818] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 2.070083] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.070704] RPC: Registered named UNIX socket transport module.
[ 2.070717] RPC: Registered udp transport module.
[ 2.070727] RPC: Registered tcp transport module.
[ 2.070735] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.072835] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 2.109118] Initialise system trusted keyrings
[ 2.109435] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 2.118722] zbud: loaded
[ 2.121344] NFS: Registering the id_resolver key type
[ 2.121392] Key type id_resolver registered
[ 2.121403] Key type id_legacy registered
[ 2.121530] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 2.121543] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
[ 2.122842] Key type asymmetric registered
[ 2.122857] Asymmetric key parser ‘x509’ registered
[ 2.123039] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 2.123057] io scheduler mq-deadline registered
[ 2.123070] io scheduler kyber registered
[ 2.128077] simple-framebuffer 3e402000.framebuffer: framebuffer at 0x3e402000, 0x7f8000 bytes
[ 2.128105] simple-framebuffer 3e402000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=7680
[ 2.128674] Console: switching to colour frame buffer device 240x67
[ 2.155852] simple-framebuffer 3e402000.framebuffer: fb0: simplefb registered!
[ 2.159373] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 2.161121] bcm2835-rng 3f104000.rng: hwrng registered
[ 2.161521] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 2.162378] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 2.173719] brd: module loaded
[ 2.181021] loop: module loaded
[ 2.181685] Loading iSCSI transport class v2.0-870.
[ 2.183215] usbcore: registered new interface driver lan78xx
[ 2.183277] usbcore: registered new interface driver smsc95xx
[ 2.183297] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 2.911343] Core Release: 2.80a
[ 2.911367] Setting default values for core params
[ 2.911391] Finished setting default values for core params
[ 3.111637] Using Buffer DMA mode
[ 3.111646] Periodic Transfer Interrupt Enhancement - disabled
[ 3.111655] Multiprocessor Interrupt Enhancement - disabled
[ 3.111663] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 3.111700] Dedicated Tx FIFOs mode

[ 3.112237] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = a6d04000 dma = 0xe6d04000 len=9024
[ 3.112274] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 3.112291] dwc_otg: Microframe scheduler enabled

[ 3.112408] WARN::hcd_init_fiq:457: FIQ on core 1

[ 3.112428] WARN::hcd_init_fiq:458: FIQ ASM at 807c4360 length 36

[ 3.112453] WARN::hcd_init_fiq:497: MPHI regs_base at b0810000
[ 3.112477] dwc_otg 3f980000.usb: DWC OTG Controller
[ 3.112512] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 3.112555] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[ 3.112609] Init: Port Power? op_state=1
[ 3.112618] Init: Power Port (0)
[ 3.112842] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 3.112861] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.112877] usb usb1: Product: DWC OTG Controller
[ 3.112890] usb usb1: Manufacturer: Linux 6.1.21-v7+ dwc_otg_hcd
[ 3.112903] usb usb1: SerialNumber: 3f980000.usb
[ 3.113579] hub 1-0:1.0: USB hub found
[ 3.113629] hub 1-0:1.0: 1 port detected
[ 3.114324] dwc_otg: FIQ enabled
[ 3.114335] dwc_otg: NAK holdoff enabled
[ 3.114343] dwc_otg: FIQ split-transaction FSM enabled
[ 3.114358] Module dwc_common_port init
[ 3.114693] usbcore: registered new interface driver usb-storage
[ 3.114937] mousedev: PS/2 mouse device common for all mice
[ 3.117603] sdhci: Secure Digital Host Controller Interface driver
[ 3.117617] sdhci: Copyright(c) Pierre Ossman
[ 3.117906] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.119826] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.120162] hid: raw HID events driver (C) Jiri Kosina
[ 3.120326] usbcore: registered new interface driver usbhid
[ 3.120338] usbhid: USB HID core driver
[ 3.124560] Initializing XFRM netlink socket
[ 3.124611] NET: Registered PF_PACKET protocol family
[ 3.124701] Key type dns_resolver registered
[ 3.125695] Registering SWP/SWPB emulation handler
[ 3.126367] registered taskstats version 1
[ 3.126421] Loading compiled-in X.509 certificates
[ 3.127206] Key type .fscrypt registered
[ 3.127219] Key type fscrypt-provisioning registered
[ 3.139576] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 3.139755] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[ 3.141335] bcm2835-aux-uart 3f215040.serial: there is not valid maps for state default
[ 3.141714] printk: console [ttyS0] disabled
[ 3.141805] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 86, base_baud = 50000000) is a 16550
[ 3.142189] printk: console [ttyS0] enabled
[ 3.143205] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 3.143495] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 3.144714] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 3.144733] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 3.172600] sdhost: log_buf @ bc41ee15 (e6d07000)
[ 3.220993] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 3.223550] of_cfs_init
[ 3.223770] of_cfs_init: OK
[ 3.224684] Waiting for root device PARTUUID=cee5b201-02…
[ 3.239087] Indeed it is in host mode hprt0 = 00021501
[ 3.285995] mmc0: host does not support reading read-only switch, assuming write-enable
[ 3.289319] mmc0: new high speed SDHC card at address aaaa
[ 3.290283] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 3.293989] mmcblk0: p1 p2
[ 3.294639] mmcblk0: mmc0:aaaa SL16G 14.8 GiB (quirks 0x00004000)
[ 3.310403] mmc1: new high speed SDIO card at address 0001
[ 3.336597] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.336693] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 3.337588] devtmpfs: mounted
[ 3.343279] Freeing unused kernel image (initmem) memory: 1024K
[ 3.369462] Run /sbin/init as init process
[ 3.369475] with arguments:
[ 3.369483] /sbin/init
[ 3.369492] splash
[ 3.369502] with environment:
[ 3.369510] HOME=/
[ 3.369518] TERM=linux
[ 3.448986] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 3.449159] Indeed it is in host mode hprt0 = 00001101
[ 3.689298] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[ 3.689344] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.690082] hub 1-1:1.0: USB hub found
[ 3.690170] hub 1-1:1.0: 5 ports detected
[ 3.864873] systemd[1]: System time before build time, advancing clock.
[ 4.009017] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 4.112809] NET: Registered PF_INET6 protocol family
[ 4.114386] Segment Routing with IPv6
[ 4.114433] In-situ OAM (IOAM) with IPv6
[ 4.139319] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[ 4.139363] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.142088] smsc95xx v2.0.0
[ 4.229922] systemd[1]: systemd 247.3-7+rpi1+deb11u1 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)
[ 4.231001] systemd[1]: Detected architecture arm.
[ 4.240582] systemd[1]: Set hostname to .
[ 4.280744] SMSC LAN8700 usb-001:003:01: attached PHY driver (mii_bus:phy_addr=usb-001:003:01, irq=199)
[ 4.281791] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f4:11:a1
[ 4.379035] usb 1-1.2: new low-speed USB device number 4 using dwc_otg
[ 4.526958] usb 1-1.2: New USB device found, idVendor=1c4f, idProduct=0002, bcdDevice= 1.10
[ 4.527014] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.527044] usb 1-1.2: Product: USB Keyboard
[ 4.527075] usb 1-1.2: Manufacturer: SIGMACHIP
[ 4.540201] input: SIGMACHIP USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:1C4F:0002.0001/input/input0
[ 4.609738] hid-generic 0003:1C4F:0002.0001: input,hidraw0: USB HID v1.10 Keyboard [SIGMACHIP USB Keyboard] on usb-3f980000.usb-1.2/input0
[ 4.619555] input: SIGMACHIP USB Keyboard Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:1C4F:0002.0002/input/input1
[ 4.689457] input: SIGMACHIP USB Keyboard System Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:1C4F:0002.0002/input/input2
[ 4.689827] hid-generic 0003:1C4F:0002.0002: input,hidraw1: USB HID v1.10 Device [SIGMACHIP USB Keyboard] on usb-3f980000.usb-1.2/input1
[ 4.989003] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
[ 5.128789] usb 1-1.3: New USB device found, idVendor=25a7, idProduct=fa61, bcdDevice= 6.18
[ 5.128833] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.128852] usb 1-1.3: Product: 2.4G Receiver
[ 5.128866] usb 1-1.3: Manufacturer: Compx
[ 5.133794] input: Compx 2.4G Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:25A7:FA61.0003/input/input3
[ 5.199813] hid-generic 0003:25A7:FA61.0003: input,hidraw2: USB HID v1.10 Keyboard [Compx 2.4G Receiver] on usb-3f980000.usb-1.3/input0
[ 5.213080] input: Compx 2.4G Receiver Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:25A7:FA61.0004/input/input4
[ 5.213616] input: Compx 2.4G Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:25A7:FA61.0004/input/input5
[ 5.214037] input: Compx 2.4G Receiver Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:25A7:FA61.0004/input/input6
[ 5.217290] 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.
[ 5.279462] input: Compx 2.4G Receiver System Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:25A7:FA61.0004/input/input7
[ 5.280040] hid-generic 0003:25A7:FA61.0004: input,hiddev96,hidraw3: USB HID v1.10 Mouse [Compx 2.4G Receiver] on usb-3f980000.usb-1.3/input1
[ 5.510745] systemd[1]: Queued start job for default target Graphical Interface.
[ 5.566476] systemd[1]: Created slice system-getty.slice.
[ 5.568149] systemd[1]: Created slice system-modprobe.slice.
[ 5.569528] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 5.570733] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 5.571581] systemd[1]: Created slice User and Session Slice.
[ 5.572205] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 5.573577] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 5.574864] systemd[1]: Reached target Slices.
[ 5.575231] systemd[1]: Reached target Swap.
[ 5.582923] systemd[1]: Listening on Syslog Socket.
[ 5.583832] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 5.584334] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 5.585666] systemd[1]: Listening on Journal Audit Socket.
[ 5.586461] systemd[1]: Listening on Journal Socket (/dev/log).
[ 5.587611] systemd[1]: Listening on Journal Socket.
[ 5.594526] systemd[1]: Listening on udev Control Socket.
[ 5.595420] systemd[1]: Listening on udev Kernel Socket.
[ 5.596971] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 5.639547] systemd[1]: Mounting POSIX Message Queue File System…
[ 5.644055] systemd[1]: Mounting RPC Pipe File System…
[ 5.651151] systemd[1]: Mounting Kernel Debug File System…
[ 5.658041] systemd[1]: Mounting Kernel Trace File System…
[ 5.659081] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 5.675359] systemd[1]: Starting Restore / save the current clock…
[ 5.682447] systemd[1]: Starting Set the console keyboard layout…
[ 5.689629] systemd[1]: Starting Create list of static device nodes for the current kernel…
[ 5.696454] systemd[1]: Starting Load Kernel Module configfs…
[ 5.705244] systemd[1]: Starting Load Kernel Module drm…
[ 5.712847] systemd[1]: Starting Load Kernel Module fuse…
[ 5.735206] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 5.741366] systemd[1]: Starting File System Check on Root Device…
[ 5.753817] systemd[1]: Starting Journal Service…
[ 5.783396] systemd[1]: Starting Load Kernel Modules…
[ 5.792645] systemd[1]: Starting Coldplug All udev Devices…
[ 5.813998] systemd[1]: Mounted POSIX Message Queue File System.
[ 5.815031] systemd[1]: Mounted RPC Pipe File System.
[ 5.816011] systemd[1]: Mounted Kernel Debug File System.
[ 5.816980] systemd[1]: Mounted Kernel Trace File System.
[ 5.818904] systemd[1]: Finished Restore / save the current clock.
[ 5.826065] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 5.827760] systemd[1]: [email protected]: Succeeded.
[ 5.829651] systemd[1]: Finished Load Kernel Module configfs.
[ 5.833772] fuse: init (API version 7.37)
[ 5.859529] systemd[1]: Mounting Kernel Configuration File System…
[ 5.865917] systemd[1]: [email protected]: Succeeded.
[ 5.872764] systemd[1]: Finished Load Kernel Module fuse.
[ 5.884844] systemd[1]: Mounting FUSE Control File System…
[ 5.893578] systemd[1]: Mounted Kernel Configuration File System.
[ 5.901419] systemd[1]: Started File System Check Daemon to report status.
[ 5.918424] systemd[1]: Mounted FUSE Control File System.
[ 5.961026] i2c_dev: i2c /dev entries driver
[ 5.974977] systemd[1]: Finished Load Kernel Modules.
[ 5.980960] systemd[1]: Starting Apply Kernel Variables…
[ 6.054757] systemd[1]: [email protected]: Succeeded.
[ 6.056306] systemd[1]: Finished Load Kernel Module drm.
[ 6.070970] systemd[1]: Finished Apply Kernel Variables.
[ 6.155725] systemd[1]: Started Journal Service.
[ 6.375565] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[ 6.520781] systemd-journald[131]: Received client request to flush runtime journal.
[ 6.529919] systemd-journald[131]: File /var/log/journal/ae2a5622629a468cb41458ba9e9dbf1d/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 8.141699] mc: Linux media interface: v0.10
[ 8.217107] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.224545] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 8.224579] [vc_sm_connected_init]: start
[ 8.225294] [vc_sm_connected_init]: installed successfully
[ 8.310558] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.364936] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 8.366271] videodev: Linux video capture interface: v2.00
[ 8.510702] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.517359] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.553476] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.556651] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.558549] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.570630] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 8.570705] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 8.576189] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 8.576247] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 8.576904] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 8.578196] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 8.578633] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 8.579118] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 8.579172] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 8.579889] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 8.579927] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 8.579951] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 8.579969] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 8.579987] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 8.592144] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 8.592221] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 8.593218] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 8.593847] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 8.594363] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 8.595046] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 8.595256] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 8.595292] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 8.595311] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 8.595329] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 8.617237] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 8.631935] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 8.632009] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 8.821368] i2c i2c-11: Added multiplexed i2c bus 0
[ 8.875937] i2c i2c-11: Added multiplexed i2c bus 10
[ 9.459312] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 9.716877] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 9.826291] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 9.977969] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 9.999276] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 10.000143] usbcore: registered new interface driver brcmfmac
[ 10.314826] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Jul 19 2021 03:24:18 version 7.45.98 (TOB) (56df937 CY) FWID 01-8e14b897
[ 10.374734] Console: switching to colour dummy device 80x30
[ 10.393176] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[ 10.395917] [drm] forcing HDMI-A-1 connector on
[ 10.407265] Registered IR keymap rc-cec
[ 10.407512] rc rc0: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0
[ 10.407765] input: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0/input9
[ 10.417033] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[ 10.417572] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[ 10.418251] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 10.418684] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 10.419182] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 10.419540] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[ 10.436164] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[ 11.327050] 8021q: 802.1Q VLAN Support v1.8
[ 11.453102] i2c-bcm2835 3f805000.i2c: i2c transfer timed out
[ 11.454094] uart-pl011 3f201000.serial: no DMA platform data
[ 11.467006] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 11.515690] EDID has corrupt header
[ 11.515738] [00] BAD 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 11.515767] [00] BAD 22 18 01 03 80 3e 22 78 ea 55 25 a1 57 4f a0 28
[ 11.515787] [00] BAD 0f 50 54 bf ef 80 81 00 81 c0 81 80 95 00 a9 c0
[ 11.515799] [00] BAD b3 00 d1 c0 d1 00 04 74 00 30 f2 70 5a 80 b0 58
[ 11.515810] [00] BAD 8a 00 6d 55 21 00 00 1e 56 5e 00 a0 a0 a0 29 50
[ 11.515821] [00] BAD 30 20 35 00 5f 59 21 00 00 1a 00 00 00 fd 00 18
[ 11.515832] [00] BAD 46 1a 8c 1e 00 0a 20 20 20 20 20 20 00 00 00 fc
[ 11.515844] [00] BAD 00 48 44 4d 49 31 0a 20 20 20 20 20 20 20 01 7d
[ 11.528754] Console: switching to colour frame buffer device 128x48
[ 11.528820] vc4-drm soc:gpu: [drm] fb0: vc4drmfb frame buffer device
[ 11.694896] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[ 11.704002] smsc95xx 1-1.1:1.0 eth0: Link is Down
[ 12.803707] ak7375 10-000c: supply vio not found, using dummy regulator
[ 12.843236] imx519 10-001a: Device found is imx519
[ 12.843919] imx519 10-001a: Consider updating driver imx519 to match on endpoints
[ 13.022988] EDID has corrupt header
[ 13.050961] ak7375 10-000c: ak7375_vcm_resume I2C failure: -121
[ 13.074958] EDID has corrupt header
[ 13.125791] EDID has corrupt header
[ 13.207937] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 14.665602] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 14.969869] hwmon hwmon1: Undervoltage detected!
[ 16.840114] EDID has corrupt header
[ 16.888380] EDID has corrupt header
[ 17.725994] Bluetooth: Core ver 2.22
[ 17.726099] NET: Registered PF_BLUETOOTH protocol family
[ 17.726106] Bluetooth: HCI device and connection manager initialized
[ 17.726126] Bluetooth: HCI socket layer initialized
[ 17.726136] Bluetooth: L2CAP socket layer initialized
[ 17.726152] Bluetooth: SCO socket layer initialized
[ 17.742883] Bluetooth: HCI UART driver ver 2.3
[ 17.742908] Bluetooth: HCI UART protocol H4 registered
[ 17.742986] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 17.743142] Bluetooth: HCI UART protocol Broadcom registered
[ 18.139930] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 18.139955] Bluetooth: BNEP filters: protocol multicast
[ 18.139972] Bluetooth: BNEP socket layer initialized
[ 18.148870] Bluetooth: MGMT ver 1.22
[ 18.171959] NET: Registered PF_ALG protocol family
[ 18.217404] cryptd: max_cpu_qlen set to 1000
[ 19.129069] hwmon hwmon1: Voltage normalised
[ 20.408340] Bluetooth: RFCOMM TTY layer initialized
[ 20.408376] Bluetooth: RFCOMM socket layer initialized
[ 20.408400] Bluetooth: RFCOMM ver 1.11
[ 22.677782] EDID has corrupt header
[ 22.825254] EDID has corrupt header
[ 22.901188] EDID has corrupt header
[ 25.364175] EDID has corrupt header
[ 25.568754] EDID has corrupt header
[ 25.621963] EDID has corrupt header
[ 25.969065] EDID has corrupt header
[ 26.142600] EDID has corrupt header
[ 27.360122] EDID has corrupt header
[ 75.289029] hwmon hwmon1: Undervoltage detected!
[ 79.448942] hwmon hwmon1: Voltage normalised
[ 139.768790] hwmon hwmon1: Undervoltage detected!
[ 143.928691] hwmon hwmon1: Voltage normalised

@jhcl21

Excuse me, do you happen to have the SKU number for your camera?

Hi Edward.
Thank you for helping me.
I’m not sure Which one is the SKU number.
But I think B0371C is the number printed on the label.

@jhcl21

I have compiled a test version for you to try.
imx519_kernel_driver_low_speed_pdaf_6.1.21.tar.gz (84.6 KB)

How to use:

tar avxf imx519_kernel_driver_low_speed_pdaf_6.1.21.tar.gz
cd Release/
./install_driver.sh

Then reboot and try it again.

If the problem still exists:

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 and have a nice life.

I appreciate your help Edward.

The Error has changed after install your new driver and reboot.

Now only “*** no cameras available ***”
and not showing the preview anymore which was previously shown.

2023-05-06_09h33_59

I emailed the log file, please check it.

My camera connection is like this pic.

I also connected a monitor through HDMI cable and attached a USB keyboard.
Using pi from VNC viewer.

@jhcl21

I have received your email.

I would like to apologize for any inconvenience caused as a result of my mistake. It seems that I sent you the incorrect package.

I apologize for the error and any inconvenience this may have caused.

I will send you an updated installation package and kindly ask that you try again.

Thank you, Edward.
I will wait for your updated package.

@jhcl21

I have compiled the latest installation package. Please check your email and follow the instructions provided to complete the installation process

Thank you for your help Edward.
I did bellow steps, No error.
I think getting close but not working yet.

1)I clean installed Raspi OS, and it is 6.1.21.
Image

2)Installed new driver.
3)Added the “dtoverlay=imx519” line at the bottom of the config file.
4)restart Raspeberry pi.

5)Run the “libcamera-still -t 5000”.

The preview screen popped but disappear immediately and nothing happen.

image

@jhcl21

Could you please install libcamera?


https://docs.arducam.com/Raspberry-Pi-Camera/Native-camera/Quick-Start-Guide/#software-guide-for-native-camera

I appreciate for your generous support.

I installed “libcamera” and no more error and warning.
but still has preview problem and no autofocus working.

“libcamera-still -t 5000”
The Preview windows opened but it is just black screen.

“libcamera-still -t 0”
The preview window opened the image shown in second intermittently(blinking) and the image is not updated when camera moved.
The image seems out of focus.

“libcamera-still -t 5000 -n -o test.jpg”
The test.jpg has been saved but the image is out of focus.

@jhcl21

This issue requires attention. We need to schedule a meeting to discuss it and provide you with a response on how to address it. We kindly ask for your patience for the next two days.

Thank you Edward.
I will wait.

@jhcl21

After a series of discussions, we have decided to support you remotely. I have sent a private message to your email in the forum mailbox. Please check your email and send us a message to confirm that you have received it.

I got the message in the forum mailbox and send a message.
thanks

Is there any update to this. I have the same issue. Clean install and latest everything.

bob@raspberrypi:~ $ libcamera-hello
Preview window unavailable
[0:00:53.775789152] [707]  INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4226-8689dd6b
[0:00:53.805391429] [709] ERROR V4L2 v4l2_device.cpp:92 'ak7375 10-000c': Failed to open V4L2 device '/dev/v4l-subdev1': Invalid argument
[0:00:53.805466503] [709] ERROR CameraSensor camera_sensor.cpp:517 'imx519 10-001a': Lens initialisation failed, lens disabled
[0:00:53.837119911] [709]  INFO RPI raspberrypi.cpp:1485 Registered camera /base/soc/i2c0mux/i2c@1/imx519@1a to Unicam device /dev/media2 and ISP device /dev/media3
[0:00:53.838140689] [707]  INFO Camera camera.cpp:1028 configuring streams: (0) 2328x1748-YUV420
[0:00:53.838499707] [709]  INFO RPI raspberrypi.cpp:851 Sensor: /base/soc/i2c0mux/i2c@1/imx519@1a - Selected sensor format: 2328x1748-SRGGB10_1X10 - Selected unicam format: 2328x1748-pRAA

Using latest Bullseye and imx519 auto focus cam.

Thank you.

@vbuser

Please contact my email ([email protected]).

I can help you with further diagnosis.

I am having similar problems and have sent you an email… please help!