No /dev/video0 on pi 4B + ov5647 + Bookworm (+ a USB/Sata adapter)

I read a lot; I think I’m doing everything right. Is the camera broken, right out of the box?

terry@impudence:~ $ libcamera-hello --list-cameras
No cameras available!

No /dev/video0:
terry@impudence:~ $ ls -lat /dev/vid*
crw-rw----+ 1 root video 81, 1 Jan 8 16:33 /dev/video14
crw-rw----+ 1 root video 81, 8 Jan 8 16:33 /dev/video10
crw-rw----+ 1 root video 81, 0 Jan 8 16:33 /dev/video13
crw-rw----+ 1 root video 81, 13 Jan 8 16:33 /dev/video19
crw-rw----+ 1 root video 81, 5 Jan 8 16:33 /dev/video21
crw-rw----+ 1 root video 81, 9 Jan 8 16:33 /dev/video11
crw-rw----+ 1 root video 81, 10 Jan 8 16:33 /dev/video12
crw-rw----+ 1 root video 81, 2 Jan 8 16:33 /dev/video15
crw-rw----+ 1 root video 81, 3 Jan 8 16:33 /dev/video16
crw-rw----+ 1 root video 81, 11 Jan 8 16:33 /dev/video18
crw-rw----+ 1 root video 81, 4 Jan 8 16:33 /dev/video20
crw-rw----+ 1 root video 81, 7 Jan 8 16:33 /dev/video23
crw-rw----+ 1 root video 81, 6 Jan 8 16:33 /dev/video22
crw-rw----+ 1 root video 81, 12 Jan 8 16:33 /dev/video31

config.txt has:
camera_auto_detect=0
dtoverlay=ov5647

In dmesg I’m getting:
terry@impudence:~ $ dmesg | grep ov5647
[ 0.054167] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/ov5647@36
[ 2.318038] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/ov5647@36
[ 12.810652] ov5647 10-0036: ov5647_read: i2c read error, reg: 300a = -5
[ 12.811689] ov5647 10-0036: ov5647_read: i2c read error, reg: 100 = -5
[ 12.812604] ov5647: probe of 10-0036 failed with error -5

terry@impudence:~ $ uname -a
Linux impudence 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux

terry@impudence:~ $ cat /etc/debian_version
12.8

This system is also running the Geekworm NASpi Gemini USB-to-SATA RAID board, in case that’s relevant. It’s a headless NAS server.

Grateful for clues!

Hi,
Could you please provide us with pictures of the hardware connection?

Hi Dion!

Thanks for asking. I opened the case and the heat sink again to get photos, and while I was at it I disconnected and reconnected both ends of the ribbon cable – and when I closed it all up again and booted the pi, the camera came up!

So, this is SOLVED and the advice to readers is: check your hardware, re-connect your connectors!

Hi @Wegesrand
Huhhhh
According to your description, I suspect the hardware connection might not be that stable. Bingo!!!
Feel free to contact us if you have any other problems.