summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-27Dynamic cx88 mpeg port management for HVR1300 MPEG2/DVB-T support. Steven Toth
From: Steven Toth <stoth@hauppauge.com> A series of patches to change the cx88 framework to allow the PCI mpeg port to be shared dynamically between different types of drivers or applications. This patch changes the cx88-dvb and cx88-blackbird drivers to become 'sub drivers' of a higher single cx88-mpeg driver. The cx88-mpeg driver is a superset of the previous cx88-mpeg/blackbird drivers and now owns the IRQ. cx88-dvb/blackbird now become mini drivers, registering themselves with cx88-mpeg through a standard interface with callbacks. Sub drivers request access to hardware via the cx88-mpeg driver. In turn the cx88-mpeg driver determines whether the hardware is busy and accepts or refuses the request, grant access using callbacks into the sub drivers. The net effect is that you are no longer able to tamper with the mpeg port from multiple different applications at the same time, potentially breaking a live mpeg2 hardware encoding or dvb stream. The mechanism extends to enable multiple dvb frontends to be registered and share the single resource. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-27Fix for NULL pointer dereference oops during boot.Steven Toth
From: Steven Toth <stoth@hauppauge.com> A fix for intermittent oops's during boot which occurs in cx88_call_i2c_clients when dvb_attach is bringing up the frontend. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-26Support for SAA7134-based AVerTV Hybrid A16ARMauro Carvalho Chehab
From: Petr Baudis <pasky@ucw.cz> This adds support for a hybrid PAL/DVB/FM card. Unfortunately I tested only the DVB since I don't have any proper antenna available and I can receive even the DVB just barely so; I can hear noise in the FM part but I couldn't catch any station, then again I don't have an FM antenna either. The PAL/FM and IR control data are based on what I harvested on the 'net. Perhaps I or someone else will fix them if they turn out to be wrong. Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-26Allow RC5 codes 64 - 127 in ir-kbd-i2c.cMauro Carvalho Chehab
From: David Hardeman <david@hardeman.nu> The RC5 coding has for a long time supported commands 64-127 in addition to 0-63. This is controlled by the second bit of the RC5 packet (see The attached patch modifies ir-kbd-i2c.c to allow for commands 64-127, tested with a PVR350 card in combination with a programmable remote. Signed-off-by: David Hardeman <david@hardeman.nu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-25cx88: fix analog capture notch filterMichael Krufky
From: Lars Gjesse Kjellberg <lars.g.kjellberg@get2net.dk> This patch changes the setting of the cx2388x notch filter to match that of the video capture sample frequency, removing some annoying interference lines THAT would appear when capturing composite video. This has been tested in PAL and NTSC TV norms. It sets the Y/C separation luma notch filter, which removes the chroma signal from the luma signal when using a composite input. The luma notch filter operates at the video decoder's frequency, not the ADC's frequency or at the frequency of the scaled video. Y/C separation happens after the sample rate converter, before video scaling. The datasheet provides plots of the filter response for three _video decoder_ frequencies, 4x Fsc, square pixel, and ccir601. These are the same three frequencies for the notch filter control. It seems pretty clear that this filter should be set based on the video decoder frequency. The cx88 driver always uses a video decoder frequency of 4xFsc. Signed-off-by: Lars Gjesse Kjellberg <lars.g.kjellberg@get2net.dk> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-09-25cx88: autodetect Club3D Zap TV2100 by subsystem id 12ab:2300Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The Club3D Zap TV2100 has been reported to be a clone of the Yuan PG300 and KWorld/VStream XPert DVB-T with cx22702 Thanks-to: Lars Gjesse Kjellberg <lars.g.kjellberg@get2net.dk> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-09-25cx88: rename mpeg capability flags from CX88_BOARD_FOO to CX88_MPEG_FOOMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The flags for mpeg capabilities are sub-optimally named as CX88_BOARD_DVB and CX88_BOARD_BLACKBIRD, which creates some confusion. This patch renames the above to CX88_MPEG_DVB and CX88_MPEG_BLACKBIRD. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> CC: Steven Toth <stoth@hauppauge.com> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-09-25Changed cx88_board .dvb and .register to an enum.Steven Toth
From: Steven Toth <stoth@hauppauge.com> Some basic cleanup in preperation for a future patch where the cx88-mpeg functions have to deal with the port being used by multiple frontends in (mpeg2 hw encoder and dvb demod). Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-25Ensure the WM8775 driver is loaded generically for any board.Steven Toth
From: Steven Toth <stoth@hauppauge.com> A generic change to cards to allow any board to specify whether it needs the wm8775 module loaded (by the core) or not. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-25Add frontend structure callback for bus acquisition.Steven Toth
From: Steven Toth <stoth@hauppauge.com> This patch enables generic bus arbitration callbacks enabling dvbcore frontend_open and frontend_release to pass 'acquire' and 'release' hardware messages back into the DVB bridge frameworks. Frameworks like cx88 can then implement single bus multiple demod card sharing features, which would prohibit two frontends from attempting to use a single transport bus at the same time. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2006-09-23pvrusb2: Don't use videodev.h; use v4l2-dev.h in its placeMike Isely
From: Mike Isely <isely@pobox.com> The function prototype needed in pvrusb2-v4l2.c has been moved to v4l2-dev.h. Track that change. Signed-off-by: Mike Isely <isely@pobox.com>
2006-09-23pvrusb2: Get rid of private global context array brain damageMike Isely
From: Mike Isely <isely@pobox.com> A previous attempt to deal with the upcoming loss of video_set_drvdata() and video_get_drvdata() resulted in logic which causes a circular locking dependency - also known as a deadlock. This changeset attacks the problem in a different manner, using a technique that no longer requires the problematic mutex (or that private global array either). Signed-off-by: Mike Isely <isely@pobox.com>
2006-09-23pvrusb2: Implement VIDIOC_INT_[G|S]_REGISTERMike Isely
From: Mike Isely <isely@pobox.com> Implement VIDIOC_INT_SET_REGISTER and VIDIOC_INT_GET_REGISTER for the pvrusb2 driver. This is a debugging aid which will not be enabled unless CONFIG_VIDEO_ADV_DEBUG has been enabled. Signed-off-by: Mike Isely <isely@pobox.com>
2006-09-23pvrusb2: improve 24XXX config option descriptionMike Isely
From: Mike Isely <isely@pobox.com> The CONFIG_VIDEO_PVRUSB2_24XXX is not nearly as "experimental" as the description suggests. So refine the description to better match reality. Signed-off-by: Mike Isely <isely@pobox.com>
2006-09-20Some cleanups at helper chips menuMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Rearranged itens, so that decoders came first; cx25840 is, in fact, an audio and video decoder; Fixed some incorrect upercases; Removed the word "chip" for some audio processors at item name; Removed the word "driver" for some item names; Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-20Fixed Kconfig comment, since cx2584x are, in fact a MPEG decoderMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-20Another fix because of dvb_attachPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Fixed mt2060-usage with dvb_attach Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-20Power control of the device for dual boardPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Corrected power control of the device for dual boards Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-20Fixed dvb_attach for dib3000mc in dibusbPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> When converting the dib3000mc-driver to dvb_attach I forgot to invert the check for NULL. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-20Removed compilation warningsPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Removed compilation warnings for unused statics and locals Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-20Added module parameter force_lna_activationPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Added a module parameter for force the activation of any LNA on a board. Suggest by Steve Toth. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc fixes for Nova-T 500Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> - forward the clock to the slave undivided - when sleeping the 3000 do not shutdown the clock Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc fixes for DiB3000MC and Nova-T 500Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> - make the timing frequency update work. - fix AGC calibration for Nova-T 500 Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Adding another USB product ID for Nova-T 500Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Adding another USB product ID for the Nova-T 500. Reported by Jose Alberto Reguero. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc fixes for dib0700 downloadPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Several fixes for dib0700-module. (Firmware error checking, dependency) Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Merged VP702x support to dvb-usb multi inputPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> The fixed support for the VP70x (supports only StarBox2) is now in sync with latest changes in the dvb-usb framework. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Hauppauge Nova-T 500 support addedPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> This changeset finalizes the support of the Hauppauge Nova-T 500 (Dual DVB-T). It adds correct AGC setting for the 3000P, correct firmware download state detection. Additionally it fixes the mt2060-driver to be able to be used with dvb_attach. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Added module for DiB0700 based devicesPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Added module for DiB0700 based USB devices. This module is preliminary and untested (because of a lack of test devices) but should work. Further commits will be necessary to make it work properly. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Misc. changes, DiB3000MC, MT2060Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Changed the attach-function of the dib3000mc-driver to return only one frontend. In case of multiple dib3000-chips on one board, one has to call the i2c-enumeration manually before. Added a field to Microtune 2060 config to output the clock to other tuners/device on a board. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Added new file for multiple input rewritePatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Forgot to add usb-urb.c which is new after adding support for multiple inputs Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19Multi-input fix for dtt200uPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Small fix for multi input for dtt200u module. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-19cf4dcf5526aa0e0acd02Patrick Boettcher
Multi-input patch for DVB-USB device From: Patrick Boettcher <pb@linuxtv.org> This patch is the first commit of the Multiple Input Patch for the DVB-USB frame work. It changes the DVB-USB-device to be able to have more than one streaming input (e.g. multiple DVB-T sources) on one device. This is a necessary feature for the upcoming DiB7700 driven devices. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-09-17use ivtv/driver/Kbuild for build rules in v4l-dvb + ivtv trunk virtual mergeMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Use ivtv's Kbuild file to make the build rules for the v4l-dvb + ivtv trunk virtual merge dynamic. This eliminats the static rules from the v4l-dvb tree and will prevent future build problems. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-09-16trivial: use lowercase letters in hex subsystem idsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-09-16cx88-ivtv was broken in changeset ca7f328178caMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Restore the following hooks: - cx88-blackbird.c: cx88_ioctl_hook() - cx88-blackbird.c: cx88_ioctl_translator() Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-09-15cx88: add autodetection for alternate revision of Leadtek PVRMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add autodetection for PCI subsystem ID 107d:6632, to detect as a Leadtek PVR 2000 Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-09-14Basic DVB-T and analog TV support for the HVR1300.Steven Toth
From: Steven Toth <stoth@hauppauge.com> 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>
2006-09-14Add a default method for VIDIOC_G_PARMMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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>
2006-09-14Currently, PCIAGP_FAIL only exists on 2.6.18-rc6-mm1Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-14Extend bttv and saa7134 to check for both AGP and PCI PCI failure caseMauro Carvalho Chehab
From: Alan Cox <alan@lxorguk.ukuu.org.uk> 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>
2006-09-14Zr36120: implement pcipci checksMauro Carvalho Chehab
From: Alan Cox <alan@lxorguk.ukuu.org.uk> 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>
2006-09-14Added Zoran 36120/36125 driver to hg treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This is a broken driver, but, since it is still at kernel, it might be valuable to have it also at hg tree. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-14Zoran: Implement pcipci failure checkMauro Carvalho Chehab
From: Alan Cox <alan@lxorguk.ukuu.org.uk> 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>
2006-09-14av7110: remove V4L2_CAP_VBI_CAPTURE flagOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> 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>
2006-09-14av7110: FW_LOADER depemdency fixedOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Do not select FW_LOADER unless it is really required. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-09-13saa7134: add card support for Proteus Pro 2309Michael Krufky
From: Michal Majchrowicz <mmajchrowicz@gmail.com> 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>
2006-09-13Fix VIDIOC_ENUMSTD ioctl in videodev.cMauro Carvalho Chehab
From: Sascha Hauer <s.hauer@pengutronix.de> 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>
2006-09-13Vivi crashes with mplayerMauro Carvalho Chehab
From: Sascha Hauer <s.hauer@pengutronix.de> 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>
2006-09-12On saa7111/7113, LUMA_CTRL need a different valueMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Also sends the proper saa71111 init table. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-11Added some missing drivers to versions.txtMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>