summaryrefslogtreecommitdiff
path: root/linux/drivers/media
AgeCommit message (Collapse)Author
2006-03-11pvrusb2: remove "ifdef notdef"Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Changed all occurances of "#ifdef notdef" to "#if 0" - This code will remain visible in the v4l-dvb repositories, but will be held back from git. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11add pvrusb2 to MakefileMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - added pvrusb2 to the kernel Makefile Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11Kconfig: Hauppauge WinTV-PVR USB2 supportMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - add pvrusb2 to the kernel build Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11pvrusb2: video device register/unregister message conformityMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - device registration messages altered to conform with the other v4l drivers. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-11add colon to messages generated by pvr2_trace macroMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Add a ':' after 'pvrusb2' for kernel message output. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-09Rename FX2 firmware for pvrusb2 (again)Mike Isely
From: Mike Isely <isely@pobox.com> It has been discovered that newer PVR USB2 needs incompatibly different FX2 firmware. The driver therefore needs to make the file name a function of which firmware flavor is required. This rename is part of that work. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-04Implement new method in pvrusb2 to detect the FX2 firmwareMike Isely
From: Mike Isely <isely@pobox.com> The pvrusb2 driver as part of its initialization might have to load the FX2's firmware image. We must only do this when it is actually needed. The previous method just detected this requirement by noticing something unusual about the USB configuration of the device. Unfortunately with newer PVR USB2 devices this method no longer works. What we do now is also attempt a simple non-destructive endpoint 1 transaction; failure of that transfer will indicate a need to load the firmware. Signed-off-by: Mike Isely <isely@pobox.com>
2006-02-26Merge from v4l-dvb masterMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-02-26Merge hhackmann treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Also fixed a missing ; at the end of a function Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-26bttv: correct bttv_risc_packed buffer sizeMauro Carvalho Chehab
From: Duncan Sands <duncan.sands@math.u-psud.fr> This patch fixes the strange crashes I was seeing after using bttv card, caused by a buffer overflow in bttv_risc_packed. The instruction buffer size calculation contains two errors: (a) a non-zero padding value can push the start of the next bpl section to just before a page border, leading to more scanline splits and thus additional instructions. (b) the first DMA region can be smaller than one page, so there can be a scanline split even if bpl*lines is smaller than PAGE_SIZE. For example, consider the case where offset is 0, bpl is 2, padding is 4094, lines is smaller than 2048, the first DMA region has size 1 and all others have size PAGE_SIZE, assumed to equal 4096. Then all bpl regions cross page borders and the number of instructions written is 2*lines+2, rather than lines+2 (the current estimate). With this patch the number of instructions for this example is estimated to be 2*lines+3. Also, the BUG_ON that was supposed to catch buffer overflows contained a thinko causing it fire only if the buffer was overrun by a factor of 16 or more, so it fixes the the BUG_ON's (using sizeof rather than "4"). Signed-off-by: Duncan Sands <baldrick@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-26Log a message if a pvrusb2 I2C write is too largeMike Isely
From: Mike Isely <isely@pobox.com> The wire protocol to the PVR USB2 hardware limits the total size of an I2C write transfer (among other things). The driver detects this case and fails the transfer; this change also logs the message. We need this in order to catch V4L modules which might be attempting such transfers and deal with them on a case-by-case basis. Signed-off-by: Mike Isely <isely@pobox.com>
2006-02-26cx88: reduce excessive loggingMichael Krufky
From: Ian Pickworth <ian@pickworth.me.uk> - fix temporary debug code by changing printk to dprintk at level 1. - move CORE_IOCTL messages from level 1 to level 2. - this should help with selective debugging, while not filling people's logs up during normal use. Signed-off-by: Ian Pickworth <ian@pickworth.me.uk> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-26do a RESYNC for all cardsManu Abraham
From: Manu Abraham <manu@linuxtv.org> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-02-26fix module parametersManu Abraham
Thanks to Edgar Toerning Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-02-26fix broken IF-OUT Relay handlingManu Abraham
Thanks to Edgar Toernig Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-02-26Ignore DiSEqC messages > 6 and < 3Manu Abraham
Thanks to Edgar Toernig Signed-off-by: Manu Abraham <manu@linuxtv.org>
2006-02-26add pvrusb2 to local v4l-dvb buildMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - removed 'make pvrusb2' merge command - created in-kernel Makefile, Kconfig not yet done. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-26moved pvrusb2 driver into the kernel treeMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-24Merge from js treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-24Merging hhackmann tree.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-24Merge mkrufky treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-24Merge endriss treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-24fix stv0297 for qam128 on tt c1500 (saa7146)Michael Krufky
From: Mattias Nordstrom <nordstrom@realnode.com> I have a TT C1500 card (saa7146, STV0297) which had problems tuning channels at QAM128 (like the ones in the Finnish HTV / Welho network). A fix which seems to work perfectly so far is to change the delay for QAM128 to the same values as for QAM256 in stv0297_set_frontend(), Signed-off-by: Mattias Nordstrom <nordstrom@realnode.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-24Add cpia2 camera supportMauro Carvalho Chehab
From: Alan Cox <alan@redhat.com> There has been a CPIA2 driver out of kernel for a long time and it has been pretty clean for some time too. This is an import of the sourceforge driver which has been stripped of - 2.4 back compatibility - 2.4 old style MJPEG ioctls A couple of functions have been made static and the docs have been repackaged into Documentation/video4linux. The rvmalloc/free functions now match the cpia driver again. Other than that this is the code as is. Tested on x86-64 with a QX5 microscope. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-23Support for Satelco EasyWatch DVB-S lightOliver Endriss
From: Thilo Berger <thilo_berger@gmx.net> Support for Satelco EasyWatch DVB-S light. Signed-off-by: Thilo Berger <thilo_berger@gmx.net> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-02-23Add DVB-T support for the LifeView DVB Trio PCI cardHartmut Hackmann
From: Nico Sabbi <nsabbi@tiscali.it> This patch adds DVB-T support, no DVB-S yet Signed-off-by: Nico Sabbi <nsabbi@tiscali.it> Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-02-23Fixed Pinnacle 300i DVB-T support Hartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> - fixed tda9886 port 2 setting - turned remote control receiver off via saa7134 GPIO to avoid i2c hangs - modified tda9886 client calls to direct i2c access to allow proper return to analog mode - allow mode change to V4L2_TUNER_DIGITAL_TV in tuner VIDIOC_S_FREQUENCY client call Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-02-22Restore power on defaults of tda9887 after tda8290 probeHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The probing code for tda8290 changes the state of the tda9887 GP ports. The patch assumes that if probing for tda8290 failed, this must be a tda9887 and restores its power on defaults. This should solve the module load order issue with some pinnacle cards. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-02-19TUV1236d: declare buffer as static constMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> On 2/17/06, Darren Salt <linux@youmustbejoking.demon.co.uk> wrote: > + u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 }; > Shouldn't buffer be declared static const? Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-19dvb-core: remove dead codeJohannes Stezenbach
From: Peter Beutner <p.beutner@gmx.net> The field "dvr" in struct dmxdev is competely unused. Remove it and code which allocates, initializes and frees it. Signed-off-by: Peter Beutner <p.beutner@gmx.net> Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2006-02-19dvb: fix __init/__exit section references in av7110 driverJohannes Stezenbach
From: Johannes Stezenbach <js@linuxtv.org> use __devinit/__devexit/__devexit_p() where appropriate Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2006-02-18Adds debuging v4l2_memory enumMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Some cleanup on printing enum names. v4l2_memory now translated also to name. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-18Debug messages for ioctl improvedMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Adds field and type name to debug message. Also prints now format for type=capture. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-18Fix a small bug when constructing fps and line numbersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Previously, only NTSC and PAL/M were associated to 30fps and 525 lines, so, PAL/60 were not handled properly. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-18From: Mauro Carvalho Chehab <mchehab@infradead.org>Mauro Carvalho Chehab
Add debug to ioctl arguments. Added a new function that allows printing ioctl arguments. This makes easier to include debug code under v4l ioctl handling. Also fixed some declarations on internal ioctl. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-17Merge from mkrufky tree.Mauro Carvalho Chehab
Some small updates in the comments for KWorld HardwareMpegTV XPert. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-17Merge from mkrufky atsc Kworld tree.Mauro Carvalho Chehab
This tree contains all of the patchsets in relation to Kworld ATSC 110. This is ready to be merged into master now. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-17LifeView FlyDVB-T Duo: add support for remote controlMichael Krufky
From: Rudo Thomas <rudo@matfyz.cz> The remote controller on the LifeView FlyDVB-T Duo card work flawlessly with the same settings as the LifeView FlyDVB-T LR301 card. Signed-off-by: Rudo Thomas <rudo@matfyz.cz> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-17Kworld ATSC110: initialize the tuner for analog mode on module loadMichael Krufky
From: Curt Meyers <cmeyers@boilerbots.com> - Enable the tuv1236 tuner on the Kworld-ATSC110 card so that the tuner can be identified when tuners.ko loads. - With this change it is no longer necessary to remove and reload the tuner module in order to get the tuv1236 identified. - This code was copied from the ATI HDTV Wonder init routine (in cx88-cards.c) which also uses the TUV1236D. Signed-off-by: Curt Meyers <cmeyers@boilerbots.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-16KWorld HardwareMpegTV XPert: update commentsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Standard video using the cx88 broadcast decoder is working, but blackbird isn't working yet, audio is only working correctly for television mode. S-Video and Composite are working for video-only, so I have them disabled for now. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-16Fix maximum for the saturation and contrast controls.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-02-16Kworld ATSC110: cleanupsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - There is no radio with this tuner card... Thanks-to: Dwaine Garden <DwaineGarden@rogers.com> - fixed capitalization in card name. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-15Kworld ATSC110: enable composite and svideo inputsMichael Krufky
From: Curt Meyers <cmeyers@boilerbots.com> - corrected composite input. - verified s-video input. Signed-off-by: Curt Meyers <cmeyers@boilerbots.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-15KWorld ATSC110: implement set_pll_inputMichael Krufky
From: Curt Meyers <cmeyers@boilerbots.com> - When tuning VSB, use ANT input - When tuning QAM, use CABLE input Signed-off-by: Curt Meyers <cmeyers@boilerbots.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-15Add support for Kworld ATSC110Michael Krufky
From: Andrew Burri <andrew.burri@gmail.com> Signed-off-by: Andrew Burri <andrew.burri@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-15cxusb: fix lgdt3303 namingMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The following are specific to lgdt3303, and are being renamed to reflect this. - cxusb_lgdt330x_config renamed to cxusb_lgdt3303_config. - cxusb_lgdt330x_frontend_attach renamed to cxusb_lgdt3303_frontend_attach. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-13Merging rmcc tree.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-13Pinnacle PCTV 40i: add filtered Composite2 input for Composite signals on ↵Michael Krufky
S-Video From: Karsten Suehring <ksuehring@gmx.net> This patch adds another composite input to the Pinnacle PCTV 100i definition which filters the chrominace signal from the luma input. This improves video quality for Composite signals on the S-Video connector of the card. In addition the name string of the card is changed to include PCTV 40i and 50i since these cards are identical. Signed-off-by: Karsten Suehring <ksuehring@gmx.net> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-13Add saa713x card: ELSA EX-VISION 700TV (saa7130)Michael Krufky
From: Tamuki Shoichi <tamuki@linet.gr.jp> Add support for ELSA EX-VISION 700TV, which is the ELSA Japan's flagship model of the software encoding TV capture card. All inputs (Television, Composite1 and S-Video) have been tested. Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-12remote control codes for BTTV_BOARD_CONTVFMIRicardo Cerqueira
From: BoyZonder <boyzonder@spymac.com> The remote control interface for this board is the same as the one for BTTV_BOARD_CONCEPTRONIC_CTVFMI2 Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>