aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
Commit message (Collapse)AuthorAge
* Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvbLinus Torvalds2006-09-30
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (180 commits) V4L/DVB (4641): Trivial: use lowercase letters in hex subsystem ids V4L/DVB (4639): Cx88: add autodetection for alternate revision of Leadtek PVR V4L/DVB (4638): Basic DVB-T and analog TV support for the HVR1300. V4L/DVB (4637): Add a default method for VIDIOC_G_PARM V4L/DVB (4635): Extend bttv and saa7134 to check for both AGP and PCI PCI failure case V4L/DVB (4634): Zr36120: implement pcipci checks V4L/DVB (4632): Zoran: Implement pcipci failure check V4L/DVB (4631): Av7110: remove V4L2_CAP_VBI_CAPTURE flag V4L/DVB (4630): Av7110: FW_LOADER depemdency fixed V4L/DVB (4629): Saa7134: add card support for Proteus Pro 2309 V4L/DVB (4628): Fix VIDIOC_ENUMSTD ioctl in videodev.c V4L/DVB (4627): Vivi crashes with mplayer V4L/DVB (4626): On saa7111/7113, LUMA_CTRL need a different value V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run() V4L/DVB (4622): Copy-paste bug in videodev.c V4L/DVB (4620): Fix AGC configuration for MOD3000P-based boards V4L/DVB (4619): Fixes some I2C dependencies on V4L devices V4L/DVB (4617): Problem with dibusb-mb.c USB IDs V4L/DVB (4616): [PATCH] Nebula DigiTV USB RC support V4L/DVB (4614): Export symbol saa7134_tvaudio_setmute from saa7134 for saa7134-alsa ...
| * V4L/DVB (4641): Trivial: use lowercase letters in hex subsystem idsMichael Krufky2006-09-26
| | | | | | | | | | Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4639): Cx88: add autodetection for alternate revision of Leadtek PVRMichael Krufky2006-09-26
| | | | | | | | | | | | | | | | Add autodetection for PCI subsystem ID 107d:6632, to detect as a Leadtek PVR 2000 Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4638): Basic DVB-T and analog TV support for the HVR1300.Steven Toth2006-09-26
| | | | | | | | | | | | | | | | | | | | This is the first in a series of patches to add full WinTV-HVR1300 support to Linux. This first patch will enable analog TV support and DVB-T support. Later patches will add the hardware MPEG encoder support. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4637): Add a default method for VIDIOC_G_PARMMauro Carvalho Chehab2006-09-26
| | | | | | | | | | | | | | | | For most drivers, VIDIOC_G_PARM will just return the current standard fps. So, instead of failing, drivers based on video_ioctl2 will implement the default method. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4635): Extend bttv and saa7134 to check for both AGP and PCI PCI ↵Alan Cox2006-09-26
| | | | | | | | | | | | | | | | | | | | | | | | failure case We could go and work out if the target object is AGP or PCI but the corner case of an Athlon 64 era box with PCI video is sufficiently unusual it doesn't seem worth the extra work, at least until other cases if any pop up. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4634): Zr36120: implement pcipci checksAlan Cox2006-09-26
| | | | | | | | | | | | | | | | | | Again depends on the PCIAGP_FAIL patch for a define. Someone with more card knowledge should look at the ALIMAGIK case and whether latency can be safely to set to 0xA or so. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4632): Zoran: Implement pcipci failure checkAlan Cox2006-09-26
| | | | | | | | | | | | | | | | | | We should be doing this on all devices doing PCI<->PCI DMA. We only set the _FAIL ones when the DMA will fail or may cause crashes. This relies on the PCIAGP_FAIL patch I sent to Andrew already Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4631): Av7110: remove V4L2_CAP_VBI_CAPTURE flagOliver Endriss2006-09-26
| | | | | | | | | | | | | | | | | | | | | | Implement fix suggested by Michael Hunold for a bug reported by Philipp Matthias Hahn: Starting "kdetv" on a Siemens DVB-C 1.x produced an oops because kdetv opened "/dev/vbi0". Remove the V4L2_CAP_VBI_CAPTURE flag because it does not work with this type of hardware anyway. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4630): Av7110: FW_LOADER depemdency fixedOliver Endriss2006-09-26
| | | | | | | | | | | | | | Do not select FW_LOADER unless it is really required. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4629): Saa7134: add card support for Proteus Pro 2309Michal Majchrowicz2006-09-26
| | | | | | | | | | | | | | | | Add card support for Proteus Pro 2309, based on saa7130 bridge Signed-off-by: Michal Majchrowicz <mmajchrowicz@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4628): Fix VIDIOC_ENUMSTD ioctl in videodev.cSascha Hauer2006-09-26
| | | | | | | | | | | | | | | | Do not return -EINVAL for index=0 in VIDIOC_ENUMSTD, because it is a valid index Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4627): Vivi crashes with mplayerSascha Hauer2006-09-26
| | | | | | | | | | | | | | | | | | The vivi.current_norm field is not initialized in vivi.c, so a VIDIOC_G_STD ioctl without a prior call to VIDIOC_S_STD gives unpredictable results. mplayer does exactly this. Signed-off-by Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4626): On saa7111/7113, LUMA_CTRL need a different valueMauro Carvalho Chehab2006-09-26
| | | | | | | | | | | | Also sends the proper saa71111 init table. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run()Cedric Le Goater2006-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced kernel_thread() with kthread_run() since kernel_thread() is deprecated in drivers/modules. Removed the completion and the wait queue which are now useless with kthread. Also removed the allow_signal() call as signals don't apply to kernel threads. Fixed a small race condition when thread is stopped. Please check if the timer vs. thread still works fine without the wait queue. Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4622): Copy-paste bug in videodev.cSascha Hauer2006-09-26
| | | | | | | | | | | | | | | | This patch fixes a copy-paste bug in videodev.c where the vidioc_qbuf() function gets called for the dqbuf ioctl. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4620): Fix AGC configuration for MOD3000P-based boardsJose Alberto Reguero2006-09-26
| | | | | | | | | | | | | | | | | | | | While converting the configuration for the old DiB3000MC-module to the new one a wrong AGC configuration was introduced. This is using the old one again. Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4619): Fixes some I2C dependencies on V4L devicesMauro Carvalho Chehab2006-09-26
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4617): Problem with dibusb-mb.c USB IDsAlistair Buxton2006-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | There seems to be an off by one error in the dibusb-mb.c which causes the "Artec T1 with AN2235" box to be detected as a totally different box - but it only happens if the Artec is one with the correct USB IDs. A patch is attached to the second post. However, even with this patch, the box still won't tune. It will tune using a 2.6.12 kernel though. Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4616): [PATCH] Nebula DigiTV USB RC supportAllan Third2006-09-26
| | | | | | | | | | | | | | | | | | Attached is a patch against latest HG which adds remote control support to the DigiTV driver. It works for me; Signed-off-by: Allan Third <allan.third@gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4614): Export symbol saa7134_tvaudio_setmute from saa7134 for ↵Ricardo Cerqueira2006-09-26
| | | | | | | | | | | | | | | | | | | | saa7134-alsa saa7134-alsa now unmutes/mutes the line when opening/closing the capture device, and needs this symbol Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4613): Unmute/mute saa7134 when opening/closing the audio capture ↵Ricardo Cerqueira2006-09-26
| | | | | | | | | | | | | | | | | | | | | | device. This patch should enable unmuting the audio device when opening it (and posterior muting when closing it), doing away with the need for unmute ioctls or v4lctl usage. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4611): Add module-init-tools version comment.Andrew de Quincey2006-09-26
| | | | | | | | | | | | | | | | I've just determined that module-init-tools >=3.2 is needed for dvb_attach to work. This adds a comment to Kconfig about it. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4610): Add tua6100 config wrapperAndrew de Quincey2006-09-26
| | | | | | | | | | | | | | | | I had forgotten to add the wrapper round the tua6100_attach function if its disabled in Kconfig Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4609): Improved i2c performance on software bitbang algoritmMauro Carvalho Chehab2006-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | Software I2C were using a very conservative value of udelay=16, meaning about 20Kbps. According with Philips I2C datasheet, the i2c should answer well for times at the order of 4.7 us. So, using udelay=5 should work for all devices. After this patch, the speed should be close to 66,67 Kbps, with the current kernel software bitbang, with 30/60 duty cycle. Anyway, added a new parameter (i2c_udelay) that would allow using conservative values, if eventually a hardware doesn't support the datasheet values. Thanks to Jean Delvare <khali@linux-fr.org> for pointing this improvement. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4607): Port budget-av to use the new tua6100 driverAndrew de Quincey2006-09-26
| | | | | | | | | | | | | | Port budget-av to use the new tua6100 driver Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4606): Add driver for TUA6100Andrew de Quincey2006-09-26
| | | | | | | | | | | | | | | | | | | | | | This driver was originally in budget-av.c, however I have extracted it into a seperate file to permit reuse. I also reworked the code to make it maintainable. I then examined the KNC1 windows drivers and rewrote the code in order to configure the PLL as they do. This solves a lot of reported tuning problems. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4604): Fix broken pvrusb2 buildMike Isely2006-09-26
| | | | | | | | | | | | | | | | | | Fix broken build when 24XXX support is not selected. This is required due to the requirement of removing 24XXX ifdef's from the driver source. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4600): Fix DVB Front-End Signal Strength InconsistencyBradley Kite2006-09-26
| | | | | | | | | | | | | | | | | | The cx22702 returns an 8 bit unshifted value for signal strength; this is inconsistent with most other frontends Signed-off-by: Bradley Derek Kite <bradley.kite@gmail.com> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4599): Adds Compro PS39U USB ID to Vicam driverBas Bloemsaat2006-09-26
| | | | | | | | | | | | | | | | | | | | 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-26
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4597): Improve resolution limit enforcements in pvrusb2Mike Isely2006-09-26
| | | | | | | | | | | | | | | | | | | | | | | | 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-26
| | | | | | | | | | | | | | | | 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-26
| | | | | | | | | | | | | | | | | | | | 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-26
| | | | | | | | | | 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-26
| | | | | | | | | | | | | | | | | | | | | | | | 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-26
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4584): Fix VIDIOC_S_FMT min/max check in pvrusb2Hans Verkuil2006-09-26
| | | | | | | | | | | | 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 (4573): Fix: There were some missing breaks at register check routineMauro Carvalho Chehab2006-09-26
| | | | | | | | | | | | 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-26
| | | | | | | | 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-26
| | | | | | | | | | | | | | | | | | | | 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-26
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4555): Cleanup: removed hardcoded tablesMauro Carvalho Chehab2006-09-26
| | | | | | | | | | | | | | 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-26
| | | | | | | | | | | | 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-26
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4551): Added register aliases for saa711x registers, instead of ↵Mauro Carvalho Chehab2006-09-26
| | | | | | | | | | | | 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-26
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| * V4L/DVB (4548): Better temporal filter handling.Hans Verkuil2006-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (4546): Add u32 argument to VIDIOC_INT_RESET.Hans Verkuil2006-09-26
| | | | | | | | | | | | | | | | 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 (4533): Tda9887: add configuration setting for L standard PLL gatingTrent Piepho2006-09-26
| | | | | | | | | | | | | | | | | | | | 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>