avafinger / nanopi-m4-ubuntu-base-minimal

Nanopi M4 RK3399 base minimal image for development (mali fbdev / gbm) - Camera support
53 stars 10 forks source link

Camera Parameters for ov4689 #33

Open Mango-kid opened 3 years ago

Mango-kid commented 3 years ago

Hey, I have had good success working with the ov4689 but I am bashing my head against the wall right now trying to figure out the best path for controlling the camera parameters.

It seems that in the driver there are only controls for some of the basics (ie, exposure and analog gain). Currently it looks like the best route is going to be expanding the driver to extend the functionality. For example with v4l2-ctl setting the exposure doesn't work correctly because auto exposure is always enabled.

Short of modifying the driver is there anything you found for controlling this cameras parameters? Any help or direction would be great.

avafinger commented 3 years ago

What kernel are you with?

Mango-kid commented 3 years ago

The freindlyelec kernel-rockchip 4.4.179

avafinger commented 3 years ago

You can refer to this thread to control Exposure and Gain. http://www.friendlyarm.com/Forum/viewtopic.php?f=61&t=3406