27 Feb, 2010
40 commits
-
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (362 commits)
V4L-DVB: cx88-dvb: remove extra attribution for core
V4L/DVB: v4l: soc_camera: fix bound checking of mbus_fmt[] index
V4L/DVB: Add support for SMT7020 to cx88
V4L/DVB: radio-si470x: Use UTF-8 encoding on a comment
V4L/DVB: MAINTAINERS: Telegent tlg2300 section fix
V4L/DVB: gspca_stv06xx: Add support for camera button
V4L/DVB: gspca_ov519: add support for the button on ov511 based cams
V4L/DVB: gspca_ov519: Add support for the button on ov518 based cams
V4L/DVB: gspca_ov519: add support for the button on ov519 based cams
V4L/DVB: gspca_main: Fix a compile error when CONFIG_INPUT is not set
V4L/DVB: gspca_main: some input error handling fixes
V4L/DVB: gspca_main: Allow use of input device creation code for non int. inputs
V4L/DVB: gspca_pac7302: much improved exposure control
V4L/DVB: gspca_sonixb: Make sonixb driver handle pas106 and pas202 cameras
V4L/DVB: gspca_sonixb: pas106: fixup bright ctrl and add gain and exposure ctrls
V4L/DVB: Documentation: gspca.txt: update known mr97310a cams
V4L/DVB: gspca_mr97310a: add support for the Sakar 1638x CyberPix
V4L/DVB: gscpa_sonixb: limit ov7630 max framerate at 640x480
V4L/DVB: gspca_sonixb: pas202: fixup brightness ctrl and add gain and exposure ctrls
V4L/DVB: gscpa_sonixb: Differentiate between sensors with a coarse and fine expo ctrl
... -
ULE (Unidirectional Lightweight Encapsulation RFC 4326) decapsulation
has a bug that causes endless loop when Payload Pointer of MPEG2-TS
frame is 182 or 183. Anyone who sends malicious MPEG2-TS frame will
cause the receiver of ULE SNDU to go into endless loop.This patch was generated and tested against linux-2.6.32.9 and should
apply cleanly to linux-2.6.33 as well because there was only one typo
fix to dvb_net.c since v2.6.32.This bug was brought to you by modern day Santa Claus who decided to
shower the satellite dish at Keio University with heavy snow causing
huge burst of errors. We, receiver end, received Santa Claus's gift in
the form of kernel bug.Care has been taken not to introduce more bug by fixing this bug, but
please scrutinize the code for I always produces buggy code.Signed-off-by: Ang Way Chuang
Acked-by: Mauro Carvalho Chehab
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds -
This is not needed, since the function already do it. Also, it causes
a warning at the compilation, since a new var is declared in the middle
of the code.Signed-off-by: Mauro Carvalho Chehab
-
When code < 0. Fix this.
Signed-off-by: Baruch Siach
Signed-off-by: Guennadi Liakhovetski
CC: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab -
This patch adds support for the built-in dvb device
of a Samsung SMT7020s (x86 based STB) to the cx88 family.Signed-off-by: Dirk Herrendoerfer
Signed-off-by: Helmut Auer
Signed-off-by: Mauro Carvalho Chehab -
This cosmetic patch corrects a wrong unicode "micro" character in a comment.
Signed-off-by: Tobias Lorenz
Signed-off-by: Mauro Carvalho Chehab -
Only tested with an stv6422 based cam, as that is the only stv06xx cam
I have with a button.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Due to hardware limitations this only works while the camera is
streaming.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Due to hardware limitations this only works while the camera is
streaming.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Note due to hardware limitiations (no interrupt endpoint), this only works
when the camera is streaming.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
gspca_main: Fix a compile error when CONFIG_INPUT is not set.
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
2 small changes to input device error handling:
1) Make it fatal when we fail to create an input device (it is either this
or add checks for gspca_dev->input_dev being NULL in a lot of places)
2) Since we allow gspca_input_create_urb() to fail everywhere we call it,
and thus never check its return value, make it void.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Allow use of the gspca core input device creation code by subdrivers which
have non interrupt driven camera buttons.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
My experience with fixing up the controls for the PAS sensors in
sonixb, has lead me to re-investigate the exposure control for the
pac7302. I've now found a regular exposure register in register bank 3
(which seems to be the sensor registers bank), and with this added a proper
fine grained exposure control. This patch also updates the do_autogain
function to work properly with this new finer grained control.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Make the sonixb driver handle pas106 and pas202 cameras, when both it
and the sn9c102 driver are enabled in the kernel configuration.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Fixup brightness ctrl and add gain and exposure ctrls for PAS106B sensors,
this allows enabling autogain (done), and makes the cam usable in low light
conditions.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
This camera has a sensor type we did not support sofar, this patch adds
support for the new sensor type found in the Sakar 1638x CyberPix.Signed-off-by: Theodore Kilgore
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
In 640x480, if the reg11 has less than 4, the image is
unstable (the bridge goes into a higher compression mode
which we have not reverse engineered yet).Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Fixup brightness ctrl and add gain and exposure ctrls for PAS202BCB sensors,
this allows enabling autogain (done), and makes the cam usable in low light
conditions.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Some sensors only allow controlling the exposure by changing the clockdiv,
which means that exposure takes pretty large jumps (for example when going
from a div of 1 to 2, the exposure doubles). Use 2 different entries in
the controls array for these 2 different types of exposure (always
disabling one), and;Add a new autogain algorithm for the coarse exposure case, which normally
changes the gain setting, only touching the exposure setting if the desired
luminance cannot be reached with gain, and after an exposure change once more
first tries gain, etc. Thus avoiding exposure changes, and the resulting
oscilation because of the huge steps these exposure controls take.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Leave bridge gain at 1.0 when we have a sensor gain, while at it also
change the bridge gain setting code to write both registers in one go
saving us a usb transaction.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
gspca_sonixj: Add camera button support
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
gspca_sonixb: Add support for camera button
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
gscpa_zc3xx: Add support for camera button
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
gscpa_pac7311: Add support for camera button
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
gscpa_pac207: Add support for camera button
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
gspca_sq905c: Add an additional USB-ID
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Simplify sensor detection a bit (share more of the code between cif and vga
cameras). Also remove an unnecessary write from zero_the_pointer().Signed-off-by: Theodore Kilgore
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Based on experiments by Eric Wescott, edit the Sony GigaPocket (Kikyou)
card entry video and audio mux settings.Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab -
This is a slightly modified version of Eric Anderson's original patch
for the Sony Giga Pocket board. It has been updated to apply to the
latest ivtv driver version by Hans Verkuil and
Andy Walls . Also Andy Walls modified the patch to
use a new Sony BTF-Pnx01Z tuner entry based on Eric Anderson's experimental
findings for the bandswitch.>From Eric Anderson's original email:
1. The tuner on the card doesn't seem to match any standard
ones. I modified an existing tuner entry. Ideally a new tuner
entry should be created. (The only difference from the one I
modified is that the low-to-mid range frequency cut-off is
slightly different, as are the bit config settings.)2. It wasn't obvious how to choose a second audio input other
than using "radio" as an option. Basically there's two GPIO
audio inputs. Using radio allowed me to avoid major restructuring
to the code. (perhaps other cards don't have this often...)3. It's not clear that there's a mute setting that works. Not
sure why.4. I haven't had a chance to test the two Svideo inputs. I set
them to COMPOSITE1 and SVIDEO2, but I'm not sure those are the
correct settings. The standard composite video inputs seem to work.Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab -
Sony makes custome tuners for its GigaPocket line of ivtv based capture
cards. This adds an entry to the tuner-types list for such tuners.
Parameters are based on experiments by Eric Anderson .Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab -
ivtv_api_get_data() was performing more PCI MMIO than needed, resulting
often in it accounting for more than half the total time spent in
ivtv_irq_handler(). Now it only reads at most 7 of the 16 mailbox data words
over the PCI bus, and in some instances only 2 or 3 data words as needed.Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab -
Adding Makefile and Kconfig for ISIF driver
Reviewed-by: Hans Verkuil
Reviewed-by: Sergei Shtylyov
Signed-off-by: Hans Verkuil
Signed-off-by: Murali Karicheri
Signed-off-by: Mauro Carvalho Chehab -
Enhancements to support DM365 ISP5 and VPSS module configuration.
Also cleaned up the driver by removing redundant variables.Reviewed-by: Hans Verkuil
Signed-off-by: Hans Verkuil
Signed-off-by: Murali Karicheri
Signed-off-by: Mauro Carvalho Chehab -
This is the source file for ISIF driver on DM365. ISIF driver is equivalent
to CCDC driver on DM355 and DM644x. This driver is tested for YUV capture from
TVP514x driver. This patch contains the header files required for this driver.Reviewed-by: Nori, Sekhar
Reviewed-by: Hans Verkuil
Signed-off-by: Hans Verkuil
Signed-off-by: Murali Karicheri
Signed-off-by: Mauro Carvalho Chehab -
This is the header file for ISIF driver on DM365. ISIF driver is equivalent
to CCDC driver on DM355 and DM644x. This driver is tested for
YUV capture from TVP514x driver. This patch contains the header files required
for this driver.Reviewed-by: Nori, Sekhar
Reviewed-by: Hans Verkuil
Signed-off-by: Hans Verkuil
Signed-off-by: Murali Karicheri
Signed-off-by: Mauro Carvalho Chehab -
We know that the 300msec settling time after starting the digitizer is
only really needed when the digitizer is a SAA7115. So if we're not
using a SAA7115, skip the delay.Signed-off-by: Mike Isely
Signed-off-by: Mauro Carvalho Chehab -
After implementing a 300msec wait between digitizer start and encoder
start, it has been determined that we don't need to wait quite as long
before configuring the encoder. This reduces the wait period from
100msec back to 50msec.Signed-off-by: Mike Isely
Signed-off-by: Mauro Carvalho Chehab -
Martin Dauskardt has determined that the
encoder has a much better chance of starting cleanly if we
deliberately hold off starting it util the video digitizer has had a
chance to run for at least 300msec first. These changes implement an
enforced 300msec wait in the state machine that orchestrates streaming
start / stop.Signed-off-by: Mike Isely
Signed-off-by: Mauro Carvalho Chehab