Understood, thanks. Digging around a bit in the raspberry pi linux repo, it looks like a good place to start would be drivers/staging/vc04_services/bcm2835-camera/ (specifically controls.c, bmc2835-camera.h, mmal-parameters.h). So I'll next read up on how to build and test.I hadn't any plans to add analog and digital gain controls to the v4l2 driver, but it can be done by anyone. Pull requests are always welcome.
There is an open offer that if someone provides a full register set in a shape that can be merged into raspiraw then I would look at merging it into the firmware. There is a half attempt at https://github.com/6by9/raspiraw/pull/21, but it's not as a new mode that I can integrate easily.
Using what framework?FPSUsername wrote: ↑Mon Sep 23, 2019 3:30 pmHello,
I developed a driver for a sensor that supports ROI modes, yet it doesn't seem that the V4L2 driver has any information regarding this.
If you did implement ROI mode, did you crop a ROI from a full frame or did you actually implement the sensor's ROI mode?
Do you have a source code that I could look at?
6by9 wrote: ↑Thu Sep 07, 2017 3:59 pmThat means the GPU can't talk to the camera over the I2C bus, so totally unrelated to the V4L2 driver.
The quick things to check:
- flex connectors are the correct way up and seated properly (sounds like you've already done that one)
- if a V1.3 camera module, does the LED come on?
- the little connector between the camera PCB and the camera module itself can become dislodged. Push down on top of it to make sure it is fully home.
And you've just replied with that last one being the cause!