Hi Laurent,

  Thank you for explaining the history behind some of the #define confusion 
I've 
seen between different versions of V4L2 and uvcvideo.

  I eventually determined the following experimentally - the uvcvideo driver, 
at 
least for my camera (a logitech, USB id 046d:0809) supports two of the four 
possible exposure modes. The others return I/O error - which I don't 
understand, 
if the camera doesn't support them, shouldn't it be EINVAL instead?

enum  v4l2_exposure_auto_type {
      V4L2_EXPOSURE_MANUAL = 0, /* Gives I/O error */
      V4L2_EXPOSURE_AUTO = 1, /* works */
      V4L2_EXPOSURE_SHUTTER_PRIORITY = 2, /* Gives I/O error */
      V4L2_EXPOSURE_APERTURE_PRIORITY = 3 /* works */
};

Fortunately, the mode I wanted, aperture priority, works.

Regards,
Ben
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to