GitHub/LineageOS/android_kernel_motorola_exynos9610.git
15 years agoV4L/DVB (9985): gspca - spca561: Cleanup source.
Jean-Francois Moine [Wed, 17 Dec 2008 17:34:53 +0000 (14:34 -0300)]
V4L/DVB (9985): gspca - spca561: Cleanup source.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9984): gspca - pac7311: Webcam 093a:262c added.
Jean-Francois Moine [Mon, 15 Dec 2008 07:12:57 +0000 (04:12 -0300)]
V4L/DVB (9984): gspca - pac7311: Webcam 093a:262c added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9982): gspca - pac207: Update my email address.
Hans de Goede [Sun, 14 Dec 2008 12:37:02 +0000 (09:37 -0300)]
V4L/DVB (9982): gspca - pac207: Update my email address.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9981): [PATCH] usb-urb.c: Fix initialization of URB list.
Thomas Reitmayr [Mon, 29 Dec 2008 13:59:29 +0000 (10:59 -0300)]
V4L/DVB (9981): [PATCH] usb-urb.c: Fix initialization of URB list.

Fix the initialization of the URB list for a DVB-USB device to prevent
problems on certain platforms (MIPS).

Signed-off-by: Thomas Reitmayr <treitmayr@devbase.at>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9980): em28xx: simplify analog logic
Mauro Carvalho Chehab [Mon, 29 Dec 2008 01:26:36 +0000 (22:26 -0300)]
V4L/DVB (9980): em28xx: simplify analog logic

Now, just two routines are enough for analog: the first one configs the analog
part and register V4L2 devices, and the second one release analog devices.

After this patch, it will be easier to transform em28xx-video into an em28xx
extension, loaded only on analog devices.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9979): em28xx: move usb probe code to a proper place
Mauro Carvalho Chehab [Mon, 29 Dec 2008 01:18:14 +0000 (22:18 -0300)]
V4L/DVB (9979): em28xx: move usb probe code to a proper place

em28xx-video were holding several code that are not specific to V4L2
interface.

This patch moves the core code for em28xx-core, and usb probing code
into em28xx-cards.

This opens the possibility of breaking em28xx into a core module and a
V4L2 module, loaded only on devices that have analog interfaces.

Some cleanup may be done at em28xx-cards to optimize the config code.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9978): stkwebcam: Implement VIDIOC_ENUM_FRAMESIZES ioctl
Jaime Velasco Juan [Thu, 25 Dec 2008 10:04:52 +0000 (07:04 -0300)]
V4L/DVB (9978): stkwebcam: Implement VIDIOC_ENUM_FRAMESIZES ioctl

This patch implements VIDIOC_ENUM_FRAMESIZES, it is used at least
by gstreamer.

Signed-off-by: Jaime Velasco Juan <jsagarribay@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9977): Kbuild: fix compilation when dib7000p is not defined
Mauro Carvalho Chehab [Fri, 26 Dec 2008 10:07:39 +0000 (07:07 -0300)]
V4L/DVB (9977): Kbuild: fix compilation when dib7000p is not defined

dib7000p.h defines a few extern symbols when CONFIG_DVB_DIB7000P is not set. since the
header is used on more than one driver, this causes symbol duplication, as pointed by
Ingo Molnar <mingo@elte.hu>:

drivers/media/dvb/built-in.o: In function `dib7000p_set_gpio':
(.text+0x3f242): multiple definition of `dib7000p_set_gpio'
drivers/media/video/built-in.o:(.text+0xb8c1e): first defined here
drivers/media/dvb/built-in.o: In function `dib7000p_i2c_enumeration':
(.text+0x3f282): multiple definition of `dib7000p_i2c_enumeration'
drivers/media/video/built-in.o:(.text+0xb8c3e): first defined here
drivers/media/dvb/built-in.o: In function `dib7000p_set_wbd_ref':
(.text+0x3f1c1): multiple definition of `dib7000p_set_wbd_ref'
drivers/media/video/built-in.o:(.text+0xb8bfe): first defined here
  LD      drivers/net/built-in.o
make[2]: *** [drivers/media/built-in.o] Error 1

Cc: Patrick Boettcher <patrick.boettcher@desy.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9975): ivtv: set v4l2_dev instead of parent.
Hans Verkuil [Tue, 23 Dec 2008 10:35:45 +0000 (07:35 -0300)]
V4L/DVB (9975): ivtv: set v4l2_dev instead of parent.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9974): v4l2-dev: allow drivers to pass v4l2_device as parent
Hans Verkuil [Tue, 23 Dec 2008 10:35:17 +0000 (07:35 -0300)]
V4L/DVB (9974): v4l2-dev: allow drivers to pass v4l2_device as parent

Drivers that use v4l2_device can set that as parent pointer in the v4l2_dev
field instead of using the struct device parent field.

This allows v4l2-dev.c to check whether this driver is v4l2_device based,
and if so then it can offer additional services.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9973): v4l2-dev: use the release callback from device instead of cdev
Hans Verkuil [Sat, 20 Dec 2008 00:28:27 +0000 (21:28 -0300)]
V4L/DVB (9973): v4l2-dev: use the release callback from device instead of cdev

Instead of relying on the cdev release callback we should rely on the
release callback from the device struct. This requires that we use
get_device/put_device to do proper refcounting. In order to do this
safely v4l2-dev.c now sets up its own file_operations that call
out to the driver's ops.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9972): v4l: usbvideo, fix module ref count check
Jiri Slaby [Tue, 23 Dec 2008 01:38:23 +0000 (22:38 -0300)]
V4L/DVB (9972): v4l: usbvideo, fix module ref count check

usbvideo_ClientIncModCount may return value < 0 in the case of error, not > 0.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9970): em28xx: Allow get/set registers for debug on i2c slave chips
Mauro Carvalho Chehab [Mon, 22 Dec 2008 23:58:41 +0000 (20:58 -0300)]
V4L/DVB (9970): em28xx: Allow get/set registers for debug on i2c slave chips

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9969): tvp5150: add support for VIDIOC_G_CHIP_IDENT ioctl
Mauro Carvalho Chehab [Mon, 22 Dec 2008 23:34:18 +0000 (20:34 -0300)]
V4L/DVB (9969): tvp5150: add support for VIDIOC_G_CHIP_IDENT ioctl

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9967): cs5345: convert to v4l2_subdev and fix broken s_ctrl.
Hans Verkuil [Fri, 19 Dec 2008 13:34:22 +0000 (10:34 -0300)]
V4L/DVB (9967): cs5345: convert to v4l2_subdev and fix broken s_ctrl.

Converted to v4l2_subdev. While doing that I also discovered a stray 'break'
that broke the S_CTRL handling. Fixed that as well.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9966): tda9875: convert to v4l2_subdev.
Hans Verkuil [Thu, 18 Dec 2008 16:43:45 +0000 (13:43 -0300)]
V4L/DVB (9966): tda9875: convert to v4l2_subdev.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9965): tda9840: convert to v4l2_subdev.
Hans Verkuil [Thu, 18 Dec 2008 16:21:57 +0000 (13:21 -0300)]
V4L/DVB (9965): tda9840: convert to v4l2_subdev.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9964): tda7432: convert to v4l2_subdev.
Hans Verkuil [Thu, 18 Dec 2008 16:04:05 +0000 (13:04 -0300)]
V4L/DVB (9964): tda7432: convert to v4l2_subdev.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9963): tlv320aic23b: convert to v4l2_subdev.
Hans Verkuil [Thu, 18 Dec 2008 15:43:56 +0000 (12:43 -0300)]
V4L/DVB (9963): tlv320aic23b: convert to v4l2_subdev.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9962): tea6420: convert to v4l2_subdev.
Hans Verkuil [Thu, 18 Dec 2008 15:33:45 +0000 (12:33 -0300)]
V4L/DVB (9962): tea6420: convert to v4l2_subdev.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9961): tea6415c: convert to v4l2_subdev.
Hans Verkuil [Thu, 18 Dec 2008 15:29:07 +0000 (12:29 -0300)]
V4L/DVB (9961): tea6415c: convert to v4l2_subdev.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9960): v4l2-subdev: ioctl ops should use unsigned for cmd arg.
Hans Verkuil [Thu, 18 Dec 2008 15:27:28 +0000 (12:27 -0300)]
V4L/DVB (9960): v4l2-subdev: ioctl ops should use unsigned for cmd arg.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9959): tvaudio: convert to v4l2_subdev.
Hans Verkuil [Thu, 18 Dec 2008 15:11:32 +0000 (12:11 -0300)]
V4L/DVB (9959): tvaudio: convert to v4l2_subdev.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9958): tvp5150: convert to v4l2_subdev.
Hans Verkuil [Thu, 18 Dec 2008 14:17:25 +0000 (11:17 -0300)]
V4L/DVB (9958): tvp5150: convert to v4l2_subdev.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9957): v4l2-subdev: add g_sliced_vbi_cap and add NULL pointer checks
Hans Verkuil [Thu, 18 Dec 2008 14:16:24 +0000 (11:16 -0300)]
V4L/DVB (9957): v4l2-subdev: add g_sliced_vbi_cap and add NULL pointer checks

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9953): em28xx: Add suport for debugging AC97 anciliary chips
Mauro Carvalho Chehab [Mon, 22 Dec 2008 16:18:27 +0000 (13:18 -0300)]
V4L/DVB (9953): em28xx: Add suport for debugging AC97 anciliary chips

The em28xx driver can be coupled to an anciliary AC97 chip. This patch
allows read/write AC97 registers directly.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9944): videodev2.h: fix typo.
Hans Verkuil [Fri, 19 Dec 2008 14:17:56 +0000 (11:17 -0300)]
V4L/DVB (9944): videodev2.h: fix typo.

The comment said CX2584X instead of CX2341X.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9943): v4l2: document video_device.
Hans Verkuil [Fri, 19 Dec 2008 13:20:22 +0000 (10:20 -0300)]
V4L/DVB (9943): v4l2: document video_device.

Add the missing video_device documentation to v4l2-framework.txt.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9942): v4l2-dev: check for parent device in get_index.
Hans Verkuil [Fri, 19 Dec 2008 12:10:56 +0000 (09:10 -0300)]
V4L/DVB (9942): v4l2-dev: check for parent device in get_index.

get_index requires a valid parent device in order to discover which
indices are in use. Some drivers (e.g. pvrusb2) do not set the parent
device. In that case just return 0.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9941): cx24113: fix compile warnings
Hans Verkuil [Fri, 19 Dec 2008 10:36:46 +0000 (07:36 -0300)]
V4L/DVB (9941): cx24113: fix compile warnings

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9940): bt832: remove this driver
Hans Verkuil [Fri, 19 Dec 2008 10:18:38 +0000 (07:18 -0300)]
V4L/DVB (9940): bt832: remove this driver

The bt832 i2c driver was never used or even compiled and is no longer
maintained. It is now removed completely.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9939): tuner: fix tuner_ioctl compile error if V4L1 ioctls are disabled.
Hans Verkuil [Fri, 19 Dec 2008 10:07:56 +0000 (07:07 -0300)]
V4L/DVB (9939): tuner: fix tuner_ioctl compile error if V4L1 ioctls are disabled.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9937): cx18: Use a consistent crystal value for computing all PLL parameters
Andy Walls [Sun, 21 Dec 2008 02:48:57 +0000 (23:48 -0300)]
V4L/DVB (9937): cx18: Use a consistent crystal value for computing all PLL parameters

Use a consistent crystal value of 28.636360 MHz for computing all PLL
parameters so clocks don't have relative error due to assumed crystal
value mismatches.  Also aimed to have all PLLs run their VOCs at close to
400 MHz to minimze the error of these PLLs as frequency synthesizers. Also
set the VDCLK and AIMCLK PLLs to sane values before the APU and CPU firmware
are loaded.  Also fixed I2S Master clock dividers.

Many thanks to Mike Bradley and Jeff Campbell for reporting this problem and
suggesting the solution, researching and experimenting, and performing
extensive testing to support their suggested solution.

Reported-by: Jeff Campbell <jac1dlists@gmail.com>
Reported-by: Mike Bradley <mike.bradley@incanetworks.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9936): cx18: Disable locking of Video and Audio PLL for analog captures
Andy Walls [Sun, 21 Dec 2008 02:26:38 +0000 (23:26 -0300)]
V4L/DVB (9936): cx18: Disable locking of Video and Audio PLL for analog captures

Disable AV_LOCK, locking of audio PLL to video PLL in the cx18-av-core for
analog captures.  It seems to have adverse effects on captures from
SVideo and CVBS sources with current clock & crystal settings in the driver.

Many thanks to Jeff Campbell and Mike Bradley for reporting this problem,
and suggesting the solution and performing extensive testing to support their
suggestion.

Reported-by: Jeff Campbell <jac1dlists@gmail.com>
Reported-by: Mike Bradley <mike.bradley@incanetworks.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9934): v4l2-compat32: add two additional #ifdef __OLD_VIDIOC_ lines
Hans Verkuil [Sun, 21 Dec 2008 13:44:24 +0000 (10:44 -0300)]
V4L/DVB (9934): v4l2-compat32: add two additional #ifdef __OLD_VIDIOC_ lines

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9932): v4l2-compat32: fix 32-64 compatibility module
Hans Verkuil [Sun, 21 Dec 2008 13:35:25 +0000 (10:35 -0300)]
V4L/DVB (9932): v4l2-compat32: fix 32-64 compatibility module

Added all missing v4l1/2 ioctls and fix several broken conversions.
Partially based on work done by Cody Pisto <cpisto@gmail.com>.

Tested-by: Brandon Jenkins <bcjenkins@tvwhere.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9931): em28xx: de-obfuscate vidioc_g_ctrl logic
Mauro Carvalho Chehab [Mon, 22 Dec 2008 09:20:32 +0000 (06:20 -0300)]
V4L/DVB (9931): em28xx: de-obfuscate vidioc_g_ctrl logic

vidioc_g_ctrl() were using an uneeded confusing logic. Instead, use the
direct approach.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9930): em28xx: Fix bad locks on error condition
Mauro Carvalho Chehab [Mon, 22 Dec 2008 09:14:31 +0000 (06:14 -0300)]
V4L/DVB (9930): em28xx: Fix bad locks on error condition

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9928): Convert GP8PSK module to use S2API
Alan Nisota [Sat, 20 Dec 2008 15:03:06 +0000 (12:03 -0300)]
V4L/DVB (9928): Convert GP8PSK module to use S2API

This patch converts the gp8psk module to use the S2API.
It pretends to be  DVB-S2 capable in order to allow the various
supported modulations (8PSK, QPSK-Turbo, etc), and keep software
compatibility with the S2API patches for Mythtv and VDR.

Signed-off by: Alan Nisota <alannisota@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9927): em28xx: use a more standard way to specify video formats
Mauro Carvalho Chehab [Sat, 20 Dec 2008 12:06:37 +0000 (09:06 -0300)]
V4L/DVB (9927): em28xx: use a more standard way to specify video formats

This patch uses the same code for enumberating video formats that are
present on cx88, bttv and saa7134 drivers.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9926): em28xx: Fix a bug that were putting xc2028/3028 tuner to sleep
Mauro Carvalho Chehab [Sat, 20 Dec 2008 10:43:34 +0000 (07:43 -0300)]
V4L/DVB (9926): em28xx: Fix a bug that were putting xc2028/3028 tuner to sleep

The changeset 78aa52a159cf introduced a bug on em28xx: buffer setup should be
awaking xc3028. Instead, since we didn't specify the tuner mode, the device
were going to sleep, due to the lack of tuner mode when asking tuner to handle
VIDIOC_S_FREQUENCY:

xc2028 0-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
xc2028 0-0061: divisor= 00 00 14 d0 (freq=83.250)
xc2028 0-0061: Putting xc2028/3028 into poweroff mode.
xc2028 0-0061: Printing sleep stack trace:
Pid: 10936, comm: mplayer Tainted: P   M      2.6.27.8 #1

Call Trace:
 [<ffffffffa0b759ea>] xc2028_sleep+0x89/0x1ab [tuner_xc2028]
 [<ffffffffa0b48fb9>] tuner_s_frequency+0xf5/0x165 [tuner]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9925): tuner-core: add debug msg's when asking tuner to sleep
Mauro Carvalho Chehab [Sat, 20 Dec 2008 10:17:10 +0000 (07:17 -0300)]
V4L/DVB (9925): tuner-core: add debug msg's when asking tuner to sleep

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9923): xc5000: remove init_fw option
Devin Heitmueller [Wed, 17 Dec 2008 05:25:00 +0000 (02:25 -0300)]
V4L/DVB (9923): xc5000: remove init_fw option

The init_fw option was broken for the HVR-950q because we would call the reset
callback inside of dvb_attach() and the callback had not been setup yet.

Michael Krufky (who added the init_fw feature) says it's no longer required,
so just remove the option completely.

Thanks to user Zzeiss from #linuxtv chat for reporting the issue and
Michael Krufky <mkrufky@linuxtv.org> for proposing the fix.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9922): em28xx: don't assume every eb1a:2820 reference design is a Prolink...
Devin Heitmueller [Wed, 17 Dec 2008 02:35:23 +0000 (23:35 -0300)]
V4L/DVB (9922): em28xx: don't assume every eb1a:2820 reference design is a Prolink PlayTV USB2

Don't operate under the assumption that every device that uses the em2820
default USB ID is a Prolink PlayTV USB.  We have an eeprom hash, so use that,
since otherwise we cannot support other devices with the 2820 default USB ID
(such as the ADS Tech Instant TV USB USBAV-704)

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9921): em28xx: add chip id for em2874
Devin Heitmueller [Wed, 17 Dec 2008 02:15:33 +0000 (23:15 -0300)]
V4L/DVB (9921): em28xx: add chip id for em2874

Add the em2870 to the list of known em28xx chip ids.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9918): cx88: advise/acquire clean-up for HVR-1300/3000/4000
Darron Broad [Thu, 18 Dec 2008 09:28:35 +0000 (06:28 -0300)]
V4L/DVB (9918): cx88: advise/acquire clean-up for HVR-1300/3000/4000

This cleans-up the advise/acquire methods.

This has been tested on the hvr-1300/4000 and assumed to be
correct on the hvr-3000.

This update also fixes analogue tuning on the hvr-1300
when in blackbird mode.

Signed-off-by: Darron Broad <darron@kewl.org>
Cc: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9917): cx24116: change to ALGO_HW
Darron Broad [Thu, 18 Dec 2008 09:28:18 +0000 (06:28 -0300)]
V4L/DVB (9917): cx24116: change to ALGO_HW

Slow tuning, EG:

> szap-s2 -r -c 39.FTATV "1=Pgm1;Net1"
reading channels from file '39.FTATV'
zapping to 3 '1=Pgm1;Net1':
delivery DVB-S, modulation QPSK
sat 0, frequency 11140 MHz V, symbolrate 1425000, coderate 5/6, rolloff 0.35
vpid 0x0200, apid 0x0300, sid 0x0001
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 00 | signal c2c0 | snr 0000 | ber 00012d4a | unc 00000000 |
status 03 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
status 03 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 03 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
status 03 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 03 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 1f | signal c040 | snr bb33 | ber 00000000 | unc 00000000 | FE_HAS_LOCK

Appears to be resolved by dropping zig-zag tuning and relying on
hardware only:

> szap-s2 -r -c 39.FTATV "1=Pgm1;Net1"
reading channels from file '39.FTATV'
zapping to 3 '1=Pgm1;Net1':
delivery DVB-S, modulation QPSK
sat 0, frequency 11140 MHz V, symbolrate 1425000, coderate 5/6, rolloff 0.35
vpid 0x0200, apid 0x0300, sid 0x0001
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 01 | signal ff80 | snr 0000 | ber 00000000 | unc 00000000 |
status 1f | signal ff80 | snr c199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal c040 | snr c199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ff80 | snr c199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK

Tuning to a weaker channel shows that the hardware recovers sync:

status 1f | signal fe40 | snr 5199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 03 | signal fd40 | snr 5000 | ber 00000000 | unc 00000000 |
status 1f | signal fe40 | snr 5000 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 03 | signal fd80 | snr 5000 | ber 00000000 | unc 00000000 |
status 01 | signal fd80 | snr 4e66 | ber 00000000 | unc 00000000 |
status 1f | signal fe40 | snr 5000 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 03 | signal fe40 | snr 5000 | ber 00000000 | unc 00000000 |
status 01 | signal fd80 | snr 0000 | ber 00000000 | unc 00000000 |
status 1f | signal fe40 | snr 5199 | ber 00000000 | unc 00000000 | FE_HAS_LOCK

Also, tuning, moving the dish and then restoring the dish also retunes.

Signed-off-by: Darron Broad <darron@kewl.org>
Cc: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9916): dvb-core: don't add an event when in ONE SHOT mode for algo type HW
Darron Broad [Thu, 18 Dec 2008 09:27:50 +0000 (06:27 -0300)]
V4L/DVB (9916): dvb-core: don't add an event when in ONE SHOT mode for algo type HW

It has been noticed that in HW tuning mode in cx24123.c that
a check is made to not alter the status var when in one shot
mode, a simpler solution is to not update here for all cards.

Cc: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9915): cx24116: fix retune regression introduced in 70ee86a7c630
Darron Broad [Thu, 18 Dec 2008 09:27:23 +0000 (06:27 -0300)]
V4L/DVB (9915): cx24116: fix retune regression introduced in 70ee86a7c630

Thanks to AKPM for spotting this.

Cc: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9914): cx24116: bugfix: add missing delsys in FEC lookup
Darron Broad [Thu, 18 Dec 2008 09:21:51 +0000 (06:21 -0300)]
V4L/DVB (9914): cx24116: bugfix: add missing delsys in FEC lookup

Delsys was missing when searching for FEC in table.

This fixes FEC lookup for DVB-S2 QPSK modulation.

Cc: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9913): tuner-xc2028: allow printing stack trace as debug on sleep code
Mauro Carvalho Chehab [Thu, 18 Dec 2008 09:00:25 +0000 (06:00 -0300)]
V4L/DVB (9913): tuner-xc2028: allow printing stack trace as debug on sleep code

tuner-xc3028 can be put to sleep to save power. However, if not properly
recovered from sleep, the device won't work. It is noticed that some
devices doesn't recover properly, so let's add a dump_stack() as a debug
option, to allow us to track when this happens.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9912): em28xx: fix/improve em28xx locking schema
Mauro Carvalho Chehab [Wed, 17 Dec 2008 01:04:56 +0000 (22:04 -0300)]
V4L/DVB (9912): em28xx: fix/improve em28xx locking schema

Changes/fixes on em28xx dev->lock:

- em28xx_init_dev() were unlocking without a previous lock;

- some read ioctls need to lock after the removal of KBL, since a write
  may be happening at the same time an ioctl is reading;

- keep the device locked during all device initialization;

- lock/unlock while reading/writing registers.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9911): em28xx: vidioc_try_fmt_vid_cap() doesn't need any lock
Mauro Carvalho Chehab [Tue, 16 Dec 2008 23:36:13 +0000 (20:36 -0300)]
V4L/DVB (9911): em28xx: vidioc_try_fmt_vid_cap() doesn't need any lock

vidioc_try_fmt_vid_cap() just checks if a given resolution is supported.
It doesn't touch on struct em28xx device descriptor. so, there's no need
to lock.

While there, use unlikely() for those values that aren't likely to
occur.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9910): em28xx: move res_get locks to the caller routines
Mauro Carvalho Chehab [Tue, 16 Dec 2008 23:19:24 +0000 (20:19 -0300)]
V4L/DVB (9910): em28xx: move res_get locks to the caller routines

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9909): em28xx: move dev->lock from res_free to the caller routines
Mauro Carvalho Chehab [Tue, 16 Dec 2008 23:00:49 +0000 (20:00 -0300)]
V4L/DVB (9909): em28xx: move dev->lock from res_free to the caller routines

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9905): v4l2-compat32: add missing newline after kernel message
Hans Verkuil [Mon, 15 Dec 2008 10:19:20 +0000 (07:19 -0300)]
V4L/DVB (9905): v4l2-compat32: add missing newline after kernel message

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9904): v4l: fix compile warning.
Hans Verkuil [Mon, 15 Dec 2008 10:15:32 +0000 (07:15 -0300)]
V4L/DVB (9904): v4l: fix compile warning.

Fix (bogus) compile warning about uninitialized variable.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9903): uvcvideo: V4L2 zoom controls support
Laurent Pinchart [Tue, 16 Dec 2008 09:46:32 +0000 (06:46 -0300)]
V4L/DVB (9903): uvcvideo: V4L2 zoom controls support

Add support for absolute and continuous zoom controls (mapped to absolute
and relative UVC zoom controls).

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9902): uvcvideo: V4L2 privacy control support
Laurent Pinchart [Tue, 16 Dec 2008 09:44:11 +0000 (06:44 -0300)]
V4L/DVB (9902): uvcvideo: V4L2 privacy control support

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9899): v4l2: Add missing control names
Laurent Pinchart [Sun, 14 Dec 2008 19:24:04 +0000 (16:24 -0300)]
V4L/DVB (9899): v4l2: Add missing control names

Update v4l2_ctrl_get_name() and v4l2_ctrl_get_menu() with missing
control names and menu values.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9898): v4l2: Add privacy control
Laurent Pinchart [Sun, 14 Dec 2008 19:22:05 +0000 (16:22 -0300)]
V4L/DVB (9898): v4l2: Add privacy control

The privacy control prevents video from being acquired by the camera. A true
value indicates that no image can be captured. Devices that implement the
privacy control must support read access and may support write access.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9897): v4l2: Add camera zoom controls
Laurent Pinchart [Sun, 14 Dec 2008 19:21:16 +0000 (16:21 -0300)]
V4L/DVB (9897): v4l2: Add camera zoom controls

The zoom controls move the zoom lens group to a an absolute position, as a
relative displacement or at a given speed until reaching physical device
limits. Positive values move the zoom lens group towards the telephoto
direction, negative values towards the wide-angle direction.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9895): cx18: Refine the firmware load and firmware startup process
Andy Walls [Mon, 15 Dec 2008 00:26:25 +0000 (21:26 -0300)]
V4L/DVB (9895): cx18: Refine the firmware load and firmware startup process

Refine the firmware load and firmware startup process.  Significant changes
are to ensure the SCB and IPC area are correct before starting up the firmware,
and letting the CPU firmware start up the APU firmware for us.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9894): cx18: Use a known open task handle when setting stream CX2341x parameters
Andy Walls [Sun, 23 Nov 2008 22:16:44 +0000 (19:16 -0300)]
V4L/DVB (9894): cx18: Use a known open task handle when setting stream CX2341x parameters

cx18: Use a known open task handle when setting stream CX2341x parameters
Sometimes, we might only have VBI or YUV stream open instead of an MPEG stream.
Let's make sure we use a valid task handle to perform the CX2341x control
settings.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9893): cx18: Convert some list manipulations to emphasize entries not lists
Andy Walls [Mon, 15 Dec 2008 00:05:36 +0000 (21:05 -0300)]
V4L/DVB (9893): cx18: Convert some list manipulations to emphasize entries not lists

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9892): cx18: VBI comment corrections and comments about VBI issues
Andy Walls [Sun, 14 Dec 2008 22:21:35 +0000 (19:21 -0300)]
V4L/DVB (9892): cx18: VBI comment corrections and comments about VBI issues

VBI comment corrections to avoid future confusion about standards.
Comments on cx18 VBI implementation shortcomings that need resolution.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9891): cx18 Replace magic number 63 with CX18_MAX_FW_MDLS_PER_STREAM
Andy Walls [Sun, 14 Dec 2008 21:52:12 +0000 (18:52 -0300)]
V4L/DVB (9891): cx18 Replace magic number 63 with CX18_MAX_FW_MDLS_PER_STREAM

Removed magic number that referred to firmware limit on the number of
MDLs the firmware can maintain for any stream at any one time.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9889): CX24113: Fixed more typos
Patrick Boettcher [Sun, 14 Dec 2008 14:56:28 +0000 (11:56 -0300)]
V4L/DVB (9889): CX24113: Fixed more typos

Uwe Bugla pointed out that there are some more typos in some print-statements. Fixed.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9888): Patch: fix a typo in cx24113.c
Uwe Bugla [Sun, 14 Dec 2008 12:11:53 +0000 (09:11 -0300)]
V4L/DVB (9888): Patch: fix a typo in cx24113.c

This patch fixes a typo in cx24113.c.

Signed-off-by: Uwe Bugla <uwe.bugla@gmx.de>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9887): Minor fixes for cx24113-driver (codingstyle)
Patrick Boettcher [Sun, 14 Dec 2008 11:59:55 +0000 (08:59 -0300)]
V4L/DVB (9887): Minor fixes for cx24113-driver (codingstyle)

Fixed some minor coding style issues and some driver information
printed when using the driver on a board.

Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9884): gspca - ov534: Fix a warning when compilation without GSPCA_DEBUG.
Jean-Francois Moine [Sun, 14 Dec 2008 08:50:24 +0000 (05:50 -0300)]
V4L/DVB (9884): gspca - ov534: Fix a warning when compilation without GSPCA_DEBUG.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9883): gspca - ov534: Show sensor ID.
Antonio Ospite [Sun, 14 Dec 2008 08:48:07 +0000 (05:48 -0300)]
V4L/DVB (9883): gspca - ov534: Show sensor ID.

The original version of sccb_read_reg() is from Jim Paris.

NOTE: as it is now reading sensor ID won't work for sensors on different
i2c slave address.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9882): gspca - ov534: Fix typo.
Antonio Ospite [Sun, 14 Dec 2008 08:41:56 +0000 (05:41 -0300)]
V4L/DVB (9882): gspca - ov534: Fix typo.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9880): gspca - vc032x: Add V&H flips and sharpness controls for sensor po1200.
Jean-Francois Moine [Sat, 13 Dec 2008 10:45:34 +0000 (07:45 -0300)]
V4L/DVB (9880): gspca - vc032x: Add V&H flips and sharpness controls for sensor po1200.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9879): gspca - vc032x: Remove the unused quality/qindex.
Jean-Francois Moine [Fri, 12 Dec 2008 07:48:06 +0000 (04:48 -0300)]
V4L/DVB (9879): gspca - vc032x: Remove the unused quality/qindex.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9878): gspca - vc032x: Fix frame overflow errors with vc0321.
Hans de Goede [Thu, 11 Dec 2008 08:02:18 +0000 (05:02 -0300)]
V4L/DVB (9878): gspca - vc032x: Fix frame overflow errors with vc0321.

The vc0321 sends some additional data after sending the complete
frame, we ignore this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9877): gspca - ov534: Add framerate support.
Jim Paris [Wed, 10 Dec 2008 09:06:20 +0000 (06:06 -0300)]
V4L/DVB (9877): gspca - ov534: Add framerate support.

Add support for getting and setting framerate via v4l2 controls,
rather than setting a fixed value at module insertion.

Signed-off-by: Jim Paris <jim@jtan.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9876): gspca - main: Allow subdrivers to handle v4l2_streamparm requests.
Jim Paris [Wed, 10 Dec 2008 09:02:42 +0000 (06:02 -0300)]
V4L/DVB (9876): gspca - main: Allow subdrivers to handle v4l2_streamparm requests.

Add get_streamparm and set_streamparm operations so subdrivers can
get/set stream parameters such as framerate.

Signed-off-by: Jim Paris <jim@jtan.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9874): gspca - ov534: Explicitly initialize frame format.
Jim Paris [Wed, 10 Dec 2008 08:47:44 +0000 (05:47 -0300)]
V4L/DVB (9874): gspca - ov534: Explicitly initialize frame format.

Set frame format registers 0x0a and 0x0b to explicit values
rather than relying on reset-time defaults.

Signed-off-by: Jim Paris <jim@jtan.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9873): gspca - ov534: Improve payload handling.
Jim Paris [Wed, 10 Dec 2008 08:45:14 +0000 (05:45 -0300)]
V4L/DVB (9873): gspca - ov534: Improve payload handling.

Frame data in bulk transfers is separated into 2048-byte payloads.
Each payload has its own header.

Signed-off-by: Jim Paris <jim@jtan.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9871): gspca - vc032x: Bad detection of sensor mi0360.
Jean-Francois Moine [Wed, 10 Dec 2008 08:13:05 +0000 (05:13 -0300)]
V4L/DVB (9871): gspca - vc032x: Bad detection of sensor mi0360.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9870): gspca - vc032x: Webcam 15b8:6002 and sensor po1200 added.
Jean-Francois Moine [Wed, 10 Dec 2008 08:06:13 +0000 (05:06 -0300)]
V4L/DVB (9870): gspca - vc032x: Webcam 15b8:6002 and sensor po1200 added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9869): gspca - zc3xx: Change the USB exchanges for the sensor pas202b.
Jean-Francois Moine [Mon, 8 Dec 2008 09:41:04 +0000 (06:41 -0300)]
V4L/DVB (9869): gspca - zc3xx: Change the USB exchanges for the sensor pas202b.

This sensor was declared as hdcs2020.
The new exchanges have been extracted from the ms-win file usbvm31b.inf.
The light frequency control has been added.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9868): gspca - zc3xx: Remove the duplicated register names
Jean-Francois Moine [Mon, 8 Dec 2008 09:25:40 +0000 (06:25 -0300)]
V4L/DVB (9868): gspca - zc3xx: Remove the duplicated register names

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9867): gspca - vc032x: Remove the autogain control.
Jean-Francois Moine [Mon, 8 Dec 2008 08:17:32 +0000 (05:17 -0300)]
V4L/DVB (9867): gspca - vc032x: Remove the autogain control.

This control was not coded.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9866): gspca - vc032x: V and H flips added for sensors ov7660 and 7670.
Jean-Francois Moine [Mon, 8 Dec 2008 08:13:53 +0000 (05:13 -0300)]
V4L/DVB (9866): gspca - vc032x: V and H flips added for sensors ov7660 and 7670.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9865): gspca - vc032x: Bad check of the sensor mi0360.
Jean-Francois Moine [Mon, 8 Dec 2008 07:48:21 +0000 (04:48 -0300)]
V4L/DVB (9865): gspca - vc032x: Bad check of the sensor mi0360.

Error was due to bad variable names.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9864): gspca - ov519: Change copyright information.
Romain Beauxis [Fri, 5 Dec 2008 09:25:26 +0000 (06:25 -0300)]
V4L/DVB (9864): gspca - ov519: Change copyright information.

Signed-off-by: Romain Beauxis <toots@rastageeks.org>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9863): gspca - sonixj: Cleanup / simplify code.
Jean-Francois Moine [Fri, 5 Dec 2008 09:18:37 +0000 (06:18 -0300)]
V4L/DVB (9863): gspca - sonixj: Cleanup / simplify code.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9861): gspca - ov534: Accept many simultaneous webcams.
Jean-Francois Moine [Thu, 4 Dec 2008 08:06:08 +0000 (05:06 -0300)]
V4L/DVB (9861): gspca - ov534: Accept many simultaneous webcams.

This patch moves the last fid and pts from static to the sd structure.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9860): gspca - ov534: Frame transfer improvements.
Jim Paris [Thu, 4 Dec 2008 07:52:40 +0000 (04:52 -0300)]
V4L/DVB (9860): gspca - ov534: Frame transfer improvements.

The indirect registers at 0x1c/0x1d control frame settings.  If we
leave the values at 0x0a and 0x0b at their reset-time defaults, frame
data from the camera matches the UVC payload format.  This lets us
better reassemble the data into frames and know when data was lost.

This also lets us relax the bulk_size requirement from 600K to 2K,
which should help systems on with limited RAM (like the PS3).

Signed-off-by: Jim Paris <jim@jtan.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9859): gspca - ov534: Fix frame size so we don't miss the last pixel.
Jim Paris [Thu, 4 Dec 2008 07:36:14 +0000 (04:36 -0300)]
V4L/DVB (9859): gspca - ov534: Fix frame size so we don't miss the last pixel.

The frame size is too small, so we lose the last YUYV pixel.
Fix the setup and remove the last_pixel hack.

Signed-off-by: Jim Paris <jim@jtan.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9858): gspca - ov534: Initialization cleanup.
Jim Paris [Thu, 4 Dec 2008 07:28:27 +0000 (04:28 -0300)]
V4L/DVB (9858): gspca - ov534: Initialization cleanup.

Signed-off-by: Jim Paris <jim@jtan.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9857): gspca: Use smaller chunks for urb buffer in ov534.
Antonio Ospite [Wed, 3 Dec 2008 19:21:08 +0000 (16:21 -0300)]
V4L/DVB (9857): gspca: Use smaller chunks for urb buffer in ov534.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9856): gspca: Use u8 values for USB control messages in ov534.
Antonio Ospite [Wed, 3 Dec 2008 17:10:01 +0000 (14:10 -0300)]
V4L/DVB (9856): gspca: Use u8 values for USB control messages in ov534.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9855): gspca: Simplify frame rate setting and debug in ov534.
Antonio Ospite [Wed, 3 Dec 2008 17:01:54 +0000 (14:01 -0300)]
V4L/DVB (9855): gspca: Simplify frame rate setting and debug in ov534.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9854): gspca: Add the webcam 0c45:60fe in the gspca documentation.
Jean-Francois Moine [Wed, 3 Dec 2008 10:29:26 +0000 (07:29 -0300)]
V4L/DVB (9854): gspca: Add the webcam 0c45:60fe in the gspca documentation.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9853): gspca: Webcam 093a:2622 added in pac7311.
Jean-Francois Moine [Wed, 3 Dec 2008 10:19:22 +0000 (07:19 -0300)]
V4L/DVB (9853): gspca: Webcam 093a:2622 added in pac7311.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9852): gspca: Fix image problem at low resolutions with ov7660 in sonixj.
Jean-Francois Moine [Tue, 2 Dec 2008 18:00:57 +0000 (15:00 -0300)]
V4L/DVB (9852): gspca: Fix image problem at low resolutions with ov7660 in sonixj.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoV4L/DVB (9850): gspca: Bad color control in sonixj.
Jean-Francois Moine [Tue, 2 Dec 2008 09:58:57 +0000 (06:58 -0300)]
V4L/DVB (9850): gspca: Bad color control in sonixj.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>