Working sample code for Multi Camera Doubleplexer Stereo Module V2?

  1. Where did you get the camera module(s)?
    pimoroni/pihut

  2. Model number of the product(s)?
    Doubleplexer UC-444 / 2x Arducam IMX519

  3. What hardware/platform were you working on?
    Raspberry Pi 4 (4GB) - raspbian bullseye (32bit)

  4. Instructions you have followed. (link/manual/etc.)
    RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_2Channel_uc444 at master · ArduCAM/RaspberryPi · GitHub
    IMX519 Autofocus Camera and Raspberry Pi libcamera Guide - Arducam

  5. Problems you were having?
    Shell script works OK, C++ code doesn’t

  6. The dmesg log from your hardware?

  7. Troubleshooting attempts you’ve made?

  8. What help do you need?

I’ve been trying to get the sample code working for the double plexer. I had to install a clone of wiringPi because it’s no longer in the default Pi distro.
I also had to install opencv4, I think the demo code is written for opencv2?

The test script pi_cam_uc444.sh works fine but is very slow.
The program arducam_multi_adapter_uc444 has compiled fine but fails to run.
I get “module v4l2src0 reported: Failed to allocate required memory”

I need to take photos at 1 or 2 per second from each camera, so I need to get the C++ or other language working that isn’t as slow as the libcamera-still program.

Has anyone got any sample code that runs on the latest version of Raspian - bullseye

Exact error from running C++ code:

[email protected]:~/Projects/Arducam/RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_2Channel_uc444 $ ./arducam_multi_adapter_uc444
[ WARN:0] global …/modules/videoio/src/cap_gstreamer.cpp (1824) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Failed to allocate required memory.
[ WARN:0] global …/modules/videoio/src/cap_gstreamer.cpp (914) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global …/modules/videoio/src/cap_gstreamer.cpp (501) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
[ WARN:0] global …/modules/videoio/src/cap_gstreamer.cpp (1824) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src1 reported: Failed to allocate required memory.
[ WARN:0] global …/modules/videoio/src/cap_gstreamer.cpp (914) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global …/modules/videoio/src/cap_gstreamer.cpp (501) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
unknown control ‘brightness’
unknown control ‘contrast’
unknown control ‘saturation’
unknown control ‘rotate’
unknown control ‘auto_exposure’
unknown control ‘exposure_time_absolute’
unknown control ‘brightness’
unknown control ‘contrast’
unknown control ‘saturation’
unknown control ‘rotate’
unknown control ‘auto_exposure’
unknown control ‘exposure_time_absolute’
Start grabbing
Press any key to terminate
ERROR! blank frame grabbed

dmesg part1
[ 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] software IO TLB: mapped [mem 0x0000000014890000-0x0000000018890000] (64MB)
[ 0.000000] Memory: 3601320K/4050944K available (10240K kernel code, 1390K rwdata, 3292K rodata, 2048K init, 590K bss, 121944K reserved, 327680K cma-reserved, 3264512K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 35355 entries in 104 pages
[ 0.000000] ftrace: allocated 104 pages with 3 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] GIC: Using split EOI/Deactivate mode
[ 0.000000] irq_brcmstb_l2: registered L2 intc (/soc/[email protected], parent irq: 25)
[ 0.000000] random: get_random_bytes called from start_kernel+0x574/0x758 with crng_init=1
[ 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.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000018] Switching to timer-based delay loop, resolution 18ns
[ 0.000310] Console: colour dummy device 80x30
[ 0.000376] printk: console [tty1] enabled
[ 0.000442] Calibrating delay loop (skipped), value calculated using timer frequency… 108.00 BogoMIPS (lpj=540000)
[ 0.000473] pid_max: default: 32768 minimum: 301
[ 0.000613] LSM: Security Framework initializing
[ 0.000771] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.000799] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002338] cgroup: Disabling memory control group subsystem
[ 0.002577] CPU: Testing write buffer coherency: ok
[ 0.002634] CPU0: Spectre BHB: using loop workaround
[ 0.003085] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004320] Setting up static identity map for 0x200000 - 0x20003c
[ 0.004538] rcu: Hierarchical SRCU implementation.
[ 0.005471] smp: Bringing up secondary CPUs …
[ 0.006669] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.006686] CPU1: Spectre BHB: using loop workaround
[ 0.007993] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.008010] CPU2: Spectre BHB: using loop workaround
[ 0.009291] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.009308] CPU3: Spectre BHB: using loop workaround
[ 0.009465] smp: Brought up 1 node, 4 CPUs
[ 0.009485] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[ 0.009504] CPU: All CPU(s) started in HYP mode.
[ 0.009517] CPU: Virtualization extensions available.
[ 0.010395] devtmpfs: initialized
[ 0.026209] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[ 0.026434] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.026469] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.036186] pinctrl core: initialized pinctrl subsystem
[ 0.037454] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.041895] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.042684] audit: initializing netlink subsys (disabled)
[ 0.042938] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.043536] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.044327] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.044348] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.044766] Serial: AMBA PL011 UART driver
[ 0.060090] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.100071] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-03-24T13:19:26, variant start
[ 0.110087] raspberrypi-firmware soc:firmware: Firmware hash is e5a963efa66a1974127860b42e913d2374139ff5
[ 0.169709] Kprobes globally optimized
[ 0.175631] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.180438] vgaarb: loaded
[ 0.180919] SCSI subsystem initialized
[ 0.181160] usbcore: registered new interface driver usbfs
[ 0.181224] usbcore: registered new interface driver hub
[ 0.181298] usbcore: registered new device driver usb
[ 0.181723] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.182202] pps_core: LinuxPPS API ver. 1 registered
[ 0.182218] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.182247] PTP clock support registered
[ 0.183977] clocksource: Switched to clocksource arch_sys_counter
[ 0.294692] VFS: Disk quotas dquot_6.6.0
[ 0.294798] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.294980] FS-Cache: Loaded
[ 0.295186] CacheFiles: Loaded
[ 0.296286] simple-framebuffer 3e7cb000.framebuffer: framebuffer at 0x3e7cb000, 0x3fc000 bytes
[ 0.296309] simple-framebuffer 3e7cb000.framebuffer: format=a8r8g8b8, mode=1360x768x32, linelength=5440
[ 0.296796] Console: switching to colour frame buffer device 170x48
[ 0.301969] simple-framebuffer 3e7cb000.framebuffer: fb0: simplefb registered!
[ 0.312020] NET: Registered PF_INET protocol family
[ 0.312259] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.313868] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.313902] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.314001] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.314086] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.314270] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.314393] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.314660] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.315396] RPC: Registered named UNIX socket transport module.
[ 0.315414] RPC: Registered udp transport module.
[ 0.315429] RPC: Registered tcp transport module.
[ 0.315443] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.315465] PCI: CLS 0 bytes, default 64
[ 1.135447] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 1.138124] Initialise system trusted keyrings
[ 1.138397] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[ 1.147532] zbud: loaded
[ 1.149525] FS-Cache: Netfs ‘nfs’ registered for caching
[ 1.150440] NFS: Registering the id_resolver key type
[ 1.150491] Key type id_resolver registered
[ 1.150507] Key type id_legacy registered
[ 1.150638] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 1.150655] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
[ 1.151747] Key type asymmetric registered
[ 1.151764] Asymmetric key parser ‘x509’ registered
[ 1.151996] bounce: pool size: 64 pages
[ 1.152070] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.152304] io scheduler mq-deadline registered
[ 1.152320] io scheduler kyber registered
[ 1.161861] brcm-pcie fd500000.pcie: host bridge /scb/[email protected] ranges:
[ 1.161903] brcm-pcie fd500000.pcie: No bus range found for /scb/[email protected], using [bus 00-ff]
[ 1.161998] brcm-pcie fd500000.pcie: MEM 0x0600000000…0x063fffffff → 0x00c0000000
[ 1.162091] brcm-pcie fd500000.pcie: IB MEM 0x0000000000…0x00bfffffff → 0x0400000000
[ 1.226094] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 1.226458] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 1.226478] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.226499] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 1.226589] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 1.226837] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 1.230737] PCI: bus0: Fast back to back transfers disabled
[ 1.230761] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.231147] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 1.231277] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 1.231710] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 1.235605] PCI: bus1: Fast back to back transfers disabled
[ 1.235626] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.235669] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 1.235695] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 1.235781] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.235808] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 1.236224] pcieport 0000:00:00.0: enabling device (0140 → 0142)
[ 1.236459] pcieport 0000:00:00.0: PME: Signaling with IRQ 79
[ 1.249492] iproc-rng200 fe104000.rng: hwrng registered
[ 1.249897] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.251561] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.264659] brd: module loaded
[ 1.275147] loop: module loaded
[ 1.276001] Loading iSCSI transport class v2.0-870.
[ 1.281283] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.384144] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.385402] usbcore: registered new interface driver r8152
[ 1.385473] usbcore: registered new interface driver lan78xx
[ 1.385535] usbcore: registered new interface driver smsc95xx
[ 1.387136] xhci_hcd 0000:01:00.0: enabling device (0140 → 0142)
[ 1.387306] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.387356] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.393086] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00003c0000000890
[ 1.394567] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.394593] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.394613] usb usb1: Product: xHCI Host Controller
[ 1.394630] usb usb1: Manufacturer: Linux 5.15.32-v7l+ xhci-hcd
[ 1.394647] usb usb1: SerialNumber: 0000:01:00.0
[ 1.395400] hub 1-0:1.0: USB hub found
[ 1.395513] hub 1-0:1.0: 1 port detected
[ 1.396198] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.396225] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.396250] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.396785] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.396808] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.396826] usb usb2: Product: xHCI Host Controller
[ 1.396843] usb usb2: Manufacturer: Linux 5.15.32-v7l+ xhci-hcd
[ 1.396860] usb usb2: SerialNumber: 0000:01:00.0
[ 1.397587] hub 2-0:1.0: USB hub found
[ 1.397664] hub 2-0:1.0: 4 ports detected
[ 1.399547] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.399944] dwc_otg: FIQ enabled
[ 1.399960] dwc_otg: NAK holdoff enabled
[ 1.399974] dwc_otg: FIQ split-transaction FSM enabled
[ 1.399991] Module dwc_common_port init
[ 1.400466] usbcore: registered new interface driver uas
[ 1.400573] usbcore: registered new interface driver usb-storage
[ 1.400795] mousedev: PS/2 mouse device common for all mice
[ 1.406089] sdhci: Secure Digital Host Controller Interface driver
[ 1.406105] sdhci: Copyright(c) Pierre Ossman
[ 1.406914] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.410995] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.411292] hid: raw HID events driver (C) Jiri Kosina
[ 1.411447] usbcore: registered new interface driver usbhid
[ 1.411462] usbhid: USB HID core driver
[ 1.418033] Initializing XFRM netlink socket
[ 1.418076] NET: Registered PF_PACKET protocol family
[ 1.418192] Key type dns_resolver registered
[ 1.418657] Registering SWP/SWPB emulation handler
[ 1.419463] registered taskstats version 1
[ 1.419494] Loading compiled-in X.509 certificates
[ 1.420377] Key type ._fscrypt registered
[ 1.420394] Key type .fscrypt registered
[ 1.420408] Key type fscrypt-provisioning registered
[ 1.433153] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.433477] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.433627] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[ 1.442983] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.443466] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.444849] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.444870] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.475209] of_cfs_init
[ 1.475471] of_cfs_init: OK
[ 1.511090] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 1.511475] Waiting for root device PARTUUID=1349c8bb-02…
[ 1.616432] mmc0: new ultra high speed DDR50 SDXC card at address e624
[ 1.617414] mmcblk0: mmc0:e624 SN128 119 GiB
[ 1.619454] mmc1: new high speed SDIO card at address 0001
[ 1.622347] mmcblk0: p1 p2
[ 1.622899] mmcblk0: mmc0:e624 SN128 119 GiB
[ 1.634203] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 1.634226] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 1.684010] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.866634] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.866679] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.866698] usb 1-1: Product: USB2.0 Hub
[ 1.868762] hub 1-1:1.0: USB hub found
[ 1.869073] hub 1-1:1.0: 4 ports detected
[ 1.936357] EXT4-fs (mmcblk0p2): recovery complete
[ 1.938668] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 1.938761] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.939412] devtmpfs: mounted
[ 1.950670] Freeing unused kernel image (initmem) memory: 2048K
[ 1.951001] Run /sbin/init as init process
[ 1.951018] with arguments:
[ 1.951030] /sbin/init
[ 1.951043] splash
[ 1.951056] with environment:
[ 1.951069] HOME=/
[ 1.951081] TERM=linux
[ 2.194053] usb 1-1.3: new full-speed USB device number 3 using xhci_hcd
[ 2.300624] systemd[1]: System time before build time, advancing clock.
[ 2.343561] usb 1-1.3: New USB device found, idVendor=045e, idProduct=07a5, bcdDevice= 7.97
[ 2.343592] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.343612] usb 1-1.3: Product: Microsoft® 2.4GHz Transceiver v9.0
[ 2.343629] usb 1-1.3: Manufacturer: Microsoft
[ 2.355563] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 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:045E:07A5.0001/input/input0
[ 2.403512] NET: Registered PF_INET6 protocol family
[ 2.405274] Segment Routing with IPv6
[ 2.405333] In-situ OAM (IOAM) with IPv6
[ 2.434842] hid-generic 0003:045E:07A5.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® 2.4GHz Transceiver v9.0] on usb-0000:01:00.0-1.3/input0
[ 2.450068] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 Mouse 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.1/0003:045E:07A5.0002/input/input1
[ 2.450575] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 Consumer Control 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.1/0003:045E:07A5.0002/input/input2
[ 2.450988] hid-generic 0003:045E:07A5.0002: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft® 2.4GHz Transceiver v9.0] on usb-0000:01:00.0-1.3/input1
[ 2.464182] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 Consumer Control 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.2/0003:045E:07A5.0003/input/input3
[ 2.483408] systemd[1]: systemd 247.3-7+rpi1 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.484347] systemd[1]: Detected architecture arm.
[ 2.486243] systemd[1]: Set hostname to .
[ 2.534478] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 System Control 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.2/0003:045E:07A5.0003/input/input4
[ 2.534886] hid-generic 0003:045E:07A5.0003: input,hidraw2: USB HID v1.11 Device [Microsoft Microsoft® 2.4GHz Transceiver v9.0] on usb-0000:01:00.0-1.3/input2
[ 2.634057] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd
[ 2.778511] usb 1-1.4: New USB device found, idVendor=1546, idProduct=01a7, bcdDevice= 1.00
[ 2.778557] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.778583] usb 1-1.4: Product: u-blox 7 - GPS/GNSS Receiver
[ 2.778610] usb 1-1.4: Manufacturer: u-blox AG - www.u-blox.com
[ 3.219820] 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.411885] systemd[1]: Queued start job for default target Graphical Interface.
[ 3.413395] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.417588] systemd[1]: Created slice system-getty.slice.
[ 3.417966] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.419028] systemd[1]: Created slice system-modprobe.slice.
[ 3.419171] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.420152] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 3.421028] systemd[1]: Created slice User and Session Slice.
[ 3.421632] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.422779] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.423585] systemd[1]: Reached target Slices.
[ 3.423846] systemd[1]: Reached target Swap.
[ 3.427156] systemd[1]: Listening on Syslog Socket.
[ 3.427987] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 3.428417] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 3.429710] systemd[1]: Listening on Journal Audit Socket.
[ 3.430527] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.431581] systemd[1]: Listening on Journal Socket.
[ 3.437832] systemd[1]: Listening on udev Control Socket.
[ 3.438730] systemd[1]: Listening on udev Kernel Socket.
[ 3.439694] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 3.445164] systemd[1]: Mounting POSIX Message Queue File System…
[ 3.451560] systemd[1]: Mounting RPC Pipe File System…
[ 3.458657] systemd[1]: Mounting Kernel Debug File System…
[ 3.465895] systemd[1]: Mounting Kernel Trace File System…
[ 3.466594] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 3.478381] systemd[1]: Starting Restore / save the current clock…
[ 3.489004] systemd[1]: Starting Set the console keyboard layout…
[ 3.499590] systemd[1]: Starting Create list of static device nodes for the current kernel…
[ 3.507134] systemd[1]: Starting Load Kernel Module configfs…
[ 3.514994] systemd[1]: Starting Load Kernel Module drm…
[ 3.522614] systemd[1]: Starting Load Kernel Module fuse…
[ 3.542226] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 3.548131] systemd[1]: Starting File System Check on Root Device…
[ 3.559884] systemd[1]: Starting Journal Service…
[ 3.569827] fuse: init (API version 7.34)
[ 3.584121] systemd[1]: Starting Load Kernel Modules…
[ 3.592851] systemd[1]: Starting Coldplug All udev Devices…
[ 3.647092] systemd[1]: Mounted POSIX Message Queue File System.
[ 3.647833] systemd[1]: Mounted RPC Pipe File System.
[ 3.648533] systemd[1]: Mounted Kernel Debug File System.
[ 3.649305] systemd[1]: Mounted Kernel Trace File System.
[ 3.651419] systemd[1]: Finished Restore / save the current clock.
[ 3.654492] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 3.656699] systemd[1]: [email protected]: Succeeded.
[ 3.658319] systemd[1]: Finished Load Kernel Module configfs.
[ 3.660485] systemd[1]: [email protected]: Succeeded.
[ 3.662069] systemd[1]: Finished Load Kernel Module fuse.
[ 3.676700] i2c_dev: i2c /dev entries driver
[ 3.690416] systemd[1]: Mounting FUSE Control File System…
[ 3.698116] systemd[1]: Mounting Kernel Configuration File System…
[ 3.705492] systemd[1]: Started File System Check Daemon to report status.
[ 3.710288] systemd[1]: [email protected]: Succeeded.
[ 3.712051] systemd[1]: Finished Load Kernel Module drm.
[ 3.764963] systemd[1]: Finished Load Kernel Modules.
[ 3.770250] systemd[1]: Mounted FUSE Control File System.
[ 3.788424] systemd[1]: Starting Apply Kernel Variables…
[ 3.790324] systemd[1]: Mounted Kernel Configuration File System.
[ 3.879046] systemd[1]: Finished Apply Kernel Variables.
[ 3.929685] systemd[1]: Started Journal Service.

dmesg part2
[ 4.197625] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
[ 4.266182] systemd-journald[136]: Received client request to flush runtime journal.
[ 4.286068] systemd-journald[136]: File /var/log/journal/25070aeb79f44c94a7f7bcc85e4ba968/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 5.512661] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[ 5.594495] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[ 5.595343] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[ 5.596118] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[ 5.684091] mc: Linux media interface: v0.10
[ 5.729575] videodev: Linux video capture interface: v2.00
[ 5.736985] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.739216] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 5.739246] [vc_sm_connected_init]: start
[ 5.804281] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.807637] [vc_sm_connected_init]: installed successfully
[ 5.812004] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 5.972931] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.983677] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.991113] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.995822] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 5.995881] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 6.011551] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 6.011628] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 6.059743] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 6.059810] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 6.070914] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 6.070969] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 6.079209] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.080788] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 6.080836] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 6.082722] checking generic (3e7cb000 3fc000) vs hw (0 ffffffffffffffff)
[ 6.082752] fb0: switching to vc4 from simple
[ 6.083533] Console: switching to colour dummy device 80x30
[ 6.093391] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 6.093902] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 6.094351] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 6.094734] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 6.094775] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 6.094802] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 6.094825] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 6.094849] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 6.117130] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 6.117756] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 6.118212] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 6.118564] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 6.118597] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 6.118623] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 6.118646] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 6.118670] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 6.118891] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 6.160065] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode
[ 6.190020] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 6.251708] Registered IR keymap rc-cec
[ 6.266378] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 6.267017] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input5
[ 6.274144] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode
[ 6.310891] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 6.345847] i2c i2c-22: Added multiplexed i2c bus 0
[ 6.349899] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 6.362482] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 6.362644] i2c 10-001a: Fixing up cyclic dependency with fe801000.csi
[ 6.363434] i2c i2c-10: Failed to register i2c client arducam-pivariety at 0x0c (-16)
[ 6.363458] i2c i2c-10: of_i2c: Failure registering /soc/i2c0mux/[email protected]/[email protected]
[ 6.363508] i2c i2c-10: Failed to create I2C device for /soc/i2c0mux/[email protected]/[email protected]
[ 6.363601] i2c i2c-22: Added multiplexed i2c bus 10
[ 6.522630] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 6.534298] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.535226] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
[ 6.551223] usbcore: registered new interface driver brcmfmac
[ 6.663551] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 6.744731] Registered IR keymap rc-cec
[ 6.756333] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 6.756979] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input6
[ 6.806701] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.806842] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.812533] 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.964621] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 1
[ 6.984661] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 7.019578] Registered IR keymap rc-cec
[ 7.076137] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 7.146490] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input7
[ 7.204057] random: crng init done
[ 7.204079] random: 7 urandom warning(s) missed due to ratelimiting
[ 7.408050] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
[ 7.500078] usbcore: registered new interface driver cdc_acm
[ 7.500109] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 7.581342] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 7.595676] Registered IR keymap rc-cec
[ 7.648714] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 7.700462] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input8
[ 8.639371] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 8.642861] Registered IR keymap rc-cec
[ 8.695009] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 8.766687] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input9
[ 8.964891] uart-pl011 fe201000.serial: no DMA platform data
[ 8.973722] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[ 8.997010] Registered IR keymap rc-cec
[ 9.008159] rc rc1: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1
[ 9.010375] input: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input10
[ 9.250675] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[ 9.251183] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[ 9.251601] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.252003] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.252404] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.252751] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.253136] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.457068] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 0
[ 9.530940] Adding 102396k swap on /var/swap. Priority:-2 extents:2 across:176124k SSFS
[ 9.573794] Console: switching to colour frame buffer device 170x48
[ 9.573851] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[ 9.999822] ak7375: loading out-of-tree module taints kernel.
[ 10.440027] 8021q: 802.1Q VLAN Support v1.8
[ 10.530733] imx519 10-001a: Device found is imx519
[ 10.534711] imx519 10-001a: Consider updating driver imx519 to match on endpoints
[ 11.061573] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 11.414819] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 11.415310] bcmgenet fd580000.ethernet eth0: Link is Down
[ 14.976853] systemd-journald[136]: File /var/log/journal/25070aeb79f44c94a7f7bcc85e4ba968/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 15.946436] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.946474] MAI: soc_pcm_open() failed (-19)
[ 15.949417] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.949454] MAI: soc_pcm_open() failed (-19)
[ 15.950664] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.950697] MAI: soc_pcm_open() failed (-19)
[ 15.966197] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.966237] MAI: soc_pcm_open() failed (-19)
[ 15.966743] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.966775] MAI: soc_pcm_open() failed (-19)
[ 15.967294] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 15.967321] MAI: soc_pcm_open() failed (-19)
[ 15.975081] Bluetooth: Core ver 2.22
[ 15.975173] NET: Registered PF_BLUETOOTH protocol family
[ 15.975183] Bluetooth: HCI device and connection manager initialized
[ 15.975202] Bluetooth: HCI socket layer initialized
[ 15.975215] Bluetooth: L2CAP socket layer initialized
[ 15.975238] Bluetooth: SCO socket layer initialized
[ 15.983203] Bluetooth: HCI UART driver ver 2.3
[ 15.983219] Bluetooth: HCI UART protocol H4 registered
[ 15.983285] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 15.985869] Bluetooth: HCI UART protocol Broadcom registered
[ 16.018800] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 16.018822] MAI: soc_pcm_open() failed (-19)
[ 16.019731] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 16.019749] MAI: soc_pcm_open() failed (-19)
[ 16.020654] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 16.020674] MAI: soc_pcm_open() failed (-19)
[ 16.034162] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 16.034183] MAI: soc_pcm_open() failed (-19)
[ 16.034501] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 16.034516] MAI: soc_pcm_open() failed (-19)
[ 16.034921] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 16.034942] MAI: soc_pcm_open() failed (-19)
[ 16.253085] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 16.253098] Bluetooth: BNEP filters: protocol multicast
[ 16.253111] Bluetooth: BNEP socket layer initialized
[ 16.279059] NET: Registered PF_ALG protocol family
[ 16.313046] cryptd: max_cpu_qlen set to 1000
[ 16.461852] Bluetooth: RFCOMM TTY layer initialized
[ 16.461871] Bluetooth: RFCOMM socket layer initialized
[ 16.461892] Bluetooth: RFCOMM ver 1.11
[ 22.146508] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 31.834057] cam-dummy-reg: disabling
[ 88.380621] usb 1-1.4: USB disconnect, device number 4
[ 88.708443] usb 1-1.4: new full-speed USB device number 5 using xhci_hcd
[ 88.842941] usb 1-1.4: New USB device found, idVendor=1546, idProduct=01a7, bcdDevice= 1.00
[ 88.842958] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 88.842967] usb 1-1.4: Product: u-blox 7 - GPS/GNSS Receiver
[ 88.842974] usb 1-1.4: Manufacturer: u-blox AG - www.u-blox.com
[ 88.852517] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
[ 836.821845] unicam fe801000.csi: Wrong width or height 3840x2160 (remote pad set to 4656x3496)
[ 836.821872] unicam fe801000.csi: Failed to start media pipeline: -22
[ 836.964259] unicam fe801000.csi: Wrong width or height 3840x2160 (remote pad set to 4656x3496)
[ 836.964283] unicam fe801000.csi: Failed to start media pipeline: -22
[ 837.038303] unicam fe801000.csi: Wrong width or height 640x480 (remote pad set to 4656x3496)
[ 837.038319] unicam fe801000.csi: Failed to start media pipeline: -22
[ 837.123133] v3d fec00000.v3d: MMU error from client CLE (4) at 0x721000, pte invalid
[ 838.104218] unicam fe801000.csi: Wrong width or height 320x240 (remote pad set to 4656x3496)
[ 838.104254] unicam fe801000.csi: Failed to start media pipeline: -22
[ 2358.557120] unicam fe801000.csi: Wrong width or height 3840x2160 (remote pad set to 4656x3496)
[ 2358.557144] unicam fe801000.csi: Failed to start media pipeline: -22
[ 2358.649952] unicam fe801000.csi: Wrong width or height 3840x2160 (remote pad set to 4656x3496)
[ 2358.649982] unicam fe801000.csi: Failed to start media pipeline: -22
[ 2358.731867] unicam fe801000.csi: Wrong width or height 640x480 (remote pad set to 4656x3496)
[ 2358.731884] unicam fe801000.csi: Failed to start media pipeline: -22
[ 2359.817542] unicam fe801000.csi: Wrong width or height 320x240 (remote pad set to 4656x3496)
[ 2359.817577] unicam fe801000.csi: Failed to start media pipeline: -22