summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
AgeCommit message (Collapse)Author
2006-04-01Remove obsolete commands from tvp5150.cHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - Remove old DECODER_ commands from tvp5150.c, replacing them with newer ones if appropriate. - Small VIDIOC_G_TUNER fixes in msp3400 and tuner. - Fix VIDIOC_S_TUNER support in em28xx. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-04-01Add back the msp_sleep that waits for the tuner to settle downHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> I removed a msp_sleep call that is really needed, otherwise the second carrier is not detected correctly. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-04-01Keep experimental SLICED_VBI defines under an #if 0Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> As per request by Mauro the experimental SLICED_VBI defines are back under placed under an #if 0. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-04-01More msp3400 and bttv fixesHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - remove obsolete VIDIOC_S_INPUT i2c call in bttv - translate VIDIOCSFREQ to VIDIOC_S_FREQUENCY in i2c call - improve muting during carrier scan in msp3400 - don't start scan unless really needed. - no longer reset chip for msp3400c/d. - remove v4l2 check in tuner-core (radio stops after using the TV) - add missing VIDIOC_INT_ strings in v4l2-common.c Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-31Previous change for cx2341X boards broke the remote supportHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Partially revert previous change to fix IR support. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-31Move cx2341x.h to media/cx2341x.hHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> This header is used by multiple drivers, so keep it in include/media so all drivers can access it. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-31merge: from masterHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-31Fix msp3400c and bttv stereo/mono/bilingual detection/handlingHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - msp3400c did not detect the second carrier, thus being always mono. - properly mute the msp3400c while detecting the carrier. - fix checks on the presence of scart2/3 inputs and scart 2 output. - implement proper audio mode fallbacks for msp3400c/d, identical to the way msp3400g works. - MODE_STEREO no longer produces dual languages when set for a bilingual transmission, instead it falls back to LANG1. Use LANG1_LANG2 to hear both languages of a bilingual transmission. This is much more intuitive for the user and is in accordance with the preferred usage in the v4l2 specification. - bttv tried to implement v4l2 calls with v4l1 calls to the i2c devices, completely mangling the audmode/rxsubchans handling. v4l2 calls now do v4l2 calls to the i2c devices. - fixed broken i2c_vidiocschan in bttv. - add start/end lines to LOG_STATUS. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-29Kernel-sync changes to -gitMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-29Reverted sliced VBI API changes made in videodev2.h.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The sliced VBI defines added in videodev2.h are removed. One define changed the meaning of a old define, thus breaking existing apps, another used more than 16 bits (the max size is u16), and many types were added that were untested and whose payload was undocumented. New types should be shown to exist 'in the wild' and the payload format must be documented in the V4L2 API spec. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-29Merging from hverkuil treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-29Several improvements at Kconfig menu by mkrufkyMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: from -git tree (changesets 3653a to 3653g) Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-29zmalloc changed to kzmalloc; semaphore to mutexMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-29Remove trailing newlinesHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-29Add new NEC uPD64031A and uPD64083 i2c driversHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - Add support for the uPD64031A NEC Electronics Ghost Reduction i2c device - Add support for the uPD6408x NEC Electronics 3-Dimensional Y/C separation i2c device. Signed-off-by: Takahiro Adachi <tadachi@tadachi-net.com> Signed-off-by: Takeru Komoriya <komoriya@paken.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-29merge: from master.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-29Fix msp3400c wait time and better audio mode fallbacksHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - The wait time until the first time the audio mode was detected was 1+5=6 seconds instead of just 1 second (wrong statement order). msp3400c specific bug. - Implemented audio mode fallback for msp3400c/d just like the msp3400g does automatically. E.g. fallback to stereo if no second language exists, etc. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-29Kconfig: Fix PCI ID typo in VIDEO_CX88_ALSA help textMichael Krufky
From: Trent Piepho <xyzzy@speakeasy.org> - Fixed PCI ID typo in VIDEO_CX88_ALSA help text Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-29Tea6420: missing #define (< 2.6.16)Mauro Carvalho Chehab
From: Darren Salt <linux@youmustbejoking.demon.co.uk> tea6420: fix missing #define for kernels < 2.6.16 Change set 3653:388da79ac33b broke compilation of tea6420.c on kernels older than 2.6.16. This patch fixes it. Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-28Don't set msp3400c-non-existent registerHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The driver tried to set a register that is not present on msp3400c devices. Add the missing test. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-28Add wm8739 stereo audio ADC i2c driverHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Add support for the Wolfson Microelectronics WM8739 stereo A/D converter from the ivtv driver. Many thanks to Takahiro Adachi for writing the original driver. Signed-off-by: Takahiro Adachi <tadachi@tadachi-net.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-28Removing proper __stringfy according with kernel verMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-28Wrong version testing... fixed.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-28Make code sync with recent ALSA changes on -gitMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-28fix pvrusb2 build regression caused by last commit (changeset 4b95340cd669)Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-28Those files were modified only at -git. Updating v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-28Only saa7134-dvb depends on FW_LOADER. Fixing.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-28Merge from hhackmann treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-28Fix default values for tvp5150 controlsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Default values were wrong. Fixing it. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-28Added support for the new Lifeview hybrid cardbus modulesHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> There seem to be many variants of this cards with different feature sets. This entry supports analog TV, CVBS and s-video input, FM radio and DVB-T if they are supported by the hardware. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-03-28Corrected CVBS input for the AVERMEDIA 777 DVB-THartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The .vmux entry needs to be 1 instead of 0 Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-03-28Added PCI IDs of 2 LifeView CardsHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> Added ID entries for the Genius VideoWonder DVB-T and the LifeView FlyTV Platinum Gold Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-03-27Merge from http://linuxtv.org/hg/~mcisely/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-27Fix video-buf PCI wrappersRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> After the recent video-buf "generic" adaptation, the PCI wrappers got completely broken, and all of the DMA sound modules stopped working (and failed with an oops) Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-03-25Update pvrusb2's cx25840 module handling to use new routing APIMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Include additional pvrusb2 object files in buildMike Isely
From: Mike Isely <isely@pobox.com> Some new sources have been added into pvrusb2 to deal with cx25840 and wm8775 modules in V4L. Need to add them to the build. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Reduce FWSEND in cx25840 module due to certain I2C bus adapter limitsMike Isely
From: Mike Isely <isely@pobox.com> The FWSEND parameter controls the size of the firmware chunks sent down the I2C bus to the chip. Previously this had been set to 1024 but unfortunately some I2C implementations can't transfer data in such big gulps. Specifically, the pvrusb2 driver has a hard limit of around 60 bytes, due to the encapsulation there of I2C traffic into USB messages. So we have to significantly reduce this parameter. Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Merge from masterMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25pvrusb2 request_module() adjustmentsMike Isely
From: Mike Isely <isely@pobox.com> Request new modules that pvrusb2 may need. This is a stop-gap; we need to do a better job of this. Also reorder the requests in the extremely feeble hope that we can avoid some initialization races in the hardware. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Integrate pvrusb2 with wm8775Mike Isely
From: Mike Isely <isely@pobox.com> Implement new logic in pvrusb2 to operate wm8775, which is needed for new model 24xxx hardware which has a wm8775 inside it (which is used to digitize audio from composite and s-video input). Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Implement operation of cx2584x from within pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> This adds new logic to integrate the pvrusb2 driver with the V4L cx25840 module. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Adjust cx23416 operation in pvrusb2 to work with model 24xxx hardwareMike Isely
From: Mike Isely <isely@pobox.com> This applies some changes to the logic which controls the cx23416 in pvrusb2. This is required in order for newer model 24xxx hardware to operate correctly and is backwards compatible with older hardware. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Advertise I2C functionality in pvrusb2 that's friendly to wm8775Mike Isely
From: Mike Isely <isely@pobox.com> Adjust pvrusb2 functionality bits so that wm8775 will attach to the adapter. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Add more trace print for central I2C module commands in pvrusb2Mike Isely
From: Mike Isely <isely@pobox.com> This just adds some more trace print to make possible tracking of I2C commands being broadcast to support modules. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Adjust pvrusb2 stream on/off control handlingMike Isely
From: Mike Isely <isely@pobox.com> Code in pvrusb2 which issues stream on/off commands was previously in a place specific to the saa7115. This change moves that function to a place where it can be used for other things (like controlling a future cx25840). Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25pvrusb2 control commit handling fixMike Isely
From: Mike Isely <isely@pobox.com> When a control change is committed to the driver, certain other parts of the driver must be updated to track the change and deal with the effects of that change. Some controls in the driver use a function pointer to implement the commit, however we weren't doing the tracking there and we should have been. This is the fix. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Fix pvrusb2 bug which prevented proper operation of tda9887Mike Isely
From: Mike Isely <isely@pobox.com> The pvrusb2 driver was not correctly identifying and handling the tda9887 module. This is the bug fix (code had been ifdef'ed out which should not have been). Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25New debug code in pvrusb2 for tracking requestsMike Isely
From: Mike Isely <isely@pobox.com> Implement pvrusb2 code normally compiled-out which can print useful information about commands issued to the hardware. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Implement method in pvrusb2 to force the decoder to resetMike Isely
From: Mike Isely <isely@pobox.com> This change threads logic through the pvrusb2 to make it possible to command the decoder chip to reset itself. The method is decoder-agnostic; the part of the pvrusb2 which control's that chip's module has to provide the final hook. This just lays the foundation. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-25Fix pvrusb2 compilation warning when building for amd64Mike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>