16MP autofocus camera is not being detected

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

  2. Model number of the product(s)?
    UC-873 imx519 16MP autofocus

  3. What hardware/platform were you working on?
    Raspberry Pi 4,Octopi Nightly 22-11-08 from Index of /Distros/OctoPi/nightly ,Linux version 5.15.76-v7l+

  4. Instructions you have followed. (link/manual/etc.)
    The ones given here:
    How to install and build Raspberry Pi Kernel Driver for Arducam Pivariety Camera

  5. Problems you were having?
    The camera fails to be detected with the message: arducam-pivariety 10-000c: probe failed

  6. The dmesg log from your hardware?
    arducam-pivariety 10-000c: probe failed

  7. Troubleshooting attempts you’ve made?
    I have two different Raspberry Pis both failed.
    Tried two different cameras in each of the pis, no luck.

  8. What help do you need?
    Any clue as to what the problem is?

Replying to myself, for anybody else looking. I managed to sort of fix it.

./arducam_camera_selector.sh --add imx519

which disabled arducam dtoverlay and added the imx519 overlay

[pi4]
# Run as fast as firmware / board allows
arm_boost=1
dtoverlay=imx519
dtoverlay=imx519,cam0

[all]
# enable raspicam
start_x=1
gpu_mem=128
#dtoverlay=arducam

The instruction pertaining to the imx519 only mention that those overlays have to be loaded for the cm4, but not the pi4.

it works but I am still getting dmesg errors:

[    9.377465] imx519 0-001a: failed to read chip id 519, with error -5
[    9.378015] imx519: probe of 0-001a failed with error -5
[    9.390284] imx519 10-001a: Device found is imx519
[    9.390742] imx519 10-001a: Consider updating driver imx519 to match on endpoints