[0/1] media: uvcvideo: Add quirk for exponential exposure

Message ID 20211003023554.885815-1-logans@cottsay.net (mailing list archive)
Headers
Series media: uvcvideo: Add quirk for exponential exposure |

Message

Scott K Logan Oct. 3, 2021, 2:36 a.m. UTC
  Ever since I started using them, I've noticed that the absolute exposure
control for the LifeCam webcam hasn't functioned properly. After some
poking around, I managed to charactarize the behavior. To summarize,
only values which follow an exponential pattern appear to result in the
intended change to the webcam's image.

Ideally this quirky behavior could be handled with an extension unit,
but I'm not sure this behavior can be implemented there. I tested this
patch with the two LifeCam webcams I have on hand.

Scott K Logan (1):
  media: uvcvideo: Add quirk for exponential exposure

 drivers/media/usb/uvc/uvc_ctrl.c   | 41 ++++++++++++++++++++++++++++++
 drivers/media/usb/uvc/uvc_driver.c | 18 +++++++++++++
 drivers/media/usb/uvc/uvcvideo.h   |  1 +
 3 files changed, 60 insertions(+)