linux/drivers/media
William Manley 17e1319fd0 [media] uvcvideo: Work around buggy Logitech C920 firmware
The uvcvideo webcam driver exposes the v4l2 control "Exposure (Absolute)"
which allows the user to control the exposure time of the webcam,
essentially controlling the brightness of the received image.  By default
the webcam automatically adjusts the exposure time automatically but the
if you set the control "Exposure, Auto"="Manual Mode" the user can fix
the exposure time.

Unfortunately it seems that the Logitech C920 has a firmware bug where
it will forget that it's in manual mode temporarily during initialisation.
This means that the camera doesn't respect the exposure time that the user
requested if they request it before starting to stream video.  They end up
with a video stream which is either too bright or too dark and must reset
the controls after video starts streaming.

This patch introduces the quirk UVC_QUIRK_RESTORE_CTRLS_ON_INIT which
causes the cached controls to be re-uploaded to the camera immediately
after initialising the camera.  This quirk is applied to the C920 to work
around this camera bug.

Signed-off-by: William Manley <will@williammanley.net>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-09-21 20:25:54 -03:00
..
common [media] drivers: media: b2c2: flexcop.h: Fix typo in include guard 2014-09-21 20:11:54 -03:00
dvb-core Merge remote-tracking branch 'linus/master' into patchwork 2014-09-21 16:40:04 -03:00
dvb-frontends [media] af9033: init DVBv5 statistics 2014-09-21 19:50:35 -03:00
firewire
i2c [media] drivers: media: i2c: adv7343_regs.h: Fix typo in #ifndef 2014-09-21 20:12:13 -03:00
mmc
parport [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
pci Merge remote-tracking branch 'linus/master' into patchwork 2014-09-21 16:40:04 -03:00
platform [media] media: davinci: remove unneeded dependency ARCH_OMAP3 2014-09-21 20:17:22 -03:00
radio [media] radio-si470x-usb: use USB API functions rather than constants 2014-09-21 20:10:33 -03:00
rc [media] nuvoton-cir: just return 0 instead of using a var 2014-09-03 17:59:55 -03:00
tuners [media] tda18212: convert to RegMap API 2014-09-21 20:06:23 -03:00
usb [media] uvcvideo: Work around buggy Logitech C920 firmware 2014-09-21 20:25:54 -03:00
v4l2-core [media] v4l: Add camera pan/tilt speed controls 2014-09-21 20:23:39 -03:00
Kconfig [media] Kconfig: do not select SPI bus on sub-driver auto-select 2014-09-04 12:18:49 -03:00
Makefile
media-device.c [media] media-device: Remove duplicated memset() in media_enum_entities() 2014-07-22 01:02:52 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag 2013-12-04 15:03:45 -02:00