inconsistency with video4linux2 MENU control type
Hi,
I forward also to this list the message I sent to linux-uvc.
Maybe there is a deep video4linux2 meaning to this strange response I got from uvcvideo driver with logitech webcams.
Regards,
--
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
---------- Messaggio inoltrato ----------
Oggetto: [Linux-uvc-devel] inconsistency with video4linux2 MENU control type
Data: venerdì 10 ottobre 2008
Da: Daniele Paganelli <[email protected]>
A: [email protected]
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: 9default_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 ;)
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
-------------------------------------------------------
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list