Hi,
I am trying to develop HDR driver for IMX390 sensor and I receive the following log sequence during startup
8月 07 17:00:23 nvidia-desktop nvargus-daemon[6063]: setControlValMultiple: Group Hold Control class inconsistent
8月 07 17:00:23 nvidia-desktop nvargus-daemon[6063]: (NvCamV4l2) Error BadParameter: Invalid control list (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function setControlValMultiple(), line 786)
8月 07 17:00:23 nvidia-desktop nvargus-daemon[6063]: (NvOdmDevice) Error BadParameter: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function setDeviceControls(), line 1856)
8月 07 17:00:23 nvidia-desktop nvargus-daemon[6063]: updateOutputSettings: Set Control failed. Use cached values
Camera itself is working but it gives pinkish image at the moment, but I have an impression that some settings take none effect.
{
.ops = &imx390_ctrl_ops,
.id = TEGRA_CAMERA_CID_GROUP_HOLD,
.name = "Group Hold",
.type = V4L2_CTRL_TYPE_INTEGER_MENU,
.min = 0,
.max = ARRAY_SIZE(switch_ctrl_qmenu) - 1,
.menu_skip_mask = 0,
.def = 0,
.qmenu_int = switch_ctrl_qmenu,
},
static int imx390_set_group_hold(struct imx390 *priv, s32 val)
{
int err;
int gh_en = switch_ctrl_qmenu[val];
priv->group_hold_prev = val;
if (gh_en == SWITCH_ON) {
err = imx390_write_reg(priv->s_data, IMX390_GROUP_HOLD_ADDR, 0x1);
if (err)
goto fail;
} else if (gh_en == SWITCH_OFF) {
err = imx390_write_reg(priv->s_data, IMX390_GROUP_HOLD_ADDR, 0x0);
if (err)
goto fail;
}
return 0;
fail:
dev_dbg(&priv->i2c_client->dev,
"%s: Group hold control error\n", __func__);
return err;
}
Please do you have any idea why the argus-daemon is complaining about GROUP HOLD?