16MP Autofocus & Raspbian Buster

  1. Where did you get the camera module(s)?
    Kickstarter
  2. Model number of the product(s)?
    Arducam 16Mp Autofocus
  3. What hardware/platform were you working on?
    Raspberry Pi4 with Raspbian Buster
  4. Instructions you have followed. (link/manual/etc.)
  1. Problems you were having?
    I can run the camera with no issues with libcamera however I couldn’t get it work with motion/motioneye

  2. The dmesg log from your hardware?
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 5.10.63-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1496 SMP Wed Dec 1 15:58:56 GMT 2021
    [ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
    [ 0.000000] CPU: div instructions available: patching division code
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
    [ 0.000000] random: fast init done
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000001ac00000, size 320 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] HighMem [mem 0x0000000030000000-0x00000000fbffffff]
    [ 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] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
    [ 0.000000] On node 0 totalpages: 966656
    [ 0.000000] DMA zone: 1728 pages used for memmap
    [ 0.000000] DMA zone: 0 pages reserved
    [ 0.000000] DMA zone: 196608 pages, LIFO batch:63
    [ 0.000000] HighMem zone: 770048 pages, LIFO batch:63
    [ 0.000000] percpu: Embedded 20 pages/cpu s50828 r8192 d22900 u81920
    [ 0.000000] pcpu-alloc: s50828 r8192 d22900 u81920 alloc=20*4096
    [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 964928
    [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:640x480M@60,margin_left=24,margin_right=24,margin_top=16,margin_bottom=16 video=HDMI-A-2:640x480M@60,margin_left=24,margin_right=24,margin_top=16,margin_bottom=16 smsc95xx.macaddr=DC:A6:32:11:87:19 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    [ 0.000000] Kernel parameter elevator= does not have any effect anymore.
    Please use sysfs to set IO scheduler for individual devices.
    [ 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: 3418428K/3866624K available (10240K kernel code, 1364K rwdata, 3192K rodata, 2048K init, 891K bss, 120516K reserved, 327680K cma-reserved, 3080192K highmem)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] ftrace: allocating 34315 entries in 68 pages
    [ 0.000000] ftrace: allocated 68 pages with 2 groups
    [ 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] random: get_random_bytes called from start_kernel+0x3c8/0x59c with crng_init=1
    [ 0.000009] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
    [ 0.000027] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
    [ 0.000088] bcm2835: system timer (irq = 25)
    [ 0.000755] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
    [ 0.000773] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
    [ 0.000791] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
    [ 0.000806] Switching to timer-based delay loop, resolution 18ns
    [ 0.001065] Console: colour dummy device 80x30
    [ 0.001132] printk: console [tty1] enabled
    [ 0.001187] Calibrating delay loop (skipped), value calculated using timer frequency… 108.00 BogoMIPS (lpj=540000)
    [ 0.001219] pid_max: default: 32768 minimum: 301
    [ 0.001384] LSM: Security Framework initializing
    [ 0.001568] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [ 0.001594] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [ 0.003068] cgroup: Disabling memory control group subsystem
    [ 0.003303] CPU: Testing write buffer coherency: ok
    [ 0.003766] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.004980] Setting up static identity map for 0x200000 - 0x20003c
    [ 0.005177] rcu: Hierarchical SRCU implementation.
    [ 0.006103] smp: Bringing up secondary CPUs …
    [ 0.007316] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.008681] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [ 0.009975] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [ 0.010134] smp: Brought up 1 node, 4 CPUs
    [ 0.010155] SMP: Total of 4 processors activated (432.00 BogoMIPS).
    [ 0.010171] CPU: All CPU(s) started in HYP mode.
    [ 0.010185] CPU: Virtualization extensions available.
    [ 0.011046] devtmpfs: initialized
    [ 0.025886] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
    [ 0.026107] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.026136] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [ 0.034371] pinctrl core: initialized pinctrl subsystem
    [ 0.035443] NET: Registered protocol family 16
    [ 0.039446] DMA: preallocated 1024 KiB pool for atomic coherent allocations
    [ 0.040211] audit: initializing netlink subsys (disabled)
    [ 0.040470] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
    [ 0.041087] thermal_sys: Registered thermal governor ‘step_wise’
    [ 0.041888] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.041905] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.042323] Serial: AMBA PL011 UART driver
    [ 0.078947] bcm2835-mbox fe00b880.mailbox: mailbox enabled
    [ 0.090866] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-12-01T15:02:46, variant start_x
    [ 0.100880] raspberrypi-firmware soc:firmware: Firmware hash is 71bd3109023a0c8575585ba87cbb374d2eeb038f
    [ 0.142449] Kprobes globally optimized
    [ 0.147922] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
    [ 0.153354] vgaarb: loaded
    [ 0.153813] SCSI subsystem initialized
    [ 0.154029] usbcore: registered new interface driver usbfs
    [ 0.154089] usbcore: registered new interface driver hub
    [ 0.154184] usbcore: registered new device driver usb
    [ 0.154573] usb_phy_generic phy: supply vcc not found, using dummy regulator
    [ 0.156595] clocksource: Switched to clocksource arch_sys_counter
    [ 1.115714] VFS: Disk quotas dquot_6.6.0
    [ 1.115810] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 1.115973] FS-Cache: Loaded
    [ 1.116200] CacheFiles: Loaded
    [ 1.117323] simple-framebuffer 3eac2000.framebuffer: framebuffer at 0x3eac2000, 0x103000 bytes, mapped to 0x(ptrval)
    [ 1.117345] simple-framebuffer 3eac2000.framebuffer: format=a8r8g8b8, mode=592x448x32, linelength=2368
    [ 1.117771] Console: switching to colour frame buffer device 74x28
    [ 1.119133] simple-framebuffer 3eac2000.framebuffer: fb0: simplefb registered!
    [ 1.129524] NET: Registered protocol family 2
    [ 1.129756] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [ 1.131238] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
    [ 1.131281] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [ 1.131345] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 1.131420] TCP: Hash tables configured (established 8192 bind 8192)
    [ 1.131579] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [ 1.131616] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [ 1.131889] NET: Registered protocol family 1
    [ 1.132641] RPC: Registered named UNIX socket transport module.
    [ 1.132656] RPC: Registered udp transport module.
    [ 1.132672] RPC: Registered tcp transport module.
    [ 1.132687] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.132710] PCI: CLS 0 bytes, default 64
    [ 1.135829] Initialise system trusted keyrings
    [ 1.136110] workingset: timestamp_bits=14 max_order=20 bucket_order=6
    [ 1.144455] zbud: loaded
    [ 1.146625] FS-Cache: Netfs ‘nfs’ registered for caching
    [ 1.147421] NFS: Registering the id_resolver key type
    [ 1.147458] Key type id_resolver registered
    [ 1.147474] Key type id_legacy registered
    [ 1.147617] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
    [ 1.147634] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
    [ 1.148684] Key type asymmetric registered
    [ 1.148700] Asymmetric key parser ‘x509’ registered
    [ 1.148896] bounce: pool size: 64 pages
    [ 1.148941] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    [ 1.149166] io scheduler mq-deadline registered
    [ 1.149182] io scheduler kyber registered
    [ 1.153771] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
    [ 1.153804] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
    [ 1.153884] brcm-pcie fd500000.pcie: MEM 0x0600000000…0x063fffffff → 0x00c0000000
    [ 1.153973] brcm-pcie fd500000.pcie: IB MEM 0x0000000000…0x00bfffffff → 0x0400000000
    [ 1.208732] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
    [ 1.209107] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
    [ 1.209128] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 1.209148] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
    [ 1.209239] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
    [ 1.209482] pci 0000:00:00.0: PME# supported from D0 D3hot
    [ 1.213095] PCI: bus0: Fast back to back transfers disabled
    [ 1.213464] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
    [ 1.213592] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
    [ 1.214027] pci 0000:01:00.0: PME# supported from D0 D3cold
    [ 1.217670] PCI: bus1: Fast back to back transfers disabled
    [ 1.217789] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
    [ 1.217814] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
    [ 1.217898] pci 0000:00:00.0: PCI bridge to [bus 01]
    [ 1.217924] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
    [ 1.218334] pcieport 0000:00:00.0: enabling device (0140 → 0142)
    [ 1.218560] pcieport 0000:00:00.0: PME: Signaling with IRQ 64
    [ 1.227824] iproc-rng200 fe104000.rng: hwrng registered
    [ 1.228153] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
    [ 1.229065] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
    [ 1.241413] brd: module loaded
    [ 1.253722] loop: module loaded
    [ 1.255516] Loading iSCSI transport class v2.0-870.
    [ 1.258821] libphy: Fixed MDIO Bus: probed
    [ 1.260623] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
    [ 1.276668] libphy: bcmgenet MII bus: probed
    [ 1.356764] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
    [ 1.357954] usbcore: registered new interface driver r8152
    [ 1.358022] usbcore: registered new interface driver lan78xx
    [ 1.358097] usbcore: registered new interface driver smsc95xx
    [ 1.359709] xhci_hcd 0000:01:00.0: enabling device (0140 → 0142)
    [ 1.359873] xhci_hcd 0000:01:00.0: xHCI Host Controller
    [ 1.359909] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
    [ 1.363267] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000060000000890
    [ 1.364605] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [ 1.364625] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.364642] usb usb1: Product: xHCI Host Controller
    [ 1.364659] usb usb1: Manufacturer: Linux 5.10.63-v7l+ xhci-hcd
    [ 1.364675] usb usb1: SerialNumber: 0000:01:00.0
    [ 1.365400] hub 1-0:1.0: USB hub found
    [ 1.365501] hub 1-0:1.0: 1 port detected
    [ 1.366175] xhci_hcd 0000:01:00.0: xHCI Host Controller
    [ 1.366203] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
    [ 1.366229] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
    [ 1.366827] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [ 1.366846] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.366863] usb usb2: Product: xHCI Host Controller
    [ 1.366880] usb usb2: Manufacturer: Linux 5.10.63-v7l+ xhci-hcd
    [ 1.366896] usb usb2: SerialNumber: 0000:01:00.0
    [ 1.367619] hub 2-0:1.0: USB hub found
    [ 1.367724] hub 2-0:1.0: 4 ports detected
    [ 1.369514] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [ 1.369863] dwc_otg: FIQ enabled
    [ 1.369878] dwc_otg: NAK holdoff enabled
    [ 1.369892] dwc_otg: FIQ split-transaction FSM enabled
    [ 1.369910] Module dwc_common_port init
    [ 1.370352] usbcore: registered new interface driver uas
    [ 1.370472] usbcore: registered new interface driver usb-storage
    [ 1.370673] mousedev: PS/2 mouse device common for all mice
    [ 1.372433] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
    [ 1.376704] sdhci: Secure Digital Host Controller Interface driver
    [ 1.376719] sdhci: Copyright(c) Pierre Ossman
    [ 1.377449] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
    [ 1.378086] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.382277] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.382624] hid: raw HID events driver (C) Jiri Kosina
    [ 1.382827] usbcore: registered new interface driver usbhid
    [ 1.382842] usbhid: USB HID core driver
    [ 1.388873] Initializing XFRM netlink socket
    [ 1.388917] NET: Registered protocol family 17
    [ 1.389047] Key type dns_resolver registered
    [ 1.389518] Registering SWP/SWPB emulation handler
    [ 1.389702] registered taskstats version 1
    [ 1.389731] Loading compiled-in X.509 certificates
    [ 1.390608] Key type ._fscrypt registered
    [ 1.390624] Key type .fscrypt registered
    [ 1.390640] Key type fscrypt-provisioning registered
    [ 1.402265] uart-pl011 fe201000.serial: there is not valid maps for state default
    [ 1.402570] uart-pl011 fe201000.serial: cts_event_workaround enabled
    [ 1.402656] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
    [ 1.412345] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
    [ 1.413421] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
    [ 1.413439] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
    [ 1.441440] of_cfs_init
    [ 1.441705] of_cfs_init: OK
    [ 1.462111] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
    [ 1.463816] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 1.465518] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 1.468589] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
    [ 1.470299] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 1.478275] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
    [ 1.479084] Waiting for root device /dev/mmcblk0p7…
    [ 1.553320] mmc1: new high speed SDIO card at address 0001
    [ 1.585854] mmc0: new ultra high speed DDR50 SDXC card at address aaaa
    [ 1.586807] mmcblk0: mmc0:aaaa SL64G 59.5 GiB
    [ 1.591874] mmcblk0: p1 p2 < p5 p6 p7 >
    [ 1.615173] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
    [ 1.615249] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
    [ 1.620731] devtmpfs: mounted
    [ 1.630646] Freeing unused kernel memory: 2048K
    [ 1.646641] usb 1-1: new high-speed USB device number 2 using xhci_hcd
    [ 1.676947] Run /sbin/init as init process
    [ 1.676962] with arguments:
    [ 1.676977] /sbin/init
    [ 1.676991] splash
    [ 1.677005] with environment:
    [ 1.677020] HOME=/
    [ 1.677034] TERM=linux
    [ 1.839282] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
    [ 1.839305] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [ 1.839323] usb 1-1: Product: USB2.0 Hub
    [ 1.841448] hub 1-1:1.0: USB hub found
    [ 1.841755] hub 1-1:1.0: 4 ports detected
    [ 2.144213] systemd[1]: System time before build time, advancing clock.
    [ 2.166648] usb 1-1.2: new full-speed USB device number 3 using xhci_hcd
    [ 2.257053] NET: Registered protocol family 10
    [ 2.258472] Segment Routing with IPv6
    [ 2.308934] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c52f, bcdDevice=22.00
    [ 2.308956] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 2.308974] usb 1-1.2: Product: USB Receiver
    [ 2.308991] usb 1-1.2: Manufacturer: Logitech
    [ 2.322701] input: Logitech USB Receiver as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C52F.0001/input/input0
    [ 2.323296] hid-generic 0003:046D:C52F.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:01:00.0-1.2/input0
    [ 2.333104] input: Logitech USB Receiver Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52F.0002/input/input1
    [ 2.339780] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
    [ 2.340777] systemd[1]: Detected architecture arm.
    [ 2.397315] hid-generic 0003:046D:C52F.0002: input,hiddev96,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:01:00.0-1.2/input1
    [ 2.401860] systemd[1]: Set hostname to .
    [ 2.883932] systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid → /run/xrdp/xrdp.pid; please update the unit file accordingly.
    [ 2.885761] systemd[1]: /lib/systemd/system/xrdp-sesman.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp-sesman.pid → /run/xrdp/xrdp-sesman.pid; please update the unit file accordingly.
    [ 3.122088] random: systemd: uninitialized urandom read (16 bytes read)
    [ 3.137336] random: systemd: uninitialized urandom read (16 bytes read)
    [ 3.138013] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [ 3.138326] random: systemd: uninitialized urandom read (16 bytes read)
    [ 3.138919] systemd[1]: Listening on fsck to fsckd communication Socket.
    [ 3.142215] systemd[1]: Created slice system-getty.slice.
    [ 3.143141] systemd[1]: Listening on Journal Socket.
    [ 3.148775] systemd[1]: Mounting RPC Pipe File System…
    [ 3.274471] i2c /dev entries driver
    [ 3.687906] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
    [ 3.830994] systemd-journald[124]: Received request to flush runtime journal from PID 1
    [ 4.577749] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
    [ 4.578290] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
    [ 4.578827] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
    [ 4.579371] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
    [ 4.697304] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
    [ 4.701030] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
    [ 4.701056] [vc_sm_connected_init]: start
    [ 4.703648] [vc_sm_connected_init]: installed successfully
    [ 4.720668] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
    [ 4.754463] mc: Linux media interface: v0.10
    [ 4.765460] bcm2835_audio bcm2835_audio: card created with 4 channels
    [ 4.776119] bcm2835_audio bcm2835_audio: card created with 2 channels
    [ 4.834021] bcm2835_audio bcm2835_audio: card created with 2 channels
    [ 4.846889] videodev: Linux video capture interface: v2.00
    [ 4.867980] i2c i2c-22: Added multiplexed i2c bus 0
    [ 4.890190] i2c i2c-22: Added multiplexed i2c bus 10
    [ 4.947490] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    [ 4.957453] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    [ 4.985138] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
    [ 4.995735] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
    [ 4.998728] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
    [ 4.999304] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
    [ 4.999756] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
    [ 5.002118] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
    [ 5.011885] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
    [ 5.011936] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
    [ 5.019200] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
    [ 5.019245] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
    [ 5.024635] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
    [ 5.024681] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
    [ 5.030722] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
    [ 5.030843] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
    [ 5.147793] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
    [ 5.147830] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
    [ 5.147857] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
    [ 5.147880] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
    [ 5.147910] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
    [ 5.148213] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
    [ 5.182204] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [ 5.273875] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
    [ 5.296024] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
    [ 5.314570] checking generic (3eac2000 103000) vs hw (0 ffffffffffffffff)
    [ 5.314591] fb0: switching to vc4drmfb from simple
    [ 5.317589] Console: switching to colour dummy device 80x30
    [ 5.319750] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
    [ 5.326377] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
    [ 5.365794] logitech-djreceiver 0003:046D:C52F.0001: hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:01:00.0-1.2/input0
    [ 5.377799] brcmfmac: F1 signature read @0x18000000=0x15264345
    [ 5.386849] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [ 5.388536] vc4-drm gpu: [drm] HDMI-A-1: EDID is invalid:
    [ 5.388560] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.388576] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.388592] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.388607] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.388622] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.388637] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.388652] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.388668] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.389343] usbcore: registered new interface driver brcmfmac
    [ 5.450164] vc4-drm gpu: [drm] HDMI-A-2: EDID is invalid:
    [ 5.450189] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.450207] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.450223] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.450238] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.450253] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.450268] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.450283] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.450298] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    [ 5.452731] Console: switching to colour frame buffer device 80x30
    [ 5.452786] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
    [ 5.522661] logitech-djreceiver 0003:046D:C52F.0002: hiddev96,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:01:00.0-1.2/input1
    [ 5.588317] logitech-djreceiver 0003:046D:C52F.0002: device of type eQUAD step 4 DJ (0x04) connected on slot 1
    [ 5.591259] input: Logitech Wireless Mouse PID:101f Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52F.0002/0003:046D:101F.0003/input/input4
    [ 5.591961] input: Logitech Wireless Mouse PID:101f Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52F.0002/0003:046D:101F.0003/input/input5
    [ 5.592399] hid-generic 0003:046D:101F.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech Wireless Mouse PID:101f] on usb-0000:01:00.0-1.2/input1:1
    [ 5.667172] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [ 5.667289] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [ 5.678137] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
    [ 6.388674] imx519: loading out-of-tree module taints kernel.
    [ 6.417872] imx519 10-001a: Device found is imx519
    [ 6.639152] input: Logitech M305 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52F.0002/0003:046D:101F.0003/input/input9
    [ 6.641245] logitech-hidpp-device 0003:046D:101F.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech M305] on usb-0000:01:00.0-1.2/input1:1
    [ 8.265970] random: crng init done
    [ 8.265994] random: 7 urandom warning(s) missed due to ratelimiting
    [ 8.382365] uart-pl011 fe201000.serial: no DMA platform data
    [ 8.583414] 8021q: 802.1Q VLAN Support v1.8
    [ 8.846816] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
    [ 9.469019] zram: Added device: zram0
    [ 9.469975] zram: Added device: zram1
    [ 9.472779] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
    [ 9.474210] zram: Added device: zram2
    [ 9.475494] zram: Added device: zram3
    [ 9.650581] zram0: detected capacity change from 0 to 959528960
    [ 9.802723] Adding 937036k swap on /dev/zram0. Priority:5 extents:1 across:937036k SSFS
    [ 9.805470] zram1: detected capacity change from 0 to 959528960
    [ 9.886776] Adding 937036k swap on /dev/zram1. Priority:5 extents:1 across:937036k SSFS
    [ 9.889983] zram2: detected capacity change from 0 to 959528960
    [ 9.946870] Adding 937036k swap on /dev/zram2. Priority:5 extents:1 across:937036k SSFS
    [ 9.949825] zram3: detected capacity change from 0 to 959528960
    [ 9.974470] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
    [ 9.974772] bcmgenet fd580000.ethernet eth0: Link is Down
    [ 10.027744] Adding 937036k swap on /dev/zram3. Priority:5 extents:1 across:937036k SSFS
    [ 12.078211] broken atomic modeset userspace detected, disabling atomic
    [ 15.047967] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 15.123464] fuse: init (API version 7.32)
    [ 15.488768] Bluetooth: Core ver 2.22
    [ 15.488862] NET: Registered protocol family 31
    [ 15.488874] Bluetooth: HCI device and connection manager initialized
    [ 15.489279] Bluetooth: HCI socket layer initialized
    [ 15.489300] Bluetooth: L2CAP socket layer initialized
    [ 15.489333] Bluetooth: SCO socket layer initialized
    [ 15.521367] Bluetooth: HCI UART driver ver 2.3
    [ 15.521380] Bluetooth: HCI UART protocol H4 registered
    [ 15.521434] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [ 15.521567] Bluetooth: HCI UART protocol Broadcom registered
    [ 15.953538] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 15.953545] Bluetooth: BNEP filters: protocol multicast
    [ 15.953556] Bluetooth: BNEP socket layer initialized
    [ 16.158284] Bluetooth: RFCOMM TTY layer initialized
    [ 16.158308] Bluetooth: RFCOMM socket layer initialized
    [ 16.158329] Bluetooth: RFCOMM ver 1.11
    [ 17.190896] ICMPv6: process `dhcpcd’ is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
    [ 31.836654] imx519_vddl: disabling
    [ 31.836675] imx519_vdig: disabling
    [ 31.836700] imx519_vana: disabling
    [ 86.642000] v3d fec00000.v3d: MMU error from client L2T (0) at 0xe21000, pte invalid

  3. Troubleshooting attempts you’ve made?
    I have tried usb camera and official raspberry camera and they are working.

  4. What help do you need?
    Is there a way to get this camera working with Motion?

Kind regards.

Unfortunately, we do not currently support the Motion system.
For information on third-party systems please refer to: