aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
Commit message (Collapse)AuthorAge
...
* | V4L/DVB (4944): Cx88: Convert DViCO FusionHDTV Hybrid to use dvb_pll_attachMichael Krufky2006-12-10
| | | | | | | | | | | | | | | | | | Converted DViCO FusionHDTV Hybrid to use dvb_pll_attach, removing another static dependency of cx88-dvb on dvb-pll. Acked-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4943): Cx88: cleanup dvb_pll_attach for lgdt3302 tunersMichael Krufky2006-12-10
| | | | | | | | | | | | | | | | Since we're using dvb_pll_attach now, we dont have to populate dev->core->pll_addr or dev->core->pll_desc anymore. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4953): Usbvision minor fixesThierry MERLE2006-12-10
| | | | | | | | | | | | | | | | | | - fix debug outputs - fix returned parameters on VIDIOC_G_FMT, VIDIOC_S_FMT and VIDIOC_TRY_FMT and mmap size setting Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4951): Add version.h, since it is required for VIDIOC_QUERYCAPMauro Carvalho Chehab2006-12-10
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4938): Cx88: Convert lgdt3302 tuning function to use dvb_pll_attachTrent Piepho2006-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a still a pre-dvb-pll set_params function for the lgdt3302 in the cx88-dvb driver. This patch removes that function and uses dvb_pll_attach() for the cards that were using it (Dvico FusionHDTV 3 GOLD {Q,T}). This way the set_params function from dvb-pll is used. dvb_attach() is in turn used on dvb_pll_attach(), eliminating some static dependencies on dvb-pll. There are still a couple static dependencies on dvb-pll remaining. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4941): Remove LINUX_VERSION_CODE and fix identationsMauro Carvalho Chehab2006-12-10
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4942): Whitespace cleanupsMauro Carvalho Chehab2006-12-10
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4937): Usbvision cleanup and code reorganizationThierry MERLE2006-12-10
| | | | | | | | | | | | | | | | | | | | | | - removal of overlay stuff - reorganization of functions in 3 files: * usbvision-i2c for I2C-related stuff * usbvision-video for v4l2 entry points * usbvision-core for all peripheral controls and utilities Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4936): Make MT4049FM5 tuner to set FM Gain to NormalThierry MERLE2006-12-10
| | | | | | | | | | | | | | | | - remove any specific TDA9887_SET_CONFIG of usbvision driver - add fm_gain_normal=1 to the MT4049FM5 tuner for radio functionality Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4935): Added the capability of selecting fm gain by tunerMauro Carvalho Chehab2006-12-10
| | | | | | | | | | | | | | Some tuners require using cGainNormal instead of cGainLow for high sensibility on FM reception. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4934): Usbvision radio requires GainNormal at e registerMauro Carvalho Chehab2006-12-10
| | | | | | | | | | | | | | Adds an option to select GainNormal at tda9887 and make usbvision to use it. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4933): Usbvision_v4l2: radio interface / tda9887 problem ?Thierry MERLE2006-12-10
| | | | | | | | | | | | | | - implement the v4l2 radio interface Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4932): Usbvision_v4l2: fix norm setting problemsThierry MERLE2006-12-10
| | | | | | | | | | | | | | | | | | Patch contents: - fix i2c command broadcast (caused problems for SECAM norm setting) - default input selection at driver open Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4931): Removed usbvision_ioctl.h, since it isn't required anymoreMauro Carvalho Chehab2006-12-10
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4930): Usbvision_v4l2 : mmap corrected to get all framesThierry MERLE2006-12-10
| | | | | | | | | | | | | | | | | | | | | | - private ioctls UVIOCSREG/UVIOCGREG translated to the VIDIOC_INT_G_REGISTER/VIDIOC_INT_S_REGISTER - lost frame bug corrected (mmap rework) - reset scratch buffer is no buffer is queued (prevents useless scratch overflow management) Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4929): Read() implementation + format set/get simplificationsThierry MERLE2006-12-10
| | | | | | | | | | | | | | | | | | | | - implement read() entry point that works with linux list.h - rework of VIDIOC_ENUM_FMT/VIDIOC_S_FMT/VIDIOC_G_FMT - VIDIOC_STREAMON : allows streaming whereas there is no queued buffer (xdtv does VIDIOC_STREAMON before VIDIOC_QBUFs) Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4928): Usbvision_v4l2 robustness on disconnectThierry2006-12-10
| | | | | | | | | | | | | | | | | | | | | | This patch corrects 2 bugs (causes kernel oops) that occur when unplugging the peripheral whereas nobody has opened it yet : - do not call usbvision_stop_isoc if usbvision_init_isoc has not been called - do not call wakeup_interruptible on waitqueues that did not have been initialized with init_waitqueue_head Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4927): Enhancements on usbvision driverThierry MERLE2006-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enhance the buffer management of this driver + some corrections - linux list.h usage for buffer management - VIDIOC_ENUMSTD/VIDIOC_G_STD/VIDIOC_S_STD simplification (use of v4l2_video_std_construct) - create_sysfs : remove of warnings for video_device_create_file return code - make the driver compatible with 2.6.19 kernel version (remove slave_send and slave_recv in usbvision-i2c, change ctrlUrb_complete function prototype) - deactivated v4l2_read because this code was not the priority but working on it :) Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4926): Fix USBVision handling of VIDIOC_QUERYCTRLDwaine Garden2006-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's a better (and recommended) way for handling VIDIOC_QUERYCTRL. This patch will fix the issue where the hardware control values were invalid and stops the SAA7115 module from complaining about invalid values. saa7115 4-0024: invalid brightness setting 32768 saa7115 4-0024: invalid contrast setting 49152 saa7115 4-0024: invalid hue setting 32768 saa7115 4-0024: invalid saturation setting 32768 Signed-off-by: Dwaine Garden <dwainegarden@rogers.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4925): Corrected and separated the Kconfig for usbvisionThierry MERLE2006-12-10
| | | | | | | | | | Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4924): Fix some bugs on usbvision due to the merge into one moduleThierry MERLE2006-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | Found the bug that prevented the driver from loading : a module param conflict between usbvision-i2c and usbvision-core (debug parameter). - correct the module param "debug" conflics in usbvision-i2c.c and usbvision-core.c - add some debug printouts in usbvision-core.c VDIOC_QBUF/VIDIOC_DQBUF - usbvision-core.c : add vb->field = V4L2_FIELD_NONE in VIDIOC_DQBUF Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4923): Splitted usbvision cards from usbvison.hMauro Carvalho Chehab2006-12-10
| | | | | | | | | | | | | | | | Having the cards description into a separated file makes easier to maintain and follows the same standard as other drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4922): Add usbvision driverMauro Carvalho Chehab2006-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds usbvision into V4L/DVB HG tree. Usbvision driver is a GPL driver, made by: Joerg Heckenbach <joerg@heckenbach-aw.de> and Dwaine Garden <DwaineGarden@rogers.com> V4L2 migration made by: Thierry Merle <thierry.merle@free.fr> Kconfig/Makefile scripts by: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Joerg Heckenbach <joerg@heckenbach-aw.de> Signed-off-by: Dwaine Garden <dwainegarden@rogers.com> Signed-off-by: Thierry Merle <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4913): Fix broken TUNER_LG_NTSC_TAPE radio supportHans Verkuil2006-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | The TUNER_LG_NTSC_TAPE is identical in all respects to the TUNER_PHILIPS_FM1236_MK3. So use the params struct for the Philips tuner. Also add this LG_NTSC_TAPE tuner to the switches where radio specific parameters are set so it behaves like a TUNER_PHILIPS_FM1236_MK3. This change fixes the radio support for this tuner (the wrong bandswitch byte was used). Thanks to Andy Walls <cwalls@radix.net> for finding this bug. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4909): Add s/g_parm to cafe_ccicJonathan Corbet2006-12-10
| | | | | | | | | | | | | | Add s/g_parm support allowing applications to tweak the frame rate. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4908): Remove the fake RGB32 format from cafe_ccicJonathan Corbet2006-12-10
| | | | | | | | | | | | | | Remove RGB32, useful for debugging, but with no place in production. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4901): Improve debug msgs to show fourcc and buffer length on ↵Mauro Carvalho Chehab2006-12-10
| | | | | | | | | | | | video_ioctl2 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4898): Saa7134: add support for remote control of Hauppauge HVR1110Thomas Genty2006-12-10
| | | | | | | | | | | | | | | | | | | | This patch adds support for the remote control bundled with the Hauppauge HVR1110 Signed-off-by: Thomas Genty <tomlohave@gmail.com> Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4895): Accept tuners on saa7146 i2c bus only on address 0x60.Michael Hunold2006-12-10
| | | | | | | | | | Signed-off-by: Michael Hunold <hunold@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4894): Mxb: fix to load the proper i2c modulesMichael Hunold2006-12-10
| | | | | | | | | | | | | | | | | | Change order of module requests, so that tuner module is loaded at the end, because the tuner module probes multiple i2c addresses and might grab an i2c address that is not a tuner but something else. Signed-off-by: Michael Hunold <hunold@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4887): Remove the broken VIDEO_ZR36120 driverAdrian Bunk2006-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | The VIDEO_ZR36120 driver has: - already been marked as BROKEN in 2.6.0 three years ago and - is still marked as BROKEN. Drivers that had been marked as BROKEN for such a long time seem to be unlikely to be revived in the forseeable future. But if anyone wants to ever revive this driver, the code is still present in the older kernel releases. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4886): Minor coding style improvementsHans Verkuil2006-12-10
| | | | | | | | | | | | | | Remove coding style inconsistencies. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4872): Saa7134-alsa improvementsHartmut Hackmann2006-12-10
| | | | | | | | | | | | | | | | | | | | | | | | The change does the following: - At device open, it sets the recording source to the current input instead of LINE2. So it is no longer necessary to set the recording source with a mixer application. - Connects the mixer volume control to the input sensitivity selection of the analog sound inputs. This allows only one 6db step. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4862): Fixes uninitialized variables passed to VIDIOC_G_FBUF.audetto@tiscali.it2006-12-10
| | | | | | | | | | Signed-off-by: Andrea A Odetti <audetto@tiscali.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4861): Remove the need of a STD array for drivers using video_ioctl2Mauro Carvalho Chehab2006-12-10
| | | | | | | | | | | | | | | | | | | | | | video_ioctl2 will auto-generate standard entries at ENUM_FMT. Also, now, a driver may return a subset of the video array at the return, to be stored as the current_norm. For example, a driver may ask for V4L2_STD_PAL. At return, driver may change it to V4L2_STD_PAL_B. This way, a futher call to G_STD will return the exact detected video std. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4860): Optimization of v4l1 handlingMauro Carvalho Chehab2006-12-10
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4859): Fix initializations on some video_ioctl2 handlersMauro Carvalho Chehab2006-12-10
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4858): Fix: implement missing VIDIOCSTUNER on v4l1-compat moduleMauro Carvalho Chehab2006-12-10
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4857): Cleans some ioctl structs before calling V4L2 counterpartMauro Carvalho Chehab2006-12-10
| | | | | | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4854): Handle errors from input_register_device()Dmitry Torokhov2006-12-10
| | | | | | | | | | | | | | | | | | | | Also sprinkled some input_sync() throughout the code. Acked-by: Ricardo Cerqueira <v4l@cerqueira.org> Acked-by: Oliver Endriss <o.endriss@gmx.de> Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4852): Pvrusb2: Fix horizontal resolution setting problem for 24xxx ↵Mike Isely2006-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | devices Fix long-standing issue which prevented use of 24xxx devices at any horizontal resolution other an 720. The problem is in the cx25840 module, if no attempt is made to initialize VBI there. Such a thing should not be needed, but the pvrusb2 driver is updated now to deal with this. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4846): Create new lgh06xf atsc tuner moduleMichael Krufky2006-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch creates a new atsc tuner module for the LG TDVS-H06xF ATSC tuners, called lgh06xf. The purpose of this change is to reduce some duplicated code, and to allow the lgh06xf tuner code to take advantage of dvb_attach(). As a side effect, the dependency of dvb-bt8xx on dvb-pll has been removed, since the lgh06xf module itself will use dvb-pll, while remaining optional for the dvb-bt8xx driver through the use of DVB_FE_CUSTOMISE Acked-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4842): Updated camera driverJonathan Corbet2006-12-10
| | | | | | | | | | | | | | | | A couple of Cafe driver fixes, and support for the hue and saturation controls. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4839): Add support ptv-305Jelle Foks2006-12-10
| | | | | | | | | | | | | | | | Add subvendor/device of the ADSTech Instant TV Deluxe PTV-305 to the card list as card=45 (KWORLD_HARDWARE_MPEG_TV_XPERT). Signed-off-by: Jelle Foks <jelle@foks.8m.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4838): Fix cx88-blackbird null pointerJelle Foks2006-12-10
| | | | | | | | | | | | | | | | Allows 'debug=1' for cx88-blackbird module (dev needs to be valid for dprintk). Fixes a null-pointer dereference when using debug=1. Signed-off-by: Jelle Foks <jelle@foks.8m.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4836): Added support for both DVB frontends of the Lifeview TrioNico Sabbi2006-12-10
| | | | | | | | | | | | | | | | | | | | | | This card (like some others) supports both, DVB-T and a DVB-S. The patch adds an insmod option to select the frontend: use_frontend=0 -> DVB-T use_frontend=1 -> DVB-S Signed-off-by: Nico Sabbi <nsabbi@tiscali.it> Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4835): Added support for the Terratec Cinergy HT PCMCIA moduleHartmut Hackmann2006-12-10
| | | | | | | | | | | | | | | | This is a hybrid cardbus module. Besides the card support, i modified the definition names for AGC and GPIO of the tda10046. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4834): Cafe_ccic.c: make a function staticAdrian Bunk2006-12-10
| | | | | | | | | | | | | | This patch makes the needlessly global cafe_v4l_dev_release() static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4829): v4l2_type_names table is incompleteMauro Carvalho Chehab2006-12-10
| | | | | | | | | | | | Sliced VBI types are missing at the tables. Fixing it. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* | V4L/DVB (4825): FIX bug 5760: audio were not working on some bttv driversMauro Carvalho Chehab2006-12-10
| | | | | | | | | | | | | | | | | | | | This fixes a bug introduced by the -git commit: bbf7871e1cd58b89f77b1152f457250c6e94b614 It seems that some bttv apps can't work fine when audioset=0. Thanks to Christian Casteyde <casteyde.christian@free.fr> for pointing this. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>