No AF algorithm for imx519

  1. Where did you get the camera module(s)?
    Module caméra AF 16MP pour Raspberry Pi et Jetson Nano

  2. Model number of the product(s)?
    16MP Autofocus camera IMX519

  3. What hardware/platform were you working on?
    Raspberry Pi 4 model B
    Raspbian GNU/Linux 11 (bullseye)

  4. Instructions you have followed. (link/manual/etc.)
    libcamera and libcamera-apps - Arducam Wiki

  5. Problems you were having?
    Autofocus is not working and I have always this error :

[0:32:35.814827396] [3255] WARN IPARPI raspberrypi.cpp:801 Could not set AF_MODE - no AF algorithm

  1. The dmesg log from your hardware?
    Plesae check the answer in the section “reply”

  2. Troubleshooting attempts you’ve made?
    Remove libcamera and install it again
    Modify /boot/config.txt to add dtoverlay=imx519

  3. What help do you need?
    I need to fix this error about the af algoritm to get the autofocus and start using the camera

This is the dmesg :

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 6.1.29-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) #1652 SMP PREEMPT Wed May 24 14:46:55 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-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[ 0.000000] On node 0, zone Normal: 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: 1983488
[ 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 video=HDMI-A-1:1920x1200M@60 smsc95xx.macaddr=E4:5F:01:46:B9:60 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=342ecaa3-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: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 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 0x000000000ac00000-0x000000000ec00000] (64MB)
[ 0.000000] Memory: 7291488K/8060928K available (11776K kernel code, 2106K rwdata, 3692K rodata, 4160K init, 1077K bss, 245152K reserved, 524288K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 39769 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.000320] Console: colour dummy device 80x25
[ 0.000383] printk: console [tty1] enabled
[ 0.000454] Calibrating delay loop (skipped), value calculated using timer frequency… 108.00 BogoMIPS (lpj=216000)
[ 0.000480] pid_max: default: 32768 minimum: 301
[ 0.000600] LSM: Security Framework initializing
[ 0.000845] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000946] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.002207] cgroup: Disabling memory control group subsystem
[ 0.004437] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.004456] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.004633] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.004806] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.005263] rcu: Hierarchical SRCU implementation.
[ 0.005275] rcu: Max phase no-delay instances is 1000.
[ 0.006596] EFI services will not be available.
[ 0.007118] smp: Bringing up secondary CPUs …
[ 0.008259] Detected PIPT I-cache on CPU1
[ 0.008412] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.009554] Detected PIPT I-cache on CPU2
[ 0.009679] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[ 0.010774] Detected PIPT I-cache on CPU3
[ 0.010895] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[ 0.011043] smp: Brought up 1 node, 4 CPUs
[ 0.011064] SMP: Total of 4 processors activated.
[ 0.011077] CPU features: detected: 32-bit EL0 Support
[ 0.011087] CPU features: detected: 32-bit EL1 Support
[ 0.011100] CPU features: detected: CRC32 instructions
[ 0.011234] CPU: All CPU(s) started at EL2
[ 0.011257] alternatives: applying system-wide alternatives
[ 0.013274] devtmpfs: initialized
[ 0.025589] Enabled cp15_barrier support
[ 0.025629] Enabled setend support
[ 0.025844] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.025881] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.039434] pinctrl core: initialized pinctrl subsystem
[ 0.040382] DMI not present or invalid.
[ 0.041074] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.044733] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.045036] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.046009] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.046108] audit: initializing netlink subsys (disabled)
[ 0.046380] audit: type=2000 audit(0.044:1): state=initialized audit_enabled=0 res=1
[ 0.046982] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.047073] cpuidle: using governor menu
[ 0.047505] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.047705] ASID allocator initialised with 32768 entries
[ 0.047871] Serial: AMBA PL011 UART driver
[ 0.061711] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.071753] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx519@1a
[ 0.080346] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-04-25T18:26:56, variant start_x
[ 0.084361] raspberrypi-firmware soc:firmware: Firmware hash is d7f9c2b4ef7e4a8c0b04374a879ce89d7a948453
[ 0.100474] KASLR enabled
[ 0.133899] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.139699] SCSI subsystem initialized
[ 0.139950] usbcore: registered new interface driver usbfs
[ 0.140009] usbcore: registered new interface driver hub
[ 0.140077] usbcore: registered new device driver usb
[ 0.140455] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.140692] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[ 0.141045] pps_core: LinuxPPS API ver. 1 registered
[ 0.141058] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.141085] PTP clock support registered
[ 0.142212] vgaarb: loaded
[ 0.142952] clocksource: Switched to clocksource arch_sys_counter
[ 1.294815] VFS: Disk quotas dquot_6.6.0
[ 1.294913] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.295164] FS-Cache: Loaded
[ 1.295432] CacheFiles: Loaded
[ 1.306546] NET: Registered PF_INET protocol family
[ 1.307433] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 1.316093] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 1.316207] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.316241] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 1.316739] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[ 1.319595] TCP: Hash tables configured (established 65536 bind 65536)
[ 1.319847] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 1.319963] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 1.320319] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.321119] RPC: Registered named UNIX socket transport module.
[ 1.321136] RPC: Registered udp transport module.
[ 1.321147] RPC: Registered tcp transport module.
[ 1.321157] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.321180] PCI: CLS 0 bytes, default 64
[ 1.323719] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 1.324114] kvm [1]: IPA Size Limit: 44 bits
[ 1.325433] kvm [1]: vgic interrupt IRQ9
[ 1.325667] kvm [1]: Hyp mode initialized successfully
[ 1.327914] Initialise system trusted keyrings
[ 1.328282] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 1.335880] zbud: loaded
[ 1.338778] NFS: Registering the id_resolver key type
[ 1.338821] Key type id_resolver registered
[ 1.338833] Key type id_legacy registered
[ 1.338989] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 1.339006] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
[ 1.340419] Key type asymmetric registered
[ 1.340438] Asymmetric key parser ‘x509’ registered
[ 1.340534] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.340808] io scheduler mq-deadline registered
[ 1.340824] io scheduler kyber registered
[ 1.350289] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 1.350335] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 1.350425] brcm-pcie fd500000.pcie: MEM 0x0600000000…0x063fffffff → 0x00c0000000
[ 1.350512] brcm-pcie fd500000.pcie: IB MEM 0x0000000000…0x01ffffffff → 0x0400000000
[ 1.351568] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 1.351589] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.351607] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 1.351693] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 1.351950] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 1.356077] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.356349] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
[ 1.356535] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
[ 1.356637] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
[ 1.421046] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 1.421213] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 1.421340] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 1.421818] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 1.422533] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.422577] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 1.422599] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 1.422642] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.422664] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 1.424124] simple-framebuffer 3e29a000.framebuffer: framebuffer at 0x3e29a000, 0x960000 bytes
[ 1.424146] simple-framebuffer 3e29a000.framebuffer: format=a8r8g8b8, mode=1920x1280x32, linelength=7680
[ 1.424726] Console: switching to colour frame buffer device 240x80
[ 1.434461] simple-framebuffer 3e29a000.framebuffer: fb0: simplefb registered!
[ 1.442002] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 1.445262] iproc-rng200 fe104000.rng: hwrng registered
[ 1.445807] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.447474] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.460300] brd: module loaded
[ 1.468922] loop: module loaded
[ 1.469714] Loading iSCSI transport class v2.0-870.
[ 1.475303] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.535106] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.536315] usbcore: registered new interface driver r8152
[ 1.536389] usbcore: registered new interface driver lan78xx
[ 1.536449] usbcore: registered new interface driver smsc95xx
[ 1.582501] pci 0000:00:00.0: enabling device (0000 → 0002)
[ 1.582677] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.582721] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.583502] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0001e40000000890
[ 1.584562] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.584585] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.584608] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.584999] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 1.585020] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.585036] usb usb1: Product: xHCI Host Controller
[ 1.585049] usb usb1: Manufacturer: Linux 6.1.29-v8+ xhci-hcd
[ 1.585063] usb usb1: SerialNumber: 0000:01:00.0
[ 1.585786] hub 1-0:1.0: USB hub found
[ 1.585854] hub 1-0:1.0: 1 port detected
[ 1.586789] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[ 1.586810] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.586825] usb usb2: Product: xHCI Host Controller
[ 1.586839] usb usb2: Manufacturer: Linux 6.1.29-v8+ xhci-hcd
[ 1.586852] usb usb2: SerialNumber: 0000:01:00.0
[ 1.587629] hub 2-0:1.0: USB hub found
[ 1.587726] hub 2-0:1.0: 4 ports detected
[ 1.589483] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.589810] dwc_otg: FIQ enabled
[ 1.589821] dwc_otg: NAK holdoff enabled
[ 1.589831] dwc_otg: FIQ split-transaction FSM enabled
[ 1.589851] Module dwc_common_port init
[ 1.590408] usbcore: registered new interface driver uas
[ 1.590526] usbcore: registered new interface driver usb-storage
[ 1.590737] mousedev: PS/2 mouse device common for all mice
[ 1.596950] sdhci: Secure Digital Host Controller Interface driver
[ 1.596968] sdhci: Copyright(c) Pierre Ossman
[ 1.597634] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.601110] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.601474] hid: raw HID events driver (C) Jiri Kosina
[ 1.601690] usbcore: registered new interface driver usbhid
[ 1.601703] usbhid: USB HID core driver
[ 1.610823] NET: Registered PF_PACKET protocol family
[ 1.610998] Key type dns_resolver registered
[ 1.612477] registered taskstats version 1
[ 1.612555] Loading compiled-in X.509 certificates
[ 1.613453] Key type .fscrypt registered
[ 1.613468] Key type fscrypt-provisioning registered
[ 1.629479] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.630307] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.630469] fe201000.serial: ttyAMA1 at MMIO 0xfe201000 (irq = 35, base_baud = 0) is a PL011 rev2
[ 1.630734] serial serial0: tty port ttyAMA1 registered
[ 1.638896] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default
[ 1.639856] printk: console [ttyS0] disabled
[ 1.639975] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 36, base_baud = 62500000) is a 16550
[ 1.640251] printk: console [ttyS0] enabled
[ 1.641872] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.642320] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.643777] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.643798] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.672615] of_cfs_init
[ 1.672746] of_cfs_init: OK
[ 1.708533] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 1.708870] Waiting for root device PARTUUID=342ecaa3-02…
[ 1.755571] mmc1: new high speed SDIO card at address 0001
[ 1.807766] mmc0: new ultra high speed DDR50 SDHC card at address 5048
[ 1.808731] mmcblk0: mmc0:5048 Y032V 28.9 GiB
[ 1.812029] mmcblk0: p1 p2
[ 1.812609] mmcblk0: mmc0:5048 Y032V 28.9 GiB
[ 1.829039] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 1.829142] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.829844] devtmpfs: mounted
[ 1.837973] Freeing unused kernel memory: 4160K
[ 1.838181] Run /sbin/init as init process
[ 1.838193] with arguments:
[ 1.838203] /sbin/init
[ 1.838213] splash
[ 1.838223] with environment:
[ 1.838233] HOME=/
[ 1.838243] TERM=linux
[ 1.839089] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.989624] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.989663] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.989680] usb 1-1: Product: USB2.0 Hub
[ 1.991767] hub 1-1:1.0: USB hub found
[ 1.992083] hub 1-1:1.0: 4 ports detected
[ 2.230152] systemd[1]: System time before build time, advancing clock.
[ 2.287000] usb 1-1.3: new low-speed USB device number 3 using xhci_hcd
[ 2.395310] usb 1-1.3: New USB device found, idVendor=413c, idProduct=2107, bcdDevice= 1.04
[ 2.395346] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.395363] usb 1-1.3: Product: Dell USB Entry Keyboard
[ 2.395378] usb 1-1.3: Manufacturer: DELL
[ 2.405143] input: DELL Dell USB Entry Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:413C:2107.0001/input/input0
[ 2.408108] NET: Registered PF_INET6 protocol family
[ 2.409966] Segment Routing with IPv6
[ 2.410009] In-situ OAM (IOAM) with IPv6
[ 2.463907] hid-generic 0003:413C:2107.0001: input,hidraw0: USB HID v1.11 Keyboard [DELL Dell USB Entry Keyboard] on usb-0000:01:00.0-1.3/input0
[ 2.481467] 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.482481] systemd[1]: Detected architecture arm64.
[ 2.486354] systemd[1]: Set hostname to .
[ 2.543008] usb 1-1.4: new low-speed USB device number 4 using xhci_hcd
[ 2.654016] usb 1-1.4: New USB device found, idVendor=413c, idProduct=301a, bcdDevice= 1.00
[ 2.654057] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.654079] usb 1-1.4: Product: Dell MS116 USB Optical Mouse
[ 2.654096] usb 1-1.4: Manufacturer: PixArt
[ 2.665134] input: PixArt Dell MS116 USB Optical Mouse 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:413C:301A.0002/input/input1
[ 2.665714] hid-generic 0003:413C:301A.0002: input,hidraw1: USB HID v1.11 Mouse [PixArt Dell MS116 USB Optical Mouse] on usb-0000:01:00.0-1.4/input0
[ 3.136454] 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.287177] systemd[1]: Queued start job for default target Graphical Interface.
[ 3.308659] systemd[1]: Created slice system-getty.slice.
[ 3.309965] systemd[1]: Created slice system-modprobe.slice.
[ 3.310918] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 3.311927] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 3.312744] systemd[1]: Created slice User and Session Slice.
[ 3.313275] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.314378] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.314793] systemd[1]: Reached target Slices.
[ 3.314996] systemd[1]: Reached target Swap.
[ 3.315945] systemd[1]: Listening on Syslog Socket.
[ 3.319420] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 3.319910] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 3.322236] systemd[1]: Listening on Journal Audit Socket.
[ 3.323157] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.324187] systemd[1]: Listening on Journal Socket.
[ 3.325974] systemd[1]: Listening on udev Control Socket.
[ 3.326787] systemd[1]: Listening on udev Kernel Socket.
[ 3.327797] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 3.347475] systemd[1]: Mounting POSIX Message Queue File System…
[ 3.352488] systemd[1]: Mounting RPC Pipe File System…
[ 3.358306] systemd[1]: Mounting Kernel Debug File System…
[ 3.364391] systemd[1]: Mounting Kernel Trace File System…
[ 3.364878] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 3.375660] systemd[1]: Starting Restore / save the current clock…
[ 3.384447] systemd[1]: Starting Set the console keyboard layout…
[ 3.391744] systemd[1]: Starting Create list of static device nodes for the current kernel…
[ 3.398158] systemd[1]: Starting Load Kernel Module configfs…

[ 3.404281] systemd[1]: Starting Load Kernel Module drm…
[ 3.410779] systemd[1]: Starting Load Kernel Module fuse…
[ 3.413858] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 3.419503] systemd[1]: Starting File System Check on Root Device…
[ 3.430359] systemd[1]: Starting Journal Service…
[ 3.442692] systemd[1]: Starting Load Kernel Modules…
[ 3.448674] systemd[1]: Starting Coldplug All udev Devices…
[ 3.474050] fuse: init (API version 7.37)
[ 3.476994] systemd[1]: Mounted POSIX Message Queue File System.
[ 3.477908] systemd[1]: Mounted RPC Pipe File System.
[ 3.478684] systemd[1]: Mounted Kernel Debug File System.
[ 3.479581] systemd[1]: Mounted Kernel Trace File System.
[ 3.491423] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 3.499960] systemd[1]: [email protected]: Succeeded.
[ 3.501757] systemd[1]: Finished Load Kernel Module configfs.
[ 3.513469] systemd[1]: Finished Restore / save the current clock.
[ 3.520607] systemd[1]: [email protected]: Succeeded.
[ 3.523994] systemd[1]: Finished Load Kernel Module fuse.
[ 3.566477] systemd[1]: Mounting FUSE Control File System…
[ 3.580041] i2c_dev: i2c /dev entries driver
[ 3.583546] systemd[1]: Mounting Kernel Configuration File System…
[ 3.588617] systemd[1]: Started File System Check Daemon to report status.
[ 3.598490] systemd[1]: Finished Load Kernel Modules.
[ 3.600241] systemd[1]: Mounted FUSE Control File System.
[ 3.605859] systemd[1]: Starting Apply Kernel Variables…
[ 3.638384] systemd[1]: Mounted Kernel Configuration File System.
[ 3.650322] systemd[1]: [email protected]: Succeeded.
[ 3.658014] systemd[1]: Finished Load Kernel Module drm.
[ 3.681485] systemd[1]: Finished File System Check on Root Device.
[ 3.710497] systemd[1]: Starting Remount Root and Kernel File Systems…
[ 3.717166] systemd[1]: Finished Apply Kernel Variables.
[ 3.833709] systemd[1]: Started Journal Service.
[ 3.867547] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[ 3.954384] systemd-journald[143]: Received client request to flush runtime journal.
[ 3.970008] systemd-journald[143]: File /var/log/journal/2b141f1e87f9403b85ada39f8ffe9c8b/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 5.081162] mc: Linux media interface: v0.10
[ 5.162348] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.164509] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 5.164545] [vc_sm_connected_init]: start
[ 5.181952] [vc_sm_connected_init]: installed successfully
[ 5.462826] i2c i2c-22: Added multiplexed i2c bus 0
[ 5.464604] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.468299] i2c i2c-22: Added multiplexed i2c bus 10
[ 5.480308] videodev: Linux video capture interface: v2.00
[ 5.504010] bcm2835_audio bcm2835_audio: card created with 4 channels
[ 5.524287] bcm2835_audio bcm2835_audio: card created with 4 channels
[ 5.773337] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.821848] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.828112] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 5.832126] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.836762] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.841501] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 5.843397] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.880772] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.882235] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.889335] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.920354] Bluetooth: Core ver 2.22
[ 5.920557] NET: Registered PF_BLUETOOTH protocol family
[ 5.920594] Bluetooth: HCI device and connection manager initialized
[ 5.921033] Bluetooth: HCI socket layer initialized
[ 5.921069] Bluetooth: L2CAP socket layer initialized
[ 5.921132] Bluetooth: SCO socket layer initialized
[ 5.931201] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 5.931834] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 5.932396] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 5.932894] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 5.932932] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.932966] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.932986] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.933005] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.936602] rpivid feb10000.codec: Device registered as /dev/video19
[ 5.946748] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 5.947969] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 5.948566] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 5.949868] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 5.949933] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.949971] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.949991] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.950011] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.981940] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 5.989180] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 5.989243] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 6.021925] Bluetooth: HCI UART driver ver 2.3
[ 6.022470] Bluetooth: HCI UART protocol H4 registered
[ 6.025787] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 6.025876] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 6.026990] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 6.037086] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 6.037207] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 6.045043] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 6.045429] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 6.045492] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 6.053727] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 6.056493] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 6.057675] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[ 6.065787] Bluetooth: HCI UART protocol Broadcom registered
[ 6.087521] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[ 6.135637] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 6.152495] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.155971] usbcore: registered new interface driver brcmfmac
[ 6.207487] uart-pl011 fe201000.serial: no DMA platform data
[ 6.486046] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[ 6.592059] Bluetooth: hci0: BCM: chip id 107
[ 6.592571] Bluetooth: hci0: BCM: features 0x2f
[ 6.593835] Bluetooth: hci0: BCM4345C0
[ 6.593872] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[ 6.596742] Bluetooth: hci0: BCM4345C0 ‘brcm/BCM4345C0.hcd’ Patch
[ 7.124589] Console: switching to colour dummy device 80x25
[ 7.165187] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[ 7.295858] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[ 7.382595] Console: switching to colour frame buffer device 240x75
[ 7.382676] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[ 7.408214] Bluetooth: hci0: BCM: features 0x2f
[ 7.409790] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3±0190
[ 7.409821] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382
[ 8.078675] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 8.374574] imx519 10-001a: Device found is imx519
[ 8.379874] imx519 10-001a: Consider updating driver imx519 to match on endpoints
[ 8.592936] ak7375 10-000c: supply vio not found, using dummy regulator
[ 8.975839] 8021q: 802.1Q VLAN Support v1.8
[ 9.322180] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 9.322203] Bluetooth: BNEP filters: protocol multicast
[ 9.322219] Bluetooth: BNEP socket layer initialized
[ 9.328019] Bluetooth: MGMT ver 1.22
[ 9.337356] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 9.344494] NET: Registered PF_ALG protocol family
[ 9.509180] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 9.509944] bcmgenet fd580000.ethernet eth0: Link is Down
[ 11.371017] Bluetooth: RFCOMM TTY layer initialized
[ 11.371053] Bluetooth: RFCOMM socket layer initialized
[ 11.371076] Bluetooth: RFCOMM ver 1.11
[ 14.915285] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 16.741844] ICMPv6: process `dhcpcd’ is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
[ 1419.977815] v3d fec00000.v3d: MMU error from client CLE (4) at 0x26a1000, pte invalid

@Sofia

Would you please give me some more information

sudo dpkg -l | grep libcamera
cat /usr/share/libcamera/ipa/raspberrypi/imx519.json

The information for: sudo dpkg -l | grep libcamera:
ii libcamera-apps 0~git20230309+4def288-1 arm64 libcamera-apps
ii libcamera-dev:arm64 0~git20230512+8689dd6b-1 arm64 complex camera support library (development files)
ii libcamera0:arm64 0~git20230512+8689dd6b-1 arm64 complex camera support library
ii python3-libcamera 0~git20230302+923f5d70-1 arm64 complex camera support library (Python 3 bindings)

and the information for: cat /usr/share/libcamera/ipa/raspberrypi/imx519.json:
{
“version”: 2.0,
“target”: “bcm2835”,
“algorithms”: [
{
“rpi.black_level”:
{
“black_level”: 4096
}
},
{
“rpi.dpc”: { }
},
{
“rpi.lux”:
{
“reference_shutter_speed”: 13841,
“reference_gain”: 2.0,
“reference_aperture”: 1.0,
“reference_lux”: 900,
“reference_Y”: 12064
}
},
{
“rpi.noise”:
{
“reference_constant”: 0,
“reference_slope”: 2.776
}
},
{
“rpi.geq”:
{
“offset”: 189,
“slope”: 0.01495
}
},
{
“rpi.sdn”: { }
},
{
“rpi.awb”:
{
“priors”: [
{
“lux”: 0,
“prior”:
[
2000, 1.0,
3000, 0.0,
13000, 0.0
]
},
{
“lux”: 800,
“prior”:
[
2000, 0.0,
6000, 2.0,
13000, 2.0
]
},
{
“lux”: 1500,
“prior”:
[
2000, 0.0,
4000, 1.0,
6000, 6.0,
6500, 7.0,
7000, 1.0,
13000, 1.0
]
}
],
“modes”:
{
“auto”:
{
“lo”: 2500,
“hi”: 7900
},
“incandescent”:
{
“lo”: 2500,
“hi”: 3000
},
“tungsten”:
{
“lo”: 3000,
“hi”: 3500
},
“fluorescent”:
{
“lo”: 4000,
“hi”: 4700
},
“indoor”:
{
“lo”: 3000,
“hi”: 5000
},
“daylight”:
{
“lo”: 5500,
“hi”: 6500
},
“cloudy”:
{
“lo”: 7000,
“hi”: 8000
}
},
“bayes”: 1,
“ct_curve”:
[
2890.0, 0.7328, 0.3734,
3550.0, 0.6228, 0.4763,
4500.0, 0.5208, 0.5825,
5700.0, 0.4467, 0.6671,
7900.0, 0.3858, 0.7411
],
“sensitivity_r”: 1.0,
“sensitivity_b”: 1.0,
“transverse_pos”: 0.02027,
“transverse_neg”: 0.01935
}
},
{
“rpi.agc”:
{
“metering_modes”:
{
“centre-weighted”:
{
“weights”: [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]
},
“spot”:
{
“weights”: [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
},
“matrix”:
{
“weights”: [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
}
},
“exposure_modes”:
{
“normal”:
{
“shutter”: [ 100, 10000, 30000, 60000, 120000 ],
“gain”: [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
},
“short”:
{
“shutter”: [ 100, 5000, 10000, 20000, 120000 ],
“gain”: [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
}
},
“constraint_modes”:
{
“normal”: [
{
“bound”: “LOWER”,
“q_lo”: 0.98,
“q_hi”: 1.0,
“y_target”:
[
0, 0.5,
1000, 0.5
]
}
],
“highlight”: [
{
“bound”: “LOWER”,
“q_lo”: 0.98,
“q_hi”: 1.0,
“y_target”:
[
0, 0.5,
1000, 0.5
]
},
{
“bound”: “UPPER”,
“q_lo”: 0.98,
“q_hi”: 1.0,
“y_target”:
[
0, 0.8,
1000, 0.8
]
}
]
},
“y_target”:
[
0, 0.20,
1000, 0.205,
10000, 0.21
]
}
},
{
“rpi.alsc”:
{
“omega”: 1.3,
“n_iter”: 100,
“luminance_strength”: 0.5,
“calibrations_Cr”: [
{
“ct”: 3000,
“table”:

                    [
                        1.527, 1.521, 1.508, 1.493, 1.476, 1.455, 1.442, 1.441, 1.441, 1.441, 1.448, 1.467, 1.483, 1.494, 1.503, 1.504,
                        1.525, 1.513, 1.496, 1.477, 1.461, 1.434, 1.418, 1.409, 1.409, 1.416, 1.429, 1.449, 1.469, 1.485, 1.495, 1.503,
                        1.517, 1.506, 1.485, 1.461, 1.434, 1.412, 1.388, 1.376, 1.376, 1.386, 1.405, 1.429, 1.449, 1.471, 1.488, 1.495,
                        1.512, 1.496, 1.471, 1.442, 1.412, 1.388, 1.361, 1.344, 1.344, 1.358, 1.384, 1.405, 1.431, 1.456, 1.479, 1.489,
                        1.508, 1.488, 1.458, 1.425, 1.393, 1.361, 1.343, 1.322, 1.321, 1.342, 1.358, 1.385, 1.416, 1.445, 1.471, 1.484,
                        1.507, 1.482, 1.453, 1.418, 1.382, 1.349, 1.322, 1.318, 1.318, 1.321, 1.345, 1.373, 1.405, 1.437, 1.465, 1.483,
                        1.507, 1.482, 1.453, 1.418, 1.382, 1.349, 1.322, 1.313, 1.313, 1.321, 1.345, 1.373, 1.405, 1.437, 1.465, 1.483,
                        1.507, 1.485, 1.455, 1.422, 1.387, 1.355, 1.333, 1.319, 1.321, 1.333, 1.351, 1.381, 1.411, 1.441, 1.467, 1.483,
                        1.508, 1.489, 1.463, 1.432, 1.401, 1.372, 1.355, 1.333, 1.333, 1.351, 1.369, 1.393, 1.422, 1.448, 1.471, 1.484,
                        1.511, 1.494, 1.472, 1.444, 1.416, 1.398, 1.372, 1.361, 1.361, 1.369, 1.393, 1.411, 1.436, 1.458, 1.477, 1.487,
                        1.511, 1.496, 1.478, 1.455, 1.436, 1.416, 1.399, 1.391, 1.391, 1.397, 1.411, 1.429, 1.451, 1.466, 1.479, 1.487,
                        1.511, 1.495, 1.478, 1.462, 1.448, 1.432, 1.419, 1.419, 1.419, 1.419, 1.429, 1.445, 1.459, 1.471, 1.482, 1.487
                    ]
                },
                {
                    "ct": 6000,
                    "table":
                    [
                        2.581, 2.573, 2.558, 2.539, 2.514, 2.487, 2.473, 2.471, 2.471, 2.471, 2.479, 2.499, 2.517, 2.532, 2.543, 2.544,
                        2.575, 2.559, 2.539, 2.521, 2.491, 2.458, 2.435, 2.421, 2.421, 2.429, 2.449, 2.477, 2.499, 2.519, 2.534, 2.543,
                        2.561, 2.549, 2.521, 2.491, 2.457, 2.423, 2.393, 2.375, 2.375, 2.387, 2.412, 2.444, 2.475, 2.499, 2.519, 2.532,
                        2.552, 2.531, 2.498, 2.459, 2.423, 2.391, 2.349, 2.325, 2.325, 2.344, 2.374, 2.412, 2.444, 2.476, 2.505, 2.519,
                        2.543, 2.518, 2.479, 2.435, 2.392, 2.349, 2.324, 2.285, 2.283, 2.313, 2.344, 2.374, 2.417, 2.457, 2.489, 2.506,
                        2.541, 2.511, 2.469, 2.421, 2.372, 2.326, 2.284, 2.277, 2.279, 2.283, 2.313, 2.357, 2.401, 2.443, 2.479, 2.504,
                        2.541, 2.511, 2.469, 2.421, 2.372, 2.326, 2.284, 2.267, 2.267, 2.281, 2.313, 2.357, 2.401, 2.443, 2.479, 2.504,
                        2.541, 2.512, 2.472, 2.425, 2.381, 2.338, 2.302, 2.278, 2.279, 2.301, 2.324, 2.364, 2.407, 2.447, 2.481, 2.504,
                        2.544, 2.519, 2.483, 2.441, 2.401, 2.363, 2.338, 2.302, 2.302, 2.324, 2.355, 2.385, 2.423, 2.459, 2.488, 2.506,
                        2.549, 2.527, 2.497, 2.463, 2.427, 2.401, 2.363, 2.345, 2.345, 2.355, 2.385, 2.412, 2.444, 2.473, 2.497, 2.509,
                        2.552, 2.532, 2.507, 2.481, 2.459, 2.427, 2.402, 2.389, 2.389, 2.394, 2.412, 2.444, 2.465, 2.481, 2.499, 2.511,
                        2.553, 2.533, 2.508, 2.489, 2.475, 2.454, 2.429, 2.429, 2.429, 2.429, 2.439, 2.463, 2.481, 2.492, 2.504, 2.511
                    ]
                }
            ],
            "calibrations_Cb": [
                {
                    "ct": 3000,
                    "table":
                    [
                        3.132, 3.126, 3.116, 3.103, 3.097, 3.091, 3.087, 3.086, 3.088, 3.091, 3.092, 3.102, 3.113, 3.121, 3.141, 3.144,
                        3.149, 3.132, 3.123, 3.108, 3.101, 3.096, 3.091, 3.089, 3.091, 3.092, 3.101, 3.107, 3.116, 3.129, 3.144, 3.153,
                        3.161, 3.149, 3.129, 3.121, 3.108, 3.103, 3.101, 3.101, 3.101, 3.103, 3.107, 3.116, 3.125, 3.134, 3.153, 3.159,
                        3.176, 3.161, 3.144, 3.129, 3.124, 3.121, 3.117, 3.118, 3.118, 3.119, 3.122, 3.125, 3.134, 3.146, 3.159, 3.171,
                        3.183, 3.176, 3.157, 3.144, 3.143, 3.143, 3.139, 3.141, 3.141, 3.141, 3.141, 3.141, 3.146, 3.161, 3.171, 3.179,
                        3.189, 3.183, 3.165, 3.157, 3.156, 3.157, 3.159, 3.163, 3.163, 3.163, 3.163, 3.161, 3.163, 3.169, 3.179, 3.187,
                        3.199, 3.189, 3.171, 3.165, 3.164, 3.167, 3.171, 3.173, 3.173, 3.172, 3.171, 3.169, 3.169, 3.175, 3.187, 3.189,
                        3.206, 3.196, 3.177, 3.171, 3.165, 3.167, 3.171, 3.173, 3.173, 3.172, 3.171, 3.171, 3.173, 3.177, 3.192, 3.194,
                        3.209, 3.197, 3.178, 3.171, 3.164, 3.161, 3.159, 3.161, 3.162, 3.164, 3.167, 3.171, 3.173, 3.181, 3.193, 3.198,
                        3.204, 3.194, 3.176, 3.165, 3.161, 3.156, 3.154, 3.154, 3.159, 3.161, 3.164, 3.168, 3.173, 3.182, 3.198, 3.199,
                        3.199, 3.191, 3.176, 3.169, 3.161, 3.157, 3.153, 3.153, 3.156, 3.161, 3.164, 3.168, 3.173, 3.186, 3.196, 3.199,
                        3.199, 3.188, 3.179, 3.173, 3.165, 3.157, 3.153, 3.154, 3.156, 3.159, 3.167, 3.171, 3.176, 3.185, 3.193, 3.198
                    ]
                },
                {
                    "ct": 6000,
                    "table":
                    [
                        1.579, 1.579, 1.577, 1.574, 1.573, 1.571, 1.571, 1.571, 1.571, 1.569, 1.569, 1.571, 1.572, 1.574, 1.577, 1.578,
                        1.584, 1.579, 1.578, 1.575, 1.573, 1.572, 1.571, 1.572, 1.572, 1.571, 1.571, 1.572, 1.573, 1.576, 1.578, 1.579,
                        1.587, 1.584, 1.579, 1.578, 1.575, 1.573, 1.573, 1.575, 1.575, 1.574, 1.573, 1.574, 1.576, 1.578, 1.581, 1.581,
                        1.591, 1.587, 1.584, 1.579, 1.578, 1.579, 1.579, 1.581, 1.581, 1.581, 1.578, 1.577, 1.578, 1.581, 1.585, 1.586,
                        1.595, 1.591, 1.587, 1.585, 1.585, 1.586, 1.587, 1.587, 1.588, 1.588, 1.585, 1.584, 1.584, 1.586, 1.589, 1.589,
                        1.597, 1.595, 1.591, 1.589, 1.591, 1.593, 1.595, 1.596, 1.597, 1.597, 1.595, 1.594, 1.592, 1.592, 1.593, 1.593,
                        1.601, 1.597, 1.593, 1.592, 1.593, 1.595, 1.598, 1.599, 1.602, 1.601, 1.598, 1.596, 1.595, 1.596, 1.595, 1.595,
                        1.601, 1.599, 1.594, 1.593, 1.593, 1.595, 1.598, 1.599, 1.602, 1.601, 1.598, 1.597, 1.597, 1.597, 1.597, 1.597,
                        1.602, 1.599, 1.594, 1.593, 1.592, 1.593, 1.595, 1.597, 1.597, 1.598, 1.598, 1.597, 1.597, 1.597, 1.598, 1.598,
                        1.599, 1.598, 1.594, 1.592, 1.591, 1.591, 1.592, 1.595, 1.596, 1.597, 1.597, 1.597, 1.597, 1.599, 1.599, 1.599,
                        1.598, 1.596, 1.594, 1.593, 1.592, 1.592, 1.592, 1.594, 1.595, 1.597, 1.597, 1.597, 1.598, 1.599, 1.599, 1.599,
                        1.597, 1.595, 1.594, 1.594, 1.593, 1.592, 1.593, 1.595, 1.595, 1.597, 1.598, 1.598, 1.598, 1.599, 1.599, 1.599
                    ]
                }
            ],
            "luminance_lut":
            [
                2.887, 2.754, 2.381, 2.105, 1.859, 1.678, 1.625, 1.623, 1.623, 1.624, 1.669, 1.849, 2.092, 2.362, 2.723, 2.838,
                2.754, 2.443, 2.111, 1.905, 1.678, 1.542, 1.455, 1.412, 1.412, 1.452, 1.535, 1.665, 1.893, 2.096, 2.413, 2.723,
                2.443, 2.216, 1.911, 1.678, 1.537, 1.372, 1.288, 1.245, 1.245, 1.283, 1.363, 1.527, 1.665, 1.895, 2.193, 2.413,
                2.318, 2.057, 1.764, 1.541, 1.372, 1.282, 1.159, 1.113, 1.113, 1.151, 1.269, 1.363, 1.527, 1.749, 2.034, 2.278,
                2.259, 1.953, 1.671, 1.452, 1.283, 1.159, 1.107, 1.018, 1.017, 1.097, 1.151, 1.269, 1.437, 1.655, 1.931, 2.222,
                2.257, 1.902, 1.624, 1.408, 1.239, 1.111, 1.019, 1.011, 1.005, 1.014, 1.098, 1.227, 1.395, 1.608, 1.883, 2.222,
                2.257, 1.902, 1.624, 1.408, 1.239, 1.111, 1.016, 1.001, 1.001, 1.007, 1.098, 1.227, 1.395, 1.608, 1.883, 2.222,
                2.257, 1.946, 1.666, 1.448, 1.281, 1.153, 1.093, 1.013, 1.008, 1.089, 1.143, 1.269, 1.437, 1.654, 1.934, 2.226,
                2.309, 2.044, 1.756, 1.532, 1.363, 1.259, 1.153, 1.093, 1.093, 1.143, 1.264, 1.354, 1.524, 1.746, 2.035, 2.284,
                2.425, 2.201, 1.896, 1.662, 1.519, 1.363, 1.259, 1.214, 1.214, 1.264, 1.354, 1.519, 1.655, 1.888, 2.191, 2.413,
                2.724, 2.417, 2.091, 1.888, 1.662, 1.519, 1.419, 1.373, 1.373, 1.425, 1.521, 1.655, 1.885, 2.089, 2.409, 2.722,
                2.858, 2.724, 2.356, 2.085, 1.842, 1.658, 1.581, 1.577, 1.577, 1.579, 1.653, 1.838, 2.084, 2.359, 2.722, 2.842
            ],
            "sigma": 0.00372,
            "sigma_Cb": 0.00244
        }
    },
    {
        "rpi.contrast":
        {
            "ce_enable": 1,
            "gamma_curve":
            [
                0, 0,
                1024, 5040,
                2048, 9338,
                3072, 12356,
                4096, 15312,
                5120, 18051,
                6144, 20790,
                7168, 23193,
                8192, 25744,
                9216, 27942,
                10240, 30035,
                11264, 32005,
                12288, 33975,
                13312, 35815,
                14336, 37600,
                15360, 39168,
                16384, 40642,
                18432, 43379,
                20480, 45749,
                22528, 47753,
                24576, 49621,
                26624, 51253,
                28672, 52698,
                30720, 53796,
                32768, 54876,
                36864, 57012,
                40960, 58656,
                45056, 59954,
                49152, 61183,
                53248, 62355,
                57344, 63419,
                61440, 64476,
                65535, 65535
            ]
        }
    },
    {
        "rpi.ccm":
        {
            "ccms": [
                {
                    "ct": 2890,
                    "ccm":
                    [
                        1.36754, -0.18448, -0.18306,
                        -0.32356, 1.44826, -0.12471,
                        -0.00412, -0.69936, 1.70348
                    ]
                },
                {
                    "ct": 2920,
                    "ccm":
                    [
                        1.26704, 0.01624, -0.28328,
                        -0.28516, 1.38934, -0.10419,
                        -0.04854, -0.82211, 1.87066
                    ]
                },
                {
                    "ct": 3550,
                    "ccm":
                    [
                        1.42836, -0.27235, -0.15601,
                        -0.28751, 1.41075, -0.12325,
                        -0.01812, -0.54849, 1.56661
                    ]
                },
                {
                    "ct": 4500,
                    "ccm":
                    [
                        1.36328, -0.19569, -0.16759,
                        -0.25254, 1.52248, -0.26994,
                        -0.01575, -0.53155, 1.54729
                    ]
                },
                {
                    "ct": 5700,
                    "ccm":
                    [
                        1.49207, -0.37245, -0.11963,
                        -0.21493, 1.40005, -0.18512,
                        -0.03781, -0.38779, 1.42561
                    ]
                },
                {
                    "ct": 7900,
                    "ccm":
                    [
                        1.34849, -0.05425, -0.29424,
                        -0.22182, 1.77684, -0.55502,
                        -0.07403, -0.55336, 1.62739
                    ]
                }
            ]
        }
    },
    {
        "rpi.sharpen": { }
    },
    {
        "rpi.focus": { }
    },
    {
        "rpi.af":
        {
            "ranges":
            {
                "normal":
                {
                    "min": 0.0,
                    "max": 12.0,
                    "default": 1.0
                },
                "macro":
                {
                    "min": 3.0,
                    "max": 15.0,
                    "default": 4.0
                }
            },
            "speeds":
            {
                "normal":
                {
                    "step_coarse": 1.0,
                    "step_fine": 0.25,
                    "contrast_ratio": 0.75,
                    "pdaf_gain": -0.02,
                    "pdaf_squelch": 0.125,
                    "max_slew": 2.0,
                    "pdaf_frames": 20,
                    "dropout_frames": 6,
                    "step_frames": 4
                }
            },
            "conf_epsilon": 8,
            "conf_thresh": 16,
            "conf_clip": 512,
            "skip_frames": 5,
            "map": [ 0.0, 0.0, 15.0, 4095 ]
        }
    }
]

}

@Sofia

I hope you can do two things for simple troubleshooting.

  1. Uninstall all libcamera packages in the Raspberry Pi system, and reinstall our libcamera package
sudo apt remove libcamera0
sudo apt remove libcamera-dev
wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh 
chmod +x install_pivariety_pkgs.sh
./install_pivariety_pkgs.sh -p libcamera_dev
./install_pivariety_pkgs.sh -p libcamera_apps

  1. Use the --tuning-file parameter to specify the imx519.json file
    libcamera-still -t 0 --tuning-file /usr/share/libcamera/ipa/raspberrypi/imx519.json

It is working, thank you !!

I have an other question, to use the autofocus mode in continuous and not in automatic, who I can do that with the use of “–tuning-file”

@Sofia

maybe the doc i share below could help you
https://docs.arducam.com/Raspberry-Pi-Camera/Native-camera/Libcamera-User-Guide/