Quote:
Originally Posted by zeebra
What do you mean by controls exactly?
The camera has for example following controls:
gain
brightness
Did you have a look into /sys?
|
Yes I have looked into sys file system, but I have only a /dev/video0 device.
The v4l2 API say:
When a sub-device is registered with a V4L2 driver by calling v4l2_device_register_subdev() and the ctrl_handler fields of both v4l2_subdev and v4l2_device are set, then the controls of the subdev will become automatically available in the V4L2 driver as well. If the subdev driver contains controls that already exist in the V4L2 driver, then those will be skipped (so a V4L2 driver can always override a subdev control).
But my driver are asynchronous registered.
My driver structure looks following:
bridge driver -> csi-driver -> sensor driver (includes controls)
register-async-notifer for csi driver register-async-notifer for sensor driver
register video device