SOLVED: IMX519 camera with 64bit bullseye

Just got my High Resolution Autofocus Camera Module for Raspberry Pi

Connected it to raspberry pi 4

$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION="11 (bullseye)"

$ uname -a
Linux fourdp 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux

and did the dev, apps and kernel driver installations. libcamera-still finds no camera.

Boot had an error:

$ dmesg | grep imx
[    7.006960] imx519 10-001a: failed to read chip id 519, with error -5
[    7.014547] imx519: probe of 10-001a failed with error -5

Looks like the kernel is too new?

Never mind. I had the connector in backwards on the Pi side. How embarrassing. Works fine.

Sorry to bring up such an old post, if it’s still working, have you tried the python library? This how-to-use-code-to-access-libcamera-c-python says it’s not compatible, but it’d be nice to know.