aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * V4L/DVB (4599): Adds Compro PS39U USB ID to Vicam driverBas Bloemsaat2006-09-261-0/+4
| | | | | | | | | | | | | | | | | | | | Trivial patch to make Compro PS39U WebCam work with linux by using the vicam driver. The camera is just a vicam with another USB ID, so I added that ID to the driver, and it works now. Signed-off-by: Bas Bloemsaat <bas.bloemsaat@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4598): Fix a typo: VRES, instead o HRESMauro Carvalho Chehab2006-09-261-4/+4
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4597): Improve resolution limit enforcements in pvrusb2Mike Isely2006-09-261-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | The pvrusb2 driver resolution limits are now programmed the following way, based on empirical measurements of the hardware: Vertical max: 480 for NTSC, 576 otherwise Vertical min: 75 for 24xxx, 17 otherwise Horizontal max: 720 Horizontal min: 720 for 24xxx, 19 otherwise Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4596): Fix saa7115 miscalculation that breaks NTSCMike Isely2006-09-261-1/+1
| | | | | | | | | | | | | | | | This repairs a problem introduced by a commit earlier applied. Thanks-to: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4595): Remove CONFIG_VIDEO_PVRUSB2_24XXX from pvrusb2 driverMike Isely2006-09-264-28/+0
| | | | | | | | | | | | | | | | | | | | Support for 24xxx devices was previously explicitly bracketed with CONFIG_VIDEO_PVRUSB2_24XXX inside the code because we didn't trust the stability of these changes. We trust it now; so there's no reason to leave this out of the driver anymore. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4594): Remove some dead data elements from pvrusb2 driverMike Isely2006-09-261-2/+0
| | | | | | | | | | Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4592): Fixes some troubles on saa7115Mauro Carvalho Chehab2006-09-261-147/+141
| | | | | | | | | | | | | | | | | | | | | | | | Scaling were not working fine; Some reserved registers were wrong; On some situations, saa7115 were not properly being initializated. Removed some duplicated code. Thanks-to: Hans Verkuil <hverkuil@xs4all.nl> for co-working on this patch. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4586): Code were preventing saa7111 and saa7118 to workMauro Carvalho Chehab2006-09-261-5/+1
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4585): VIDIOC_G_SLICED_VBI_CAP now accepts a v4l2_buf_type, make it ↵Hans Verkuil2006-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | IOWR The VIDIOC_G_SLICED_VBI_CAP needs to receive the v4l2_buf_type field before it can return a result. Hence this ioctl must be IOWR, not IOR. Since this ioctl is still marked experimental we can make this change. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4584): Fix VIDIOC_S_FMT min/max check in pvrusb2Hans Verkuil2006-09-261-7/+7
| | | | | | | | | | | | Acked-by: Mike Isely <isely@pobox.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4582): VIDIOC_INT_S_REGISTER is IOW, not IOR.Hans Verkuil2006-09-261-1/+1
| | | | | | | | | | Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4573): Fix: There were some missing breaks at register check routineMauro Carvalho Chehab2006-09-261-1/+6
| | | | | | | | | | | | Without the breaks, saa7115 were not initializing PLL2. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4565): Fix scaling calculusMauro Carvalho Chehab2006-09-261-12/+4
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4561): Sync'ing dvb-usb-remote with changes in USB input subsystemUnai Uribarri2006-09-261-1/+4
| | | | | | | | | | | | | | | | | | | | This patch fixes the physical address and takes into account recent changes in the USB input subsystem. Acked-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Unai Uribarri <unaiur@gmail.com> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4556): Fix a typo.Mauro Carvalho Chehab2006-09-261-2/+2
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4555): Cleanup: removed hardcoded tablesMauro Carvalho Chehab2006-09-261-157/+79
| | | | | | | | | | | | | | saa7115 module is capable of calculating the proper FIR tables. However, there were 4 hardcoded tables for the standard resolution. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4554): Renamed several common structs/functions to saa711x instead ↵Mauro Carvalho Chehab2006-09-261-141/+141
| | | | | | | | | | | | of saa7115 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4553): Add support for saa7111 and partial support for saa7118Mauro Carvalho Chehab2006-09-262-66/+195
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4551): Added register aliases for saa711x registers, instead of ↵Mauro Carvalho Chehab2006-09-262-342/+1000
| | | | | | | | | | | | using reg numbers Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4550): Make saa7115 to report the complete chipset nameMauro Carvalho Chehab2006-09-261-1/+11
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4548): Better temporal filter handling.Hans Verkuil2006-09-261-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4547): Add YUV HM12 and VBI IVTV format documentation.Hans Verkuil2006-09-262-0/+161
| | | | | | | | | | | | | | | | | | 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4546): Add u32 argument to VIDIOC_INT_RESET.Hans Verkuil2006-09-264-4/+6
| | | | | | | | | | | | | | | | The extra argument makes it possible to reset subsystems of a chip if that is supported. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4545): Add missing v4l2_buf_type to struct v4l2_sliced_vbi_cap.Hans Verkuil2006-09-261-1/+2
| | | | | | | | | | Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4533): Tda9887: add configuration setting for L standard PLL gatingTrent Piepho2006-09-265-0/+9
| | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4532): Isl6421: Release callback installed incorrectlyTrent Piepho2006-09-261-1/+1
| | | | | | | | | | | | | | | | | | 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4530): Another fix for the PID parsingPatrick Boettcher2006-09-261-3/+2
| | | | | | | | | | | | | | Still the pid_parse bit was erased. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4529): Keep the PID parse bit when resetting the output modePatrick Boettcher2006-09-261-3/+4
| | | | | | | | | | | | | | | | | | 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4528): PATCH: Club 3D zap250miniJochen Issing2006-09-262-2/+4
| | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4525): Drivers/media/dvb/dvb-usb/dibusb-mb.c: NULL dereferenceAdrian Bunk2006-09-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4523): Fix a warning caused by a typo (comma instead of dot-comma)Mauro Carvalho Chehab2006-09-261-1/+1
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4519): Fixes Helper module dependencies against V4L APIsMauro Carvalho Chehab2006-09-262-319/+332
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4568): Added missing KS0197 Kconfig itemMauro Carvalho Chehab2006-09-262-0/+13
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4518): Allow manually selecting the proper helper driversMauro Carvalho Chehab2006-09-264-10/+180
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * V4L/DVB (4516): Split audio/video encoders/decoders from main driversMauro Carvalho Chehab2006-09-262-23/+31
| | | | | | | | | | | | | | | | | | 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>
| * V4L/DVB (4515): Fixed module name, since it is, in fact, a decoder.Mauro Carvalho Chehab2006-09-261-1/+1
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4514): Add some comments for Kconfig encoders/decoders itensMauro Carvalho Chehab2006-09-261-8/+16
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4513): Split audio decoders from bttvMauro Carvalho Chehab2006-09-263-1/+35
| | | | | | | | | | | | | | | | 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>
| * V4L/DVB (4512): Ks0127: wire up i2c_add_driver() return valueAlexey Dobriyan2006-09-261-2/+1
| | | | | | | | | | | | 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>
| * V4L/DVB (4510): Fix signedness error in drivers/media/video/vivi.cEric Sesterhenn2006-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * V4L/DVB (4509): Added missing copyrightMauro Carvalho Chehab2006-09-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | Several changes at register stuff were done since commit b45009b0288a96a3458f4f8e93cb776678d41875, but I've forgot to add the copyright line for this. Those changes allowed cx88 to have multiple tuners, allowing it to support hardware with separated radio and video tuners. It also allows binding a tuner to an specific i2c address. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4508): Fix an array overflow on bt866Mauro Carvalho Chehab2006-09-261-1/+1
| | | | | | | | | | | | | | | | 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. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4507): Make tvp5150 an independent Kconfig itemMauro Carvalho Chehab2006-09-263-1/+11
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4506): TVP5150 routing logic were broken.Mauro Carvalho Chehab2006-09-261-1/+6
| | | | | | | | | | | | | | As pointed by The Coverity checker, commit c7c0b34c27bbf0671807e902fbfea6270c8f138d broked input selection. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4504): Enable audio DMA restart on channel change even when ↵Ricardo Cerqueira2006-09-262-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | cx88-alsa is compiled 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4501): Add support for knc one dvb-s plus with 1894:0011Christoph Pfister2006-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | 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. Successfully tested by: Benjamin Weber <benny1990@gmail.com> Signed-off-by: Christoph Pfister <christophpfister@gmail.com> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4500): Fix KNC1 DVBC supportAndrew de Quincey2006-09-261-9/+0
| | | | | | | | | | | | | | | | 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4499): CONFIG_PM=n slim: drivers/media/video/*Alexey Dobriyan2006-09-264-1/+14
| | | | | | | | | | | | 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>
| * V4L/DVB (4498): Offset parameter permission were 0x666, instead of 0x664Mauro Carvalho Chehab2006-09-261-1/+1
| | | | | | | | | | | | | | 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>
| * V4L/DVB (4497): Reset USB part of DViCO Dual Digital during PCI driver attachChris Pascoe2006-09-261-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>