[BOOKWORK] camarray with OV9281 not working

1.Where did you get the camera module(s)?
robotics-3d

2.Model number of the product(s).
OV2981 (UC599 rev b) with camarray (rev c) (stereo)

  1. What hardware/platform were you working on?
    raspberry pi 4 / latest BOOKWORM

4.Instructions you have followed. (link/manual/etc.)
Wiki install instructions on Arducam website for camarray

5.Problems you were having.
no camera is detected. If I use i2cdetect -y 10 I do not see the i2c address to be taken, but I see
i2cdetect -l
i2c-0 i2c i2c-22-mux (chan_id 0) I2C adapter
i2c-1 i2c bcm2835 (i2c@7e804000) I2C adapter
i2c-10 i2c i2c-22-mux (chan_id 1) I2C adapter
i2c-20 i2c fef04500.i2c I2C adapter
i2c-21 i2c fef09500.i2c I2C adapter
i2c-22 i2c bcm2835 (i2c@7e205000) I2C adapter

  1. The dmesg log from your hardware.

    9.190900] i2c-bcm2835 fe205000.i2c: i2c transfer timed out
    [ 9.220425] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
    [ 9.240600] Bluetooth: hci0: BCM: chip id 107
    [ 9.241001] Bluetooth: hci0: BCM: features 0x2f
    [ 9.242208] Bluetooth: hci0: BCM4345C0
    [ 9.242243] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
    [ 9.254861] Bluetooth: hci0: BCM4345C0 ‘brcm/BCM4345C0.raspberrypi,4-model-b.hcd’ Patch
    [ 9.732888] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
    [ 10.101405] Bluetooth: hci0: BCM: features 0x2f
    [ 10.102950] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3±0190
    [ 10.102980] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382
    [ 10.206616] i2c-bcm2835 fe205000.i2c: i2c transfer timed out
    [ 10.206662] ov9281 10-0060: Unexpected sensor id(0000), ret(-5)
    [ 11.230331] i2c-bcm2835 fe205000.i2c: i2c transfer timed out
    [ 11.500747] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 11.500767] Bluetooth: BNEP filters: protocol multicast
    [ 11.500782] Bluetooth: BNEP socket layer initialized
    [ 11.509599] Bluetooth: MGMT ver 1.22
    [ 11.524388] NET: Registered PF_ALG protocol family
    [ 11.572080] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
    [ 11.572786] bcmgenet fd580000.ethernet eth0: Link is Down
    [ 11.588988] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
    [ 12.254325] i2c-bcm2835 fe205000.i2c: i2c transfer timed out
    [ 12.254343] arducam-pivariety 10-000c: pivariety_read: Reading register 0x103 failed
    [ 12.254350] arducam-pivariety 10-000c: probe failed

  2. Troubleshooting attempts you’ve made.
    cables are ok, board is powered, verified installed drivers…

  3. What help do you need?
    how to debug this stereo-camarray setup on my pi4

it seems that there are issues communicating over i2c … but I’m not sure what can be the problem, the camarray is connected correclty…

any idea?

I noticed the issues on the I2c so I double checked the connection and found it was a bit loose. So I pressed the board and now the dmesg log is clean … but still I have no camera showing up… and if I do a libcamera-hello I see the timeout on i2c in the log

[ 5.707567] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[ 5.708348] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[ 5.712644] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System…
[ 5.717840] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System…
[ 5.723235] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System…
[ 5.724025] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[ 5.733535] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock…
[ 5.739212] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout…
[ 5.745222] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes…
[ 5.751123] systemd[1]: Starting [email protected] - Load Kernel Module configfs…
[ 5.758428] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod…
[ 5.765005] systemd[1]: Starting [email protected] - Load Kernel Module drm…
[ 5.773805] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore…
[ 5.781845] systemd[1]: Starting [email protected] - Load Kernel Module fuse…
[ 5.788347] systemd[1]: Starting [email protected] - Load Kernel Module loop…
[ 5.789414] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 5.801907] systemd[1]: Starting systemd-journald.service - Journal Service…
[ 5.828250] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules…
[ 5.838055] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems…
[ 5.855107] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices…
[ 5.877720] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[ 5.879830] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[ 5.882868] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[ 5.885257] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[ 5.891258] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[ 5.894706] systemd[1]: [email protected]: Deactivated successfully.
[ 5.895667] systemd[1]: Finished [email protected] - Load Kernel Module configfs.
[ 5.897956] systemd[1]: [email protected]: Deactivated successfully.
[ 5.899039] systemd[1]: Finished [email protected] - Load Kernel Module drm.
[ 5.901047] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[ 5.902033] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[ 5.904744] systemd[1]: [email protected]: Deactivated successfully.
[ 5.905779] systemd[1]: Finished [email protected] - Load Kernel Module loop.
[ 5.909082] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: [email protected]
[ 5.916635] fuse: init (API version 7.37)
[ 5.935305] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System…
[ 5.940786] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[ 5.941791] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[ 5.943800] systemd[1]: [email protected]: Deactivated successfully.
[ 5.944649] systemd[1]: Finished [email protected] - Load Kernel Module fuse.
[ 5.949631] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[ 5.950710] i2c_dev: i2c /dev entries driver
[ 5.953153] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[ 5.968260] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System…
[ 5.968874] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[ 5.977730] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[ 5.980852] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[ 5.983855] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[ 5.984197] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[ 5.990258] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed…
[ 5.996000] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables…
[ 6.002279] systemd[1]: Starting systemd-sysusers.service - Create System Users…
[ 6.007722] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[ 6.091468] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[ 6.100532] systemd[1]: Finished systemd-random-seed.service - Load/Save Random Seed.
[ 6.102030] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[ 6.156132] systemd[1]: Finished systemd-sysusers.service - Create System Users.
[ 6.183347] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev…
[ 6.198408] systemd[1]: Started systemd-journald.service - Journal Service.
[ 6.275394] systemd-journald[285]: Received client request to flush runtime journal.
[ 6.282348] systemd-journald[285]: File /var/log/journal/19c3d12e7f614ffcb76aa18398d1ccae/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 8.065456] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.078647] rpi-gpiomem fe200000.gpiomem: window base 0xfe200000 size 0x00001000
[ 8.084986] rpi-gpiomem fe200000.gpiomem: initialised 1 regions as /dev/gpiomem
[ 8.098490] mc: Linux media interface: v0.10
[ 8.183601] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.213707] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 8.215141] videodev: Linux video capture interface: v2.00
[ 8.285912] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 8.285951] [vc_sm_connected_init]: start
[ 8.302374] [vc_sm_connected_init]: installed successfully
[ 8.432551] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.449490] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.454835] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.473386] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.499373] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.507896] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.548451] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 8.566967] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 8.572142] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 8.578285] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 8.578422] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 8.578445] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 8.578476] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 8.578488] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 8.586901] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 8.586975] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 8.634148] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 8.634205] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 8.695947] rpivid feb10000.codec: Device registered as /dev/video19
[ 8.699705] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 8.699771] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 8.707657] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 8.707718] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 8.720046] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 8.720126] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 8.743392] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 8.766598] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 8.872501] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 8.877746] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 8.879382] cfg80211: Loaded X.509 cert ‘[email protected]: 577e021cb980e0e820821ba7b54b4961b8b4fadf’
[ 8.880370] cfg80211: Loaded X.509 cert ‘[email protected]: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328’
[ 8.880818] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 8.880863] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 8.880892] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 8.880911] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 8.880923] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 8.881363] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 8.883810] cfg80211: Loaded X.509 cert ‘wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600’
[ 8.888901] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 8.925385] arducam-pivariety 10-000c: firmware version: 0x0003
[ 9.117402] Bluetooth: Core ver 2.22
[ 9.117741] NET: Registered PF_BLUETOOTH protocol family
[ 9.117752] Bluetooth: HCI device and connection manager initialized
[ 9.117802] Bluetooth: HCI socket layer initialized
[ 9.117820] Bluetooth: L2CAP socket layer initialized
[ 9.117855] Bluetooth: SCO socket layer initialized
[ 9.228343] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 9.238521] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 9.279446] usbcore: registered new interface driver brcmfmac
[ 9.500913] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
[ 9.503232] Bluetooth: HCI UART driver ver 2.3
[ 9.503267] Bluetooth: HCI UART protocol H4 registered
[ 9.528595] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 9.536868] Bluetooth: HCI UART protocol Broadcom registered
[ 9.537804] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[ 9.546778] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[ 9.666666] uart-pl011 fe201000.serial: no DMA platform data
[ 9.907330] Bluetooth: hci0: BCM: chip id 107
[ 9.908103] Bluetooth: hci0: BCM: features 0x2f
[ 9.909313] Bluetooth: hci0: BCM4345C0
[ 9.909344] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[ 9.923183] Bluetooth: hci0: BCM4345C0 ‘brcm/BCM4345C0.raspberrypi,4-model-b.hcd’ Patch
[ 10.354769] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 10.767439] Bluetooth: hci0: BCM: features 0x2f
[ 10.769322] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3±0190
[ 10.769356] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382
[ 12.107295] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 12.107314] Bluetooth: BNEP filters: protocol multicast
[ 12.107541] Bluetooth: BNEP socket layer initialized
[ 12.113667] Bluetooth: MGMT ver 1.22
[ 12.130114] NET: Registered PF_ALG protocol family
[ 12.450529] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 12.451251] bcmgenet fd580000.ethernet eth0: Link is Down
[ 12.478037] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 15.841153] Bluetooth: RFCOMM TTY layer initialized
[ 15.841179] Bluetooth: RFCOMM socket layer initialized
[ 15.841199] Bluetooth: RFCOMM ver 1.11
[ 17.945224] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 59.636032] arducam-pivariety 10-000c: Consider updating driver arducam-pivariety to match on endpoints