Hi, this is a first attempt at implementing VIDIOC_G_EXT_CTRLS and VIDIOC_S_EXT_CTRLS, these ioclt are needed in order to make controls of type different than V4L2_CTRL_CLASS_USER work in gspca. An example of such a control is V4L2_CID_EXPOSURE_AUTO which a couple of gspca subdrivers define but which can't be controlled from v4l2 userspace apps right now. Let me know what do you think and if you have any suggestion. If needed I will add VIDIOC_TRY_EXT_CTRLS too. Thanks, Antonio Antonio Ospite (3): [media] gspca - main: rename get_ctrl to get_ctrl_index [media] gspca - main: factor out the logic to set and get controls [media] gspca - main: implement vidioc_g_ext_ctrls and vidioc_s_ext_ctrls drivers/media/video/gspca/gspca.c | 184 ++++++++++++++++++++++++------------- 1 file changed, 119 insertions(+), 65 deletions(-) -- Antonio Ospite http://ao2.it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html