Enable Legacy Camera

How can I enable the legacy Camera support in BlueOS. I have a Starvis2 camera, which uses V4L2, which I believe requires legacy support.

A little sleep does wonders; I didn’t realize the terminal is contained to Docker. using red-pill I got access to the raspi-config and enabled it there. Still not getting anything to show in BlueOS through.

Still no luck. I have an Arducam imx462 connected up, but no matter what I try, I can’t get BlueOS to detect it on the CSI interface. I get 1 camera supported, 0 detected out of raspinfo. Are there system-level changes outside of the BlueOS docker I am unaware of when compared to Raspbian?

Hi @BillyA -
I don’t think legacy support is required to use your camera, the V4L2 driver is used by our own low-light USB camera. Do you see an entry for the camera on the Video Streams page?
Does the camera support H264 output?

It does support H264. However, I can’t seem to get the camera to be detected. There is nothing in the video streams page and /dev/video0 does not exist. It’s odd enough that I feel like I’m missing something very basic.

Hi Billy -
Have you tested the camera with another computer ok?
I would recommend opening the BlueOS terminal, taking the “red-pill” to get root user access, and typing “lsusb”
If you then plug in the camera, and send the same command, you should see another device in the list?

lsusb would only show USB devices. I just did a late-night troubleshooting session with Arducam Support, and they are also stumped. I have multiple cameras and two identical test platforms, all failing under BlueOS. I need to load base Raspbian and see if that works.

Raspbian Legacy worked. I tried current Raspbian Bookworm and it did not. I also forced a specific kernel 6.1.21-v8+ to load on BlueOs which should have native support and is the same kernel as the Legacy Raspbian install but it also didn’t work. Can I just install BlueOS in a docker on the Raspbian legacy?

Hi Billy -
That’s correct - is the camera not a USB device?

No, it’s a CSI device. I got it running on Raspbian Legacy, but when I ran the BlueOS installer, it broke it again. I did attempt to reupdate the kernel to 6.1.21 but that didn’t bring it back nor did the full instal process from the manufacturer. I do have BlueOS working on Raspbian, but I’m not sure what is causing the issues.

This is Arducam’s IMX462 board, btw.

I just blew away the installation and redid the Raspbian Legacy install to get the camera working again. Then used the install script with --skip-board-config to get BlueOS running again without messing with the existing configuration. Still kills any access to the camera. I really wish I could figure out which part of the installation process is nuking it.

Something is writting to /boot/config.txt every time I try to comment out the changes the installer makes in the pi4 category. Any idea how to kill it?