summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-08-28Added register aliases for saa711x registers, instead of using reg numbersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-28Make saa7115 to report the complete chipset nameMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-28merge: http://linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-27Sync'ing dvb-usb-remote with changes in USB input subsystemTrent Piepho
From: Unai Uribarri <unaiur@gmail.com> This patch fixes the physical address and takes into account recent changes in the USB input subsystem. Signed-off-by: Unai Uribarri <unaiur@gmail.com> Acked-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-27Add compat code for usb_to_input_id() which appeared in 2.6.13Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Put static inline usb_to_input_id() inside compat.h for pre 2.6.13. This needs linux/usb.h to be included first! Drivers that need linux/usb_input.h compatibility must include linux/usb.h before they include compat.h. There is just no way around it. linux/usb.h cannot be unconditionally included in compat.h because that will break other, non-usb, drivers. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-28Better temporal filter handling.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Adjust temporal filter if necessary. The problem with the temporal filter is that it works well with full resolution capturing, but not when the capture window is scaled (the filter introduces a ghosting effect). So if the capture window changed, and there is no updated filter value, then the filter is set depending on whether the new window is full resolution or not. For full resolution a setting of 8 really improves the video quality, especially if the original video quality is suboptimal. Also report VBI Format in VIDIOC_LOG_STATUS, it was missing. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-08-26Add YUV HM12 and VBI IVTV format documentation.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> README.hm12: documentation on the HM12 YUV format used by the cx23415/6 chip. README.vbi: documentation on the V4L2_MPEG_STREAM_VBI_FMT_IVTV VBI format used in MPEG streams. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-08-26Add u32 argument to VIDIOC_INT_RESET.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The extra argument makes it possible to reset subsystems of a chip if that is supported. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-08-26Add missing v4l2_buf_type to struct v4l2_sliced_vbi_cap.Hans Verkuil
2006-08-25merge: http://linuxtv.org/hg/~hverkuil/v4l2-appsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-25Bug fix (-C didn't work).Hans Verkuil
Lots of new options for VIDIOC_S/G_FMT and other ioctls.
2006-08-24Add new script, check_config_defines.plTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> This script will check source files against the v4l-dvb and kernel Kconfig files, to make sure that all CONFIG_XXX defines mentioned in the source files have corresponding config options in the Kconfig files. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-24tda9887: add configuration setting for L standard PLL gatingTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Add a tuner config parameter for TDA9887, default_pll_gating_18, that changes the L standard PLL gating value from 36% to 0% (datasheet says 0%, tda9887 code says 18%). Turn this on for Microtune 4049FM5, as recomended by tuner datasheet. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-24isl6421: Release callback installed incorrectlyTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The release callback was installed in ops.release, it should have been ops.release_sec. This prevented to front-end release from getting called. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-08-23merge: http://linuxtv.org/hg/~pb/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-23Fix a warning caused by a typo (comma instead of dot-comma)Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-23"select" Kconfig were wrongly being processedMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-23Make easier to debug: just uncommenting my $debug=1Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-23Fix an error when loading bttv driver on PV M4900.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Previously, this were reported: Ooops: IR config error [card=139] Thanks-to: Hermann Pitton <hermann-pitton@arcor.de> for the solution. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-23Fixes Helper module dependencies against V4L APIsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Allow manually selecting the proper helper driversMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> There are several boards on V4L that can work with several different helper modules for audio/video encoding/decoding and similar stuff. This patch adds the capability of choicing between autoselecting the pertinent helper modules for each driver, or to manually selecting them. Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Improved descriptions of audio chipsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Also, saa7185 were at wrong place. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Split audio/video encoders/decoders from main driversMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Several audio/video encoders/decoders were just bound as if they were part of the core driver. In fact, they are generic enough to be used by other drivers as well, since they use I2C event bus to communicate. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Fixed module name, since it is, in fact, a decoder.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Add some comments for Kconfig encoders/decoders itensMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22Separe audio decoders from bttvMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Several audio decoders were just bound as if they were part of bttv driver. In fact, they are generic enough to be used by other drivers as well, since they use I2C event bus to communicate. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-22ks0127: wire up i2c_add_driver() return valueMauro Carvalho Chehab
From: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-21Restore tuner_ymec_tvf66t5_b_dff_pal_ranges[] to fix UHF switch functionalityMichael Krufky
From: Hermann Pitton <hermann-pitton@arcor.de> The tena_9533_di_pal_ranges use 0x04 instead the original 0x08 for the UHF (range 2) switching. This is wrong and therefore nothing happens. Restore tuner_ymec_tvf66t5_b_dff_pal_ranges[] to make the UHF switch working again. Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-08-21Fix signedness error in drivers/media/video/vivi.cMauro Carvalho Chehab
From: Eric Sesterhenn <snakebyte@gmx.de> when checking the -Wextra signedness warnings issued by gcc 4.1 I came across this one: drivers/media/video/vivi.c:1001: warning: comparison of unsigned expression < 0 is always false Since videobuf_reqbufs() returns negative values on errors the current code does no real error checking since gcc removes the comparison. This patch fixes this issue by making ret a normal, signed integer. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-21Added missing copyrightMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Several changes at register stuff were done since commit b45009b0288a96a3458f4f8e93cb776678d41875, but I've forgot to add the copyright line for this. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-21Another fix for the PID parsingPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Still the pid_parse bit was erased. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-19Keep the PID parse bit when resetting the output modePatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Matthieu Castet found that with the rewritten dib3000mc-driver the PID-parsing was handled correctly. This changeset fixes it. Thanks Matthieu Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-19PATCH: Club 3D zap250miniPatrick Boettcher
From: Jochen Issing <jochen@isign-softart.de> After some structural changes, here comes the updated patch for the Club 3D zap250mini USB dvb device. Adding support for a WideView-based device with a different "COLD" ID. Signed-off-by: Jochen Issing <jochen.issing@isign-softart.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-19merge from mainPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> merge from main Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-18Fix an array overflow on bt866Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The Coverity checker spotted the following two array overflows. Registers 0xcc and 0xdc were cached on reg[] array, with only 128 elements, instead of 256. Thanks-to: Adrian Bunk <bunk@stusta.de> for pointing this CC: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-18Make tvp5150 an independent Kconfig itemMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-18TVP5150 routing logic were broken.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> As pointed by The Coverity checker, commit c7c0b34c27bbf0671807e902fbfea6270c8f138d broked input selection. Thanks-to: Adrian Bunk <bunk@stusta.de> for pointing this CC: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-18merge: http://linuxtv.org/hg/~rmcc/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-17Enable audio DMA restart on channel change even when cx88-alsa is compiledRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> cx88-alsa can be compiled in (in distro built kernels, for example), but not used. In those cases, the audio DMA restart is needed for proper sound on NICAM channels. This patch enables the DMA restart even with ALSA, but the functions now check if cx88-alsa is really active. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-08-17Avoid warning about quilt dirs.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-15merge from mainPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> merge from main Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-15drivers/media/dvb/dvb-usb/dibusb-mb.c: NULL dereferencePatrick Boettcher
From: Adrian Bunk <bunk@stusta.de> The Coverity checker spotted the following "we dereference d->fe only when we know it's NULL" bug: <-- snip --> ... static int dibusb_dib3000mb_frontend_attach(struct dvb_usb_device *d) { ... if ((d->fe = dib3000mb_attach(&demod_cfg,&d->i2c_adap,&st->ops)) == NULL) { d->fe->ops.tuner_ops.init = dvb_usb_tuner_init_i2c; d->fe->ops.tuner_ops.set_params = dvb_usb_tuner_set_params_i2c; return -ENODEV; } ... <-- snip --> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-08-13merge: http://linuxtv.org/hg/~quincy/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-12CONFIG_PM=n slim: drivers/media/video/*Mauro Carvalho Chehab
From: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-12Offset parameter permission were 0x666, instead of 0x664Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Although not dangerous, it may allow a normal user with access to a machine to untune a TV channel. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-08-12add support for knc one dvb-s plus with 1894:0011Andrew de Quincey
From: Christoph Pfister <christophpfister@gmail.com> Apparently there are two types of knc1 dvb-s plus cards with different tuners (as for the knc1 dvb-s ones). This patch adds support for those cards with subsystem id 1894:0011. Signed-off-by: Christoph Pfister <christophpfister@gmail.com> Successfully tested by: Benjamin Weber <benny1990@gmail.com> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-12Fix KNC1 DVBC supportAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> This actually needs the same configuration as the other DVBC cards; simply no one had managed to test before to find out. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-08-10Reset USB part of DViCO Dual Digital during PCI driver attachChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> If the FX2 does not reset properly during reboot, it can present an invalid USB device ID and fail to attach. Prevent this situation from occuring by resetting the USB part of the card when the PCI part probes. Also fix the GPIO configurations so that analog capture will not inadvertantly reset the USB part. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-08-10Tuning tweaks for ZL10353Chris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> More register setup which improves the ZL10353's tuning characteristics. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-08-10Fix "no data from ZL10353 based USB tuner" problemChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Force parallel transport stream output on the ZL10353 attached to a bluebird device. Addresses the problem where a frontend lock was observed, but no MPEG transport data was received. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>