Arducam OV9281 - RPI zero 2 w - MotioneyeOS + local V4L2 camera : not detected

  1. Where did you get the camera module(s)? Robotshop.ca

  2. Model number of the product(s)? OV9281 REV.B

  3. What hardware/platform were you working on? Raspberry Pi zero 2W

  4. Instructions you have followed. (link/manual/etc.) The big Raspberry Pi Zero 2 W Troubleshooting guide — PiCockpit | Monitor and Control your Raspberry Pi: free for up to 5 Pis! the part concerning MotionEyeOS with Raspberry Pi Zero 2 W and I used the latest version of motioneyeOS for RPI zero 2 W from a fork of motioneyeOS repo from jawsper on Github latest release: 20220119

  5. Problems you were having? “unable to open video device”

  6. The dmesg log from your hardware? This file is huge… 272 lines pasted after question 8

  7. Troubleshooting attempts you’ve made? I’m a novice, I didn’t find any troubleshooting besides the one I linked.

  8. What help do you need? Did I buy the wrong camera?

---- booting motionEyeOS unknown ----
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.76-v7 ([email protected]) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP Sat Oct 30 12:58:18 UTC 2021
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi Zero 2 W Rev 1.0
[ 0.000000] random: fast init done
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x0bc00000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] DMA zone: 576 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 65536 pages, LIFO batch:15
[ 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: 64960
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:12:F4:52 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.fiq_fix_enable=1 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait ro rootflags=noload panic=10 quiet loglevel=1
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 177004K/262144K available (10240K kernel code, 1313K rwdata, 2988K rodata, 1024K init, 861K bss, 19604K reserved, 65536K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 32137 entries in 95 pages
[ 0.000000] ftrace: allocated 95 pages with 6 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] random: get_random_bytes called from start_kernel+0x3b0/0x594 with crng_init=1
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000022] Switching to timer-based delay loop, resolution 52ns
[ 0.000296] Console: colour dummy device 80x30
[ 0.000370] printk: console [tty1] enabled
[ 0.000422] Calibrating delay loop (skipped), value calculated using timer frequency… 38.40 BogoMIPS (lpj=192000)
[ 0.000451] pid_max: default: 32768 minimum: 301
[ 0.000648] LSM: Security Framework initializing
[ 0.000887] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000908] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.002321] cgroup: Disabling memory control group subsystem
[ 0.002590] CPU: Testing write buffer coherency: ok
[ 0.003101] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004354] Setting up static identity map for 0x100000 - 0x10003c
[ 0.004544] rcu: Hierarchical SRCU implementation.
[ 0.005485] smp: Bringing up secondary CPUs …
[ 0.006673] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.007981] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.009205] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.009362] smp: Brought up 1 node, 4 CPUs
[ 0.009385] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.009397] CPU: All CPU(s) started in HYP mode.
[ 0.009408] CPU: Virtualization extensions available.
[ 0.010326] devtmpfs: initialized
[ 0.028082] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.028329] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.028360] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.031643] pinctrl core: initialized pinctrl subsystem
[ 0.032845] NET: Registered protocol family 16
[ 0.037193] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.043010] audit: initializing netlink subsys (disabled)
[ 0.043908] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.044890] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.045073] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.045087] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.045379] Serial: AMBA PL011 UART driver
[ 0.066278] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.080128] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-01-17T19:22:56, variant start_x
[ 0.090139] raspberrypi-firmware soc:firmware: Firmware hash is bd34f55ef7b01b0a367f131060b561a2a58b80bb
[ 0.135203] Kprobes globally optimized
[ 0.140353] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.142556] SCSI subsystem initialized
[ 0.142822] usbcore: registered new interface driver usbfs
[ 0.142887] usbcore: registered new interface driver hub
[ 0.142960] usbcore: registered new device driver usb
[ 0.145095] clocksource: Switched to clocksource arch_sys_counter
[ 1.862438] VFS: Disk quotas dquot_6.6.0
[ 1.862557] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.862764] FS-Cache: Loaded
[ 1.863034] CacheFiles: Loaded
[ 1.874023] NET: Registered protocol family 2
[ 1.874210] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 1.875776] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.875836] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 1.875882] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.875940] TCP: Hash tables configured (established 2048 bind 2048)
[ 1.876094] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 1.876134] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 1.876452] NET: Registered protocol family 1
[ 1.877542] RPC: Registered named UNIX socket transport module.
[ 1.877557] RPC: Registered udp transport module.
[ 1.877569] RPC: Registered tcp transport module.
[ 1.877581] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.879439] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 1.883279] Initialise system trusted keyrings
[ 1.883558] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 1.893289] zbud: loaded
[ 1.895444] FS-Cache: Netfs ‘nfs’ registered for caching
[ 1.896347] NFS: Registering the id_resolver key type
[ 1.896395] Key type id_resolver registered
[ 1.896409] Key type id_legacy registered
[ 1.896567] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 1.896582] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
[ 1.897787] Key type asymmetric registered
[ 1.897802] Asymmetric key parser ‘x509’ registered
[ 1.897874] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.897889] io scheduler mq-deadline registered
[ 1.897903] io scheduler kyber registered
[ 1.900621] bcm2708_fb soc:fb: FB found 1 display(s)
[ 1.908155] Console: switching to colour frame buffer device 82x26
[ 1.913052] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 656x416
[ 1.919095] bcm2835-rng 3f104000.rng: hwrng registered
[ 1.919543] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 1.920729] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 1.933170] brd: module loaded
[ 1.945806] loop: module loaded
[ 1.947740] Loading iSCSI transport class v2.0-870.
[ 1.949355] libphy: Fixed MDIO Bus: probed
[ 1.949663] usbcore: registered new interface driver lan78xx
[ 1.949730] usbcore: registered new interface driver smsc95xx
[ 1.949755] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 2.678118] Core Release: 2.80a
[ 2.678135] Setting default values for core params
[ 2.678169] Finished setting default values for core params
[ 2.878549] Using Buffer DMA mode
[ 2.878563] Periodic Transfer Interrupt Enhancement - disabled
[ 2.878575] Multiprocessor Interrupt Enhancement - disabled
[ 2.878589] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 2.878618] Dedicated Tx FIFOs mode

[ 2.879083] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = 8bd14000 dma = 0xcbd14000 len=9024
[ 2.879117] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 2.879131] dwc_otg: Microframe scheduler enabled

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

[ 2.879225] WARN::hcd_init_fiq:458: FIQ ASM at 807db0a4 length 36

[ 2.879242] WARN::hcd_init_fiq:496: MPHI regs_base at 90810000
[ 2.879265] dwc_otg 3f980000.usb: DWC OTG Controller
[ 2.879305] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 2.879355] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[ 2.879410] Init: Port Power? op_state=1
[ 2.879422] Init: Power Port (0)
[ 2.879796] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 2.879813] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.879829] usb usb1: Product: DWC OTG Controller
[ 2.879844] usb usb1: Manufacturer: Linux 5.10.76-v7 dwc_otg_hcd
[ 2.879858] usb usb1: SerialNumber: 3f980000.usb
[ 2.880647] hub 1-0:1.0: USB hub found
[ 2.880727] hub 1-0:1.0: 1 port detected
[ 2.882204] dwc_otg: FIQ enabled
[ 2.882218] dwc_otg: NAK holdoff enabled
[ 2.882230] dwc_otg: FIQ split-transaction FSM enabled
[ 2.882249] Module dwc_common_port init
[ 2.882545] usbcore: registered new interface driver usb-storage
[ 2.882765] mousedev: PS/2 mouse device common for all mice
[ 2.883992] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 2.886403] sdhci: Secure Digital Host Controller Interface driver
[ 2.886417] sdhci: Copyright(c) Pierre Ossman
[ 2.887047] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[ 2.887743] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 2.887984] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.888717] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.889055] hid: raw HID events driver (C) Jiri Kosina
[ 2.889216] usbcore: registered new interface driver usbhid
[ 2.889228] usbhid: USB HID core driver
[ 2.894857] Initializing XFRM netlink socket
[ 2.894907] NET: Registered protocol family 17
[ 2.895048] Key type dns_resolver registered
[ 2.896029] Registering SWP/SWPB emulation handler
[ 2.896231] registered taskstats version 1
[ 2.896260] Loading compiled-in X.509 certificates
[ 2.897087] Key type ._fscrypt registered
[ 2.897101] Key type .fscrypt registered
[ 2.897114] Key type fscrypt-provisioning registered
[ 2.909011] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 2.909121] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[ 2.911575] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 2.913285] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 2.913301] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 2.939351] sdhost: log_buf @ (ptrval) (cbd13000)
[ 2.977310] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 2.978973] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.980639] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.983615] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 2.985277] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.988003] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 2.991077] of_cfs_init
[ 2.991376] of_cfs_init: OK
[ 2.992758] Waiting for root device /dev/mmcblk0p2…
[ 3.088532] mmc0: host does not support reading read-only switch, assuming write-enable
[ 3.091773] mmc0: new high speed SDHC card at address 0f38
[ 3.092835] mmcblk0: mmc0:0f38 SD04G 3.69 GiB
[ 3.095588] mmcblk0: p1 p2
[ 3.105293] mmc1: new high speed SDIO card at address 0001
[ 3.110982] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: noload
[ 3.111067] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 3.111875] devtmpfs: mounted
[ 3.119801] Freeing unused kernel memory: 1024K
[ 3.155593] Run /sbin/init as init process
[ 3.155605] with arguments:
[ 3.155617] /sbin/init
[ 3.155628] with environment:
[ 3.155639] HOME=/
[ 3.155650] TERM=linux
[ 19.784555] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 22.587573] random: smbpasswd: uninitialized urandom read (12 bytes read)
[ 26.544508] mc: Linux media interface: v0.10
[ 26.587448] videodev: Linux video capture interface: v2.00
[ 26.619827] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 26.622177] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 26.622198] [vc_sm_connected_init]: start
[ 26.623006] [vc_sm_connected_init]: installed successfully
[ 26.626961] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 26.633261] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 27.356020] i2c /dev entries driver
[ 27.789360] udevd[337]: starting version 3.2.9
[ 27.824528] random: udevd: uninitialized urandom read (16 bytes read)
[ 27.826096] random: udevd: uninitialized urandom read (16 bytes read)
[ 27.826181] random: udevd: uninitialized urandom read (16 bytes read)
[ 27.856838] udevd[338]: starting eudev-3.2.9
[ 28.627287] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 28.631890] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 28.632289] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 28.632632] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 28.632894] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 28.632918] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 28.632934] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 28.632947] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 28.632969] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 28.633125] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 28.646154] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 28.651176] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 28.651216] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 28.653593] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 28.653649] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 28.662200] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 28.662243] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 28.671856] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 28.671894] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 28.687658] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 28.689049] bcm2835_audio bcm2835_audio: there is not valid maps for state default
[ 28.796280] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 28.960074] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 29.004852] brcmfmac: F1 signature read @0x18000000=0x1542a9a6
[ 29.010408] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ 29.010895] usbcore: registered new interface driver brcmfmac
[ 29.165758] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ 29.165886] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2
[ 29.183523] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/2 wl0: Oct 9 2020 14:44:32 version 9.88.4.65 (test) ([email protected]) (r679549) FWID 01-f40f3270
[ 29.399264] random: crng init done
[ 29.399284] random: 2 urandom warning(s) missed due to ratelimiting
[ 29.886046] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 32.168011] NET: Registered protocol family 10
[ 32.175949] Segment Routing with IPv6
[ 32.297597] system date is 2022-03-12 17:48:17