summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88.h
AgeCommit message (Collapse)Author
2006-04-13cx88: added support for KWorld MCE 200 DeluxeMichael Krufky
From: Valentin Zagura <puthre@gmail.com> This patch adds support for KWorld MCE 200 Deluxe. Raw video is working perfectly, MPEG capture using cx88-blackbird is also working, but the quality could be improved. FIXME: tested TV input only, disabled composite, svideo and radio until they can be tested also. Signed-off-by: Valentin Zagura <puthre@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-11Since we are not using CVS, $Id makes no sense anymoreMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-07Add support for pcHDTV HD5500 ATSC/QAMRusty Scott
From: Rusty Scott <rustys@ieee.org> Added card definitions for the pcHDTV HD5500 ATSC/QAM card Signed-off-by: Rusty Scott <rustys@ieee.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-19Cleanup audio input handlingHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Cleanup audio input handling in bttv and tvaudio: - inputs were specified that were never used - mute was handled as a special input which led to confusing code - confusing naming made it difficult to see if the setting was for i2c or gpio. The old audiochip.h input names moved to tvaudio.h. Currently this is used both by tvaudio and msp3400 until the msp3400 implements the new msp3400-specific inputs. Detect in bttv the tvaudio and msp3400 i2c clients and use these client pointers to set the inputs directly instead of broadcasting the command. Removed AUDC_SET_INPUT. Now replaced by VIDIOC_S_AUDIO. This will be replaced again later by the new ROUTING commands. Removed VIDIOC_G_AUDIO implementations in i2c drivers: this command is a user level command and not to be used internally. It wasn't called at all anyway. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-15Merging from mchehab vivi branchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Make video_buf more genericMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Video_buf were concerned to allow PCI devices to be used as video capture devices. This patch extends video_buf features by virtualizing pci-dependent functions and allowing other type of devices to use it. It is still DMA centric, although it may be used also by devices that emulates scatter/gather behavior or a DMA device Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-09Cx88 balance change errore messages - fixMauro Carvalho Chehab
There is an error in the cx88 code that causes this message in the syslog when balance is changed at full volume: Mar 4 18:35:08 ian2 kernel: cx88[0]: irq pci [0x1] vid* Mar 4 18:35:39 ian2 last message repeated 348 times Mar 4 18:36:01 ian2 last message repeated 564 times ... and so on The attached patch cures this problem. Signed-off-by: Ian Pickworth <ian@pickworth.me.uk> Signed-off-by: Marcin Rudowski <mar_rud@poczta.onet.pl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-28DViCO FusionHDTV DVB-T Hybrid and ZL10353-based FusionHDTV DVB-T Plus supportChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Add support for the FE6600 tuner used on the DVB-T Hybrid board. Add support for the Zarlink ZL10353 DVB-T demodulator, which supersedes the MT352, used on the DViCO FusionHDTV DVB-T Hybrid and later model Plus boards. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-02-06sem2mutex: fix local build and backwards-compatabilityMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Patch 3320 breaks our repository. This should fix it. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-06sem2mutex: drivers/media/, #2Mauro Carvalho Chehab
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Kernel-sync from patch 3318b Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-05Add initial support for KWorld HardwareMpegTV XPertMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Add initial support for KWorld HardwareMpegTV XPert. - uses silicon tuner: tda8290 + tda8275 - standard video using cx88 broadcast decoder is working. - blackbird mpeg encoder support (cx23416) not yet working. - FM radio untested. - audio is only working correctly in television mode, all other modes disabled. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-01-08DViCO FusionHDTV DVB-T Dual Digital PCI supportChristopher Pascoe
Support for DVB reception on the PCI half of the DViCO DVB-T Dual Digital. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-01-04Add Kworld/Vstream Xpert DVB-T card with cx22702 tuner.Nickolay V. Shmyrev
From: Manenti Marco <marco_manenti@colman.it> * linux/Documentation/video4linux/CARDLIST.cx88: * linux/drivers/media/video/cx88/cx88-cards.c: * linux/drivers/media/video/cx88/cx88-dvb.c: (dvb_register): * linux/drivers/media/video/cx88/cx88.h: Add Kworld/Vstream Xpert DVB-T card with cx22702 tuner. Signed-off-by: Manenti Marco <marco_manenti@colman.it> Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2006-01-01ioctls cleanups.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> - Now, all internal ioctls are at v4l2-common.h - removed unused ioctl at saa6752hs.h - all debug ioctl code moved to v4l2-common.c - removed duplicated stuff from other cards Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-23Add support for VP-3054 HDTV boardMauro Carvalho Chehab
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> - Added support for VP-3054 (aka DigitalNow DNTV Live! DVB-T Pro!). - This board has a secondary I2C bus and remote control. - Added a new module to handle secondary I2C bus on this board. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07kernel-sync patches.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-05Several fixes for Hauppauge Roselyn Design (blackbird)Mauro Carvalho Chehab
From: Steven Toth <stoth@hauppauge.com> - This patch adds eeprom awareness for the Roslyn. In effect, the blackbird will query the tuner V4L2_STD_xxxx definitions to determine whether it's connected to a NTSC or PAL tuner. Based on that, various default values will change for blackbird encoding. - Fixes back panel SVIDEO/COMPOSITE with audio, work properly. - Fixes a problem with lip sync issues, due to bad framerate vs audio rate assumptions. - Fixed a problem with the GPIO configuration in cx88-cards. - Removed the comments in cx88-cards that made no sense. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-02Adding support for the Hauppauge HVR1100 and HVR1100-LP products.Michael Krufky
From: Steven Toth <stoth@hauppauge.com> - Add support for the Hauppauge HVR1100 and HVR1100-LP products. - Add i2c_gate_ctrl callback function to dvb_frontend_ops struct. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-11-22add support for KWorld DVB-S 100Michael Krufky
From: Vadim Catana <skystar@moldova.cc> - add support for KWorld DVB-S 100, based on the same chips as Hauppauge Nova-S Plus (CX23883/CX24123/CX24109), without the Intersil ISL6421, which is used for LNB control. - LNB voltage and tone are controled by LNBDC and LNBTone bits from register 0x29 of the CX24123 demodulator. - The MO_GP0_IO register from CX23883 is used to turn LNB power on and off. Signed-off-by: Vadim Catana <skystar@moldova.cc> Acked-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-11-18enabled audio DMA setting on cx88 chips, even when dma not in useMauro Carvalho Chehab
- enabled audio DMA transfer code even when DMA not in use to solve a problem on some broken cx88 chips. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-13Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products.Michael Krufky
From: Steven Toth <stoth@hauppauge.com> - Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products. - Basic DVB-S support is working, analog video inputs work. - It has one or two fixme comments, primarily analog GPIOs (audio) and eeprom parsing. - This should not be sent upstream yet! - CX24123 code (in cx88-dvb.c) disabled until the cx24123 module is added to dvb-kernel cvs. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-31 * ../linux/drivers/media/video/cx88/cx88-cards.c:Nickolay V. Shmyrev
* ../linux/drivers/media/video/cx88/cx88-cards.h: * ../linux/Documentation/video4linux/CARDLIST.cx88: - New Avermedia 303 card (without radio). Signed-off-by: Lubomir Bulej <bulej@nenya.ms.mff.cuni.cz>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-11 * ../linux/drivers/media/video/cx88/cx88.h:Michael Krufky
* ../v4l/Make.config: * ../v4l/Makefile: - Allow to disable build of video-buf-dvb in Make.config using compile flag CONFIG_VIDEO_BUF_DVB - replaced check using this method: -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)) +#ifdef HAVE_VIDEO_BUF_DVB * ../linux/drivers/media/video/saa7134/saa7134.h: - #include <linux/notifier.h> in saa7134.h to fix build Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-11 From: David Shirley <David.Shirley@team.telstra.com>Michael Krufky
- Add DVB card WinFast DTV1000-T Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-09From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
- Lots of small changes to allow compiling with kernel 2.4. Compilation result not tested yet. - After this patch, .version should be removed, since its syntax has changed. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-09From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
* ../Make - created make changelog to make easier to generate patches. * ../linux/drivers/media/video/cx88/cx88-core.c: * ../linux/drivers/media/video/cx88/cx88.h: * ../linux/kernel/drivers/usb/media/em2820-core.c: * ../linux/kernel/drivers/usb/media/em2820-i2c.c: * ../linux/kernel/drivers/usb/media/em2820-video.c: * ../linux/kernel/drivers/usb/media/em2820.h: - removed unneccessary includes. * ../v4l/scripts/prepare-ChangeLog.pl: - Modified to avoid detecting ChangeLog as a change. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-05 * cx88.h, cx88-cards.c: (cx88_card_setup):Michael Krufky
- Added analog support for ATI HDTV Wonder * tuner.h, tuner-simple.c: (default_set_tv_freq): - Added support for the Philips TUV1236D tuner on the ATI HDTV Wonder Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-04 * cx88-cards.c:Nickolay V. Shmyrev
* cx88.h: - Added Kworld Vstream ExpertDVD. Signed-off-by: Alexander Wold <awold@bigfoot.com>
2005-09-11 * cx88-core.c: (cx88_risc_decode):Michael Krufky
* cx88-video.c: (video_read): * cx88.h: - Fix a number of sparse warnings. * videodev2.h: - strip trailing whitespace. Signed-off-by: Peter Hagervall <hager@cs.umu.se> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-10 - some clean up in cx88-tvaudio.cMauro Carvalho Chehab
- replaced hex values when writing to AUD_CTL to EN_xx for better reading. - Moved writing to register AUD_CTL from "set_audio_start" to "set_audio_finish". - Changed the order of writing Lang2 to work correctly - Added an "#if 0" to comment out existing code in "cx88_get_stereo" because simply reading from register "AUD_STATUS" is _not_ enough to auto-detect btsc-sap, dual-fm-stereo or nicam. It is simply not working. - Using "EN_A2_AUTO_STEREO" does not work. - Allow select by hand between Mono, Lang1, Lang2 and Stereo. - *Bad side effect* is now if I'm selecting for example stereo but it is not supported from tv-channel I'm currently receiving loud noise. Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-09-06Implemented the v4l2 mpeg api for blackbird cards.Catalin Climov
2005-09-05Added new Avermedia card 550Nickolay V. Shmyrev
2005-08-30Reversed PAL_I patch since it is broken.Mauro Carvalho Chehab
2005-08-30 * cx88-core.c: (set_tvaudio):Mauro Carvalho Chehab
* cx88-tvaudio.c: (set_audio_standard_NICAM), (set_audio_standard_A2), (set_audio_standard_FM), (cx88_detect_nicam), (cx88_set_tvaudio), (cx88_newstation), (cx88_set_stereo): * cx88.h: - Added nicam autodetection for PAL B/G/D/K/I/L. If it fails then falls back to fm / am mono audio. - Added debug messages about detecting state. - 'set_audio_standard_NICAM_L' and 'set_audio_standard_PAL_I' moved to 'set_audio_standard_A2' and 'set_audio_standard_NICAM' for cleaner code. - Changed some WW_xx values for better handling. - Added 'use_nicam' to 'core' to save nicam detecting state for later use in 'cx88_set_stereo'. - Not working: - Auto fall back to fm / am mono if transmitting quality goes bad. - A2 dual fm stereo auto detecting. Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-16Get rid of '//' comments, replace them with #if 0 and /**/.Catalin Climov
2005-08-16Some reorg: move some bits to struct cx88_core, factor out common ioctl'sCatalin Climov
to cx88_do_ioctl.
2005-08-16Prepare for factoring out some common code (see ChangeLog for details).Catalin Climov
2005-08-10 * Make.config, MakeMauro Carvalho Chehab
- Added support for future alsa support, yet to be finished. * bt87x-alsa.c: - bt87x.c that is inside ALSA tree. Yet to make it compile from here. * cx88-alsa.c,cx88.h: - cx88 ALSA skeleton. It is not yet working. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-24 * cx88-cards.c, cx88.h, tuner-simple.c, tuner.h:Michael Krufky
- Added analog support for DViCO FusionHDTV5 Gold. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-07-13 - Linux/version.h removed. Replaced by linux/utsname.hMauro Carvalho Chehab
where KERNEL_VERSION is required. - incremented versions for CX88, BTTV and SAA7134. * compat.h: - Included linux/version.h. This change is required to be compatible with a patch applied at Kernel by Olaf Hering <olh@suse.de> this patch does reduce kernel dependency of its version number. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-07 * cx88-core.c, cx88-mpeg.c, cx88-video.c, cx88.h:Mauro Carvalho Chehab
- Some debug structs moved to their own .c file and converted to static - some // comments converted to #if 0 * cx88-mpeg.c: - Small cleanup for thinks like 0<<14 Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-01 * cx88-cards.c, cx88-dvb.c, cx88.h:Michael Krufky
* doc/CARDLIST.cx88: - Add support for TerraTec Cinergy 1400 DVB-T. Signed-off-by: Uli Luckas <luckas@musoft.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-06-22 * bttv-cards.c, cx88-core.c, cx88.h, v4l1-compat.c,doc/CARDLIST.bttv,Mauro Carvalho Chehab
doc/CARDLIST.saa7134, doc/Cards: - tail spaces removed. * cx88-core.c, cx88.h: - cx88_pci_irqs changed to static * doc/V4L1_API.html: - Now informs that it is obsolete. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-20 * cx88-cards.c, cx88-dvb.c, cx88-mpeg.c:Michael Krufky
* cx88-video.c, cx88.h, tuner.h: * CARDLIST.cx88: - Fix DViCO Board names as per email from DViCO Systems Software Engineer Jeff Lee: "DTT7611 model is 3Gold-T ... Temic 4042 is the 3Gold-Q model." Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-06-17 * Make.config, Makefile, cx88-core.c, cx88-video.c:Nickolay V. Shmyrev
* cx88.h, msp3400.c, saa6752hs.c: * tda9887.c, tuner-core.c, tvaudio.c, tveeprom.c: - Remove unneeded config options. Now I2C_CLIENT_MULTI and I2C_NORMAL_RANGE is checked on the fly.
2005-06-12 Add support for ADS Tech Instant TV DVB-T PCI. Thanks toNickolay V. Shmyrev
BenoƮt Laniel <benoit.laniel@gmail.com>.
2005-06-12 * audiochip.h, compat.h, cx22702.h, cx88-core.c, cx88-dvb.c,Mauro Carvalho Chehab
cx88-i2c.c, cx88-vbi.c, cx88-video.c, dpl3518.c, dpl3518.h, i2c-compat.h, id.h, msp3400.h, or51132.c, or51132.h, plx9054.h, rds-saa6588.c, saa7134-dvb.c, tda7432.c, tda9875.c, tvaudio.c, tveeprom.h, tvmixer.c, v4l1-compat.c, video-buf-dvb.h: - Minor changes to synchronize with -mm series; - PAL-60 code maintained for SAA7134. However, -mm has different values; - Now, every .c or .h file has cvs field ID.
2005-06-08Lots of change to provide an elegant way to select radio I2C address.Mauro Carvalho Chehab
It should be better tested and expanded to other *-cards.c. * cx88-cards.c, cx88-core.c, cx88-i2c.c, cx88-video.c, cx88.h, tea5767.c, tuner-core.c, tuner-simple.c, tuner.h: - Improved radio tuner support. - There is a new option to cx88 radio=xxx,xxx,xxx for radio adapters; - cx88-boards now specifies radio_type, tuner_addr and radio_addr - ADDR_UNSET macro means find default radio/video tuner
2005-06-05Deemphasis code for cx88 chipset implemented. Currently, not used.Mauro Carvalho Chehab