Hi Nvidia,
Orin Devkit, JP5.1.4
I have two raw cameras, and when opening video0(s56 30-001b)/video1(s56 30-001c) separately through the V4L2 program(qv4l2) and setting parameters like gain and exposure, the configuration is correctly written to each sensor.
The functions cam_gmsl_set_gain and cam_gmsl_set_exposure would be called in the driver like this.
static struct tegracam_ctrl_ops cam_gmsl_ctrl_ops = {
.numctrls = ARRAY_SIZE(ctrl_cid_list),
.ctrl_cid_list = ctrl_cid_list,
.set_gain = cam_gmsl_set_gain,
.set_exposure = cam_gmsl_set_exposure,
.set_frame_rate = cam_gmsl_set_frame_rate,
.set_group_hold = cam_gmsl_set_group_hold,
};
[ 4947.855645] bwmgr API not supported
[ 4955.405548] s56 30-001b: cam_gmsl_set_gain: addr=0xca1,val=0x08,
[ 4961.301525] s56 30-001b: cam_gmsl_set_exposure: addr=0xca3,val=0x00,
[ 4961.301531] s56 30-001b: cam_gmsl_set_exposure: addr=0xca2,val=0x16,
[ 4964.890440] bwmgr API not supported
[ 5058.541015] bwmgr API not supported
[ 5058.556734] s56 30-001c: cam_gmsl_set_gain: addr=0xca1,val=0x0c,
[ 5058.561256] s56 30-001c: cam_gmsl_set_exposure: addr=0xca3,val=0x0d,
[ 5058.561259] s56 30-001c: cam_gmsl_set_exposure: addr=0xca2,val=0x08,
However, when using argus_camera -d 0 or 1 to open any camera, the driver log shows that only the gain and exposure functions of video1 (s56 30-001c) are being called. and the displayed image is correctly.
[ 3569.110909] s56 30-001c: cam_gmsl_set_gain: addr=0xca1,val=0x08,
[ 3569.115495] s56 30-001c: cam_gmsl_set_exposure: addr=0xca3,val=0x0d,
[ 3569.115497] s56 30-001c: cam_gmsl_set_exposure: addr=0xca2,val=0x08,
In my opinion, when using argus_camera -d 0 command, driver log shows s56 30-001b like v4l2 methord,
I think this might be related to Argus. Please provide some suggestions. Thank you.