Dear UVC developers,
        I'm trying to program UVC devices using the video4linux2 API. 
I have problems understanding the output UVC driver give for a 
VIDIOC_QUERYCTRL ioctl.

Response struct (v4l2_queryctrl):
id: V4L2_CID_EXPOSURE
type: V4L2_CTRL_TYPE_MENU
name: 'Exposure, Auto' 
minimum: 0
maximum: 0
step: 9
default_value: 8
flags: 0 

The video4linux2 api specification states that, for a Menu type, the meaning 
of the queryctrl response given by the driver should be:

min: 0
step: 1
max: N-1

where N is the number of menu choices.

So how should I interpret the UVC response min=0/max=0/step=9???

I got this response for Logitech QuickCam Pro for Notebooks
and 
Logitech QuickCam Deluxe for Notebooks

Best regards
and thanks for the great driver ;)

--
Daniele Paganelli
 Researcher
 Expert System Solutions S.r.l.
 Via Virgilio 58/L - 41100 Modena (ITALY)
 Tel: +39 0598860020 - Fax: +39 0598860024
 Email: [EMAIL PROTECTED]
 Web: www.expertsystemsolutions.it


_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to