This is great info. Thank you! It seems like the following post is doing something very similar except they built the driver as a module outside of the linux kernel. I was unsuccessful in getting this to compile standalone after many attempts.That would be why I've already pointed you at my branch where I'd started looking at that. It'll need a little tweaking for the latest kernel as APIs have changed, but would be a good basis for your system. Search the forums for "dummy sensor" and you'll find a number of threads discussing it in the past. I'll see about updating it for the 6.6 kernel.
Building the kernel is covered in the documentation - https://www.raspberrypi.com/documentati ... the-kernel
viewtopic.php?p=2130304
Instead, I built the dummy sensor kernel and moved all of the overlays into my raspberry pi image. Which seems similar to this post:
viewtopic.php?t=348807
In that post they seem to be having some success with device=/dev/video0, which I am not having any success with.
The dummy-csi-sensor overlay is loaded in the Device Tree on boot, right? Do I need to load anything else or should I be able to start receiving data? Is there a way to determine if the driver/module is loaded? I checked lsmod but I don't see "dummy-csi-sensor" or similar.
Not sure if this gives any insight but when our camera is connected, issuing v4l2-ctl --list-devices we get the following:
Code:
pi@raspberrypi:~ $ v4l2-ctl --list-devicesunicam (platform:3f801000.csi): [color=#FF0000]/dev/media3[/color]bcm2835-codec-decode (platform:bcm2835-codec): /dev/video10 /dev/video11 /dev/video12 /dev/video18 /dev/video31 [color=#00FF00]/dev/media2[/color]bcm2835-isp (platform:bcm2835-isp): /dev/video13 /dev/video14 /dev/video15 /dev/video16 /dev/video20 /dev/video21 /dev/video22 /dev/video23 /dev/media0 /dev/media1Cannot open device /dev/video0, exiting.
Our sensor is outputting RAW 14 bit greyscale on Data Lane 0 with a resolution of 640x480.
How do we even tell if the raspberry pi is loading the driver and if the camera is even being detected?
Thanks
Statistics: Posted by mbd7311 — Tue Mar 05, 2024 12:29 am