summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88
AgeCommit message (Collapse)Author
2005-11-09Moves 32 bit ioctl compat handler to V4L sybsystemMauro Carvalho Chehab
From: Arnd Bergmann <arnd@arndb.de> This moves the 32 bit ioctl compatibility handlers for Video4Linux into a new file and adds explicit calls to them to each v4l device driver. Unfortunately, there does not seem to be any code handling the v4l2 ioctls, so quite often the code goes through two separate conversions, first from 32 bit v4l to 64 bit v4l, and from there to 64 bit v4l2. My patch does not change that, so there is still much room for improvement. Also, some drivers have additional ioctl numbers, for which the conversion should be handled internally to that driver. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-06 - #elsif removed, since it breaks gentree stuff.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-06- Improves the audio handling for NICAM on cx88 audio.Mauro Carvalho Chehab
Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-02 - Added function for nxt200x to change pll inputMichael Krufky
Signed-off-by: Kirk Lapray <kirk.lapray@gmail.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-31 - correct nicam audio settings to match dscalerMichael Krufky
Thanks to: Ian Pickworth <ian@pickworth.me.uk> and Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-29 - VIDEO_CX88 need not depend on EXPERIMENTALMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-27 * ../linux/drivers/media/video/cx88/Kconfig:Michael Krufky
* ../linux/drivers/media/video/cx88/Makefile: * ../linux/drivers/media/video/cx88/cx88-dvb.c: (nxt200x_set_ts_param), (dvb_register): * ../v4l/Makefile: - Added support for NXT200X based cards (ATI HDTV Wonder) * ../linux/drivers/media/video/cx88/cx88-cards.c: (cx88_card_setup): - Cleaned up initialization of ATI HDTV Wonder. The card is now able to work in analog or digital mode and able to switch between them without any problems. * ../linux/drivers/media/video/tuner-simple.c: (default_set_tv_freq): - Fixed value in "Philips TUV1236D ATSC/NTSC dual in" tuner data. - When tuning the "Philips TUV1236D ATSC/NTSC dual in" tuner, make sure that we are in the correct tuning mode. Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-25 * ../linux/drivers/media/video/cx88/cx88-alsa.c:Nickolay V. Shmyrev
(snd_cx88_pointer), (snd_cx88_create): - Fix build warnings and errors. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-10-23 - Create Kconfig files for cx88 and saa7134 directories.Michael Krufky
These are new files, not yet in the kernel. When patching upstream, we will have to remove cx88 and saa7134 stuff from drivers/media/video/Kconfig and replace them with: source "drivers/media/video/cx88/Kconfig" source "drivers/media/video/saa7134/Kconfig" - Previously, when loading cx88-dvb or saa7134-dvb, all supported frontend modules get loaded as well, even if the hardware doesn't need it. - Added new functionality to give users a choice of whether to compile support for all dvb frontends, or to allow the user to tweak the build, and only include support for frontend modules needed by the hardware in the system. The option to build support for all frontends is selected by default. When unselected, a list of frontends is displayed, all selected by default. Users will be able to unselect the frontend modules that they do not wish to build support for. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-18 * ../linux/drivers/media/video/cx88/cx88-video.c: (radio_do_ioctl):Nickolay V. Shmyrev
* ../linux/drivers/media/video/saa7134/saa7134-video.c: (video_do_ioctl), (radio_do_ioctl): - Set tuner type in VIDIOC_G_TUNER. Signed-off-by: Elad Lahav <elad_lahav@users.sourceforge.net>
2005-10-17 - Some changes to allow compiling cx88 and saa7134 withoutMauro Carvalho Chehab
V4L1 support. - This patch will help obsoleting V4L1 API. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16- Whitespaces Cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-15 * ../linux/drivers/media/video/cx88/cx88-cards.c:Nickolay V. Shmyrev
* ../linux/drivers/media/video/tda9887.c: (tda9887_set_config): * ../linux/include/media/tuner.h: - New config option for tda9887 to specifically set intercarrier depending on current standard and card. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-10-11 * ../linux/drivers/media/video/cx88/Makefile:Michael Krufky
* ../linux/drivers/media/video/saa7134/Makefile: - Be sure to enable video-buf-dvb in kernel build. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-11 * ../linux/drivers/media/video/cx88/Makefile:Michael Krufky
* ../linux/drivers/media/video/saa7134/Makefile: - import cx88 and saa7134 Makefile(s) from 2.6.14-rc4 Signed-off-by: Michael Krufky <mkrufky@m1k.net>
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-10 - Some fixups for 2.4 kernel.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
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-tvaudio.c: (set_audio_registers), (set_audio_start),Nickolay V. Shmyrev
(set_audio_finish), (set_audio_standard_BTSC), (set_audio_standard_NICAM), (set_audio_standard_A2), (set_audio_standard_EIAJ), (set_audio_standard_FM), (cx88_detect_nicam), (cx88_set_tvaudio), (cx88_get_stereo), (cx88_set_stereo), (cx88_audio_thread): - Reindent cx88-tvaudio.c to keep coding style. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
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-21 * compat.h:Michael Krufky
* cx88-dvb.c: * saa7134-dvb.c: * scripts/merge-trees.sh: * scripts/unmerge-trees.sh: - move some #if kernel version into compat.h Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-14 * cx88-core.c:Nickolay V. Shmyrev
- Remove some #if 0 which doesn't have any sense Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-09-13 * bt832.c: (bt832_probe):Michael Krufky
* bttv-i2c.c: (attach_inform): * cx88-i2c.c: (attach_inform), (detach_inform): * id.h: * ir-kbd-i2c.c: (ir_probe): * msp3400.c: (msp34xx_sleep), (msp_attach): * saa6588.c: * saa6752hs.c: * saa7134-i2c.c: (attach_inform): * saa7134-tvaudio.c: (tvaudio_sleep): * tda7432.c: (tda7432_probe): * tda9875.c: (tda9875_probe): * tda9887.c: (tda9887_probe): * tuner-core.c: * tveeprom.c: (tveeprom_attach_adapter): * tvmixer.c: (tvmixer_ioctl), (tvmixer_clients), (tvmixer_cleanup_module): * video-buf.c: (videobuf_dma_free): - Step two, in preparation for 2.6.14-rcX compatability: - Compile tested against vanila kernels 2.6.13 & 2.6.8 - 2.6.14 compile still broken... Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-11 * bttv-cards.c:Michael Krufky
- duplicate initializer (near initialization for `bttv_tvcards[9].tuner_addr') duplicate initializer (near initialization for `bttv_tvcards[11].tuner_addr') * cx88-input.c, tuner.h, tvaudio.c, tveeprom.c: - Work around gcc-2.95.x macro expansion bug Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
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* cx88-blackbird.c:Catalin Climov
- fixed gcc 4.0 compile warnings by moving var declarations to the top of the function or block. Signed-off-by: Catalin Climov <catalin@climov.com>
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-07 * cx88-dvb.c: (lgdt330x_pll_set):Michael Krufky
- Removed unnecessary check for tda9887. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-07 * cx88-core.c: (cx88_core_get):Michael Krufky
* cx88-dvb.c: (dvb_register): - Implemented TUNER_SET_STANDBY on cx88 init. Additional call is necessary in cx88-dvb, to prevent noise on initialization of FusionHDTV5 Gold. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-07 * cx88-dvb.c: (dvb_buf_prepare):Michael Krufky
- Climov's previous patch <missing changelog entry>: Implemented the v4l2 mpeg api for blackbird cards. His commit broke cx88-dvb. Here is the fix. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-06Implemented the v4l2 mpeg api for blackbird cards.Catalin Climov
2005-09-05capitalized hex A-F changed to lowercase in pci subsystem id constantsMichael Krufky
2005-09-05Added new Avermedia card 550Nickolay V. Shmyrev
2005-09-04 * cx88-input.c: (cx88_ir_init):Michael Krufky
* ir-kbd-gpio.c: (ir_probe): - Fixed broken compile, due to input event device patch. Signed-off-by: Michael Fair <michael@daclubhouse.net> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-02 - Makes the input event device created by the V4L drivers for theMauro Carvalho Chehab
infrared remote matchable by udev rules. Signed-off-by: Rudo Thomas <rudo@matfyz.cz> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
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-30 * tuner-simple.c: (default_set_radio_freq):Michael Krufky
- The Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> * cx88-video.c: (cx8800_resume): - removed trailing whitespace. * Changelog: - fixed some entries missing mchehab's login. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-08-30 - Some error treatment implemented at resume functions.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-30 * bttv-cards.c,cx88-cards.c,tveeprom.h:Mauro Carvalho Chehab
- tveeprom patch was not complete. Completing it. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-30#include <linux/config.h> no longer needed.Michael Krufky
2005-08-25cx88-dvb has been incorrectly reporting the card name instead of frontend name:Michael Krufky
DVB: registering new adapter (cx88[0]). DVB: registering frontend 0 (DViCO FusionHDTV 3 Gold-T)... This patch corrects this behavior, like so: DVB: registering new adapter (cx88[0]). DVB: registering frontend 0 (LG Electronics LGDT3302 VSB/QAM Frontend)... Also, this removes a bad PCI subsystem ID for saa713x Sabrent card, and renames DVICO --> DViCO for bttv. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-08-20removed nested #if 1Michael Krufky
2005-08-20removed nested #if 1Michael Krufky
2005-08-19fix compile of cx88-dvb for lgdt330x in 2.6.13Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>