summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-01-19Included new sliced VBI types to videodev2.h and tvp5150Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - Added other sliced VBI types to videodev2.h - tvp5150 now uses standard V4L2 API codes from videodev2.h - Implemented VIDIOC_G_SLICED_VBI_CAP for tvp5150. This is dynamically filled based on defined VDP C-RAM values filled by the driver. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-19added some code for VBI processing and cleanup debug dumpMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - Renamed some registers and improved register debug message - Some cleanups at register dump - Added code to set VBI processor (VDP) - VBI code still incomplete Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-19Added credits for em28xx-cards.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - Added credits for sn9c102 kernel module and his author where some parts of em28xx-cards were based. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-19Fixes tvp5150a/am1 detection.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - tvp5150 type were determined by a secondary register instead of using ROM code. - tvp5150am1 have ROM=4.0, while tvp5150a have ROM=3.33 (decimal). All other ROM versions are reported as unknown tvp5150. - Except for reporting, current code doesn't enable any special feature for tvp5150am1 or tvp5150a. Code should work for both models (but were tested only for tvp5150am1). Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-19bug-fixMichael Krufky
VIDEO_CX88_ALSA must select SND_PCM From: Adrian Bunk <bunk@stusta.de> - VIDEO_CX88_ALSA must select SND_PCM Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-18Add probe check for the tda9840.Hans Verkuil
Add probe check for the tda9840 to prevent misdetection of a Micronas dpl3518a as a tda9840. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-18Fix handling of VIDIOC_G_TUNER audmode in msp3400Hans Verkuil
Fix handling of VIDIOC_G_TUNER audmode in msp3400: audmode is only changed by the user with S_TUNER, never by the driver. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-18Remove duplicated Avermedia keymaps.Nickolay V. Shmyrev
From: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2006-01-18Remove duplicated keymaps and add keymap for KWorld LTV883IR.Nickolay V. Shmyrev
From: Nickolay V. Shmyrev <nshmyrev@yandex.ru> * linux/drivers/media/common/ir-keymaps.c: * linux/drivers/media/video/bttv-input.c: (bttv_input_init): * linux/drivers/media/video/cx88/cx88-input.c: (cx88_ir_init): * linux/drivers/media/video/saa7134/saa7134-input.c: (saa7134_input_init1): * linux/include/media/ir-common.h: - Remove duplicated keymaps and add keymap for KWorld LTV883IR. Thanks to Jon Ferguson <jon@sd-6.org>. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2006-01-18More IR cleanupsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Clean-up duplicate and unused declarations Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-17From: Ricardo Cerqueira <v4l@cerqueira.org>Ricardo Cerqueira
Fix keymap declarations Bugfix Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-17IR cleanups and consistency adjustmentsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Changed all IR codes to hex, all, keymaps were renamed to ir_codes_<model>, and cleaned a duplicate entry Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-17IR keymaps are exported by the ir-common module nowRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Moved keymaps to the ir-common module, and export them from there, instead of #including them in each module Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-17Hauppauge Grey Remote supportRicardo Cerqueira
From: J.O. Aho <trizt@iname.com> For the Hauppauge PVR cards there are at least two different remotes, one completly black and one that is Grey and black, they keys differ in values eg Black remotes 'mute' has the same value as Grey remotes 'menu'. This enables the user to select which keymapping to use by using the hauppauge parm. Unlike to the black remote keys, all keys are mapped for the grey remote and the ATi usb remote mappings has been followed. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-17New IR keymap and changed number keys from keypad to regular keyboardRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Added new Hauppauge remote (Hauppauge grey), contributed by J.O. Aho <trizt@iname.com> (with some small changes) Changed KEY_KPx (keypad numerals) references to KEY_x, to avoid problems when NumLock is off (suggested by Peter Missel <peter.missel@onlinehome.de>) Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-17Move all IR keymaps to a single header fileRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> All the keymaps have the same structure, and can be shared between different chips, so it makes no sense having them scattered between the input files. This aggregates them all in a new header. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-17Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual.Michael Krufky
- Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-15From: Russell King <rmk@arm.linux.org.uk>Mauro Carvalho Chehab
Add bttv sub bus_type probe and remove methods Add bttv sub bus_type probe and remove methods kernel-sync Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-15Added remote control support for pinnacle pctvMichael Krufky
From: Markus Rechberger <mrechberger@gmail.com> - Added remote control support for pinnacle pctv Signed-off-by: Markus Rechberger <mrechberger@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-15Samsung TBMV30111IN has 6 entriesMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-15tuner_params->tda988x is unused right now, so we disable it for 2.6.16Michael Krufky
- tuner_params->tda988x is unused right now, so let's disable it for 2.6.16 - This is currently happening at the card level, but the plan is to move this configuration into the tuner_params configuration. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-15clean up some commentsMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-15fix some sound quality & distortion problems.Michael Krufky
From: Ricardo Cerqueira <v4l@cerqueira.org> - fix some sound quality & distortion problems. Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-15Return -EINVAL for unknown commands in msp3400 module.Hans Verkuil
- Return -EINVAL for unknown commands. Requested by Mike Isely. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-15Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this.Hans Verkuil
- Moved MSP_SET_MATRIX to v4l2-common.h - Fix typos and integer overflows in tea5767.c - Split old freq field into a tv_freq and a radio_freq. Prevents that a radio tuner is initialized with a tv frequency or vice versa. - When switching to radio mode initialize the tuner with the last used radio frequency (this was already done for the TV mode). As a result of these changes the tuner module now remembers the last set radio and TV frequencies, which is what you would expect to happen. - Move out of range frequencies to the closest valid frequency as per v4l2 API spec. - Fix incorrect initial radio frequency (multiplier is 16000, not 16) - Add boundary check for out of range frequencies. - Use new flag to check if the order of the CB and freq. depends on the last set frequency. That is needed for some tuners or you can get static as a result. The flag is added for those tuners where I know that the datasheet indicates that this is necessary. - For this new check use the last set div value, not the last frequency as radio frequencies are always much higher due to the 16000 multiplier. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-15Move tda988x options into tuner_params struct.Michael Krufky
- tda988x parameters should be defined per tuner_param_type, for each tuner_params array member. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-15Update hwdata scriptNickolay V. Shmyrev
From: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2006-01-15Fix compilation with AlphaMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - BOOT_SIZE name is also used at alpha and were breaking compiling with allyesconfig. - All BOOT_* renamed to AV7110_BOOT* to fix and keep names with the same style. Thanks to Andrew Morton for pointing this. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-15Semaphore to mutex conversion on drivers/mediaMauro Carvalho Chehab
From: Ingo Molnar <mingo@elte.hu> Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. 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-01-15V4L/DVB (3354e): bttv semaphore to mutex conversionMauro Carvalho Chehab
From: Ingo Molnar <mingo@elte.hu> Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. build-tested. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync
2006-01-15Fix for lack of analog output on some cx88 boardsMauro Carvalho Chehab
From: Panagiotis Christeas <p_christ@hol.gr> - Workaround to fix a known regression at cx88-tvaudio.c - provide a module parameter workaround to always enable analog output. Signed-off-by: Panagiotis Christeas <p_christ@hol.gr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-15From: Adrian Bunk <bunk@stusta.de>Mauro Carvalho Chehab
make some code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-15cx88 Kconfig fixes for cx88-alsaMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - cx88 alsa is experimental. - Removed need of PCM OSS for an ALSA module. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-15git dvb callbacks fixMauro Carvalho Chehab
From: Andrew Morton <akpm@osdl.org> Not sure what went wrong here, but SND_PCI_PM_CALLBACKS got deleted. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-15Remove obsolete build instructions from pvrusb2Mike Isely
This removes last vestiges of previous pvrusb2 build setup, since this build is driven now by the main build. Makefile here is adjusted to outsource build actions "upstairs" to V4L if it is still used so previous behavior is still present. From: Mike Isely <isely@pobox.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mike Isely <isely@pobox.com>
2006-01-15prevent 'make pvrusb2' from running twice in a row.Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-15'make pvrusb2' symlinks pvrusb2 code to build with the rest of cvsMichael Krufky
- Add option to build pvrusb2 driver along with the rest of v4l-dvb cvs. - make pvrusb2 will symlink the code from the v4l_experimental dir. - to build: make pvrusb2 make make install - Always do 'make clean' before cvs commit, to un-patch the Makefile, returning the build environment to its original state. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-14Turn frame locked sound on, basic support for FM radio with TDA8275(a)Hartmut Hackmann
- enabled audio PLL. This is mandatory for NICAM sound - modify FM IF frequency to 5.5MHz for SAA7133/35 if tuner is tda8290 Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-01-14Change global "debug" to "pvrusb2_debug"Mike Isely
Note - I think this is the only actual global variable in the entire driver right now. (Other stuff is either static or held through a context pointer). From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-01-14Use v4l_print_ioctl() where appropriateMike Isely
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-01-142.6.12 backward-compatMichael Krufky
From: Colin Guthrie <linuxtv@colin.guthr.ie> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-14Start using cx2341x.h for encoder commandsMike Isely
-Change pvrusb2-encoder.c to use encoder command definitions from cx2341x.h instead of hardcoding those definitions directly. From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-01-14Remove pvrusb2 code which doesn't belong in V4LMike Isely
-Clean up code & comditional compilation stuff which doesn't belong in V4L tree or otherwise might cause compilation problems in certain kernel environments. From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
2006-01-13i2c ids for upd64031a saa717x upd64083 wm8739Tyler Trafford
add i2c ids for drivers: upd64031a saa717x upd64083 wm8739 Signed-off-by: Tyler Trafford <tatrafford@comcast.net>
2006-01-12disable all dvb tuner param_types until we need themMichael Krufky
- add param_type dvbs2 - disable all dvb param_types, which will not be needed until we merge dvb-pll. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12Add support for Samsung tuner TCPN 2121P30AHans Verkuil
Add support for Samsung tuner TCPN 2121P30A, used in Hauppauge PVR-500 cards. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-12reactivated CARDLIST.tuner automatic update script.Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12cleaned up MODULE_AUTHOR for better codingstyleMichael Krufky
- cleaned up MODULE_AUTHOR for better codingstyle Mauro, please fold this into the previous patch, entitled, "Updated MODULE_AUTHOR" Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12disable CARDLIST.tuner automatic regeration scriptMichael Krufky
- disable CARDLIST.tuner automatic regeration script, until it can be updated to handle latest redesign. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12Redesign tuners struct for maximum flexibilityMichael Krufky
From: Michael Krufky <mkrufky@m1k.net> - tunertype struct redefined to allow one or more tuner_params structs per tuner definition, one for each video standard. - Each tuner_params struct has an element containing an arbitrary amount of tuner_ranges. (this is needed for dvb tuners - to be handled later) - A tuner_range may be referenced by multiple tuner_params structs. There are many duplicates in here. Reusing tuner_range structs, rather than defining new ones for each tuner, will cut down on memory usage, and is preferred when possible. - tunertype struct contains an element, has_tda988x. We must set this for all tunertypes that contain a tda988x chip, and then we can remove this setting from the various card structs. - Improves tuners array memory usage efficiency. - Right now, all tuners are using the first tuner_params[] array element for analog mode. In the future, we will be merging similar tuner definitions together, such that each tuner definition will have a tuner_params struct for each available video standard. At that point, the tuner_params[] array element will be chosen based on the video standard in use. Signed-off-by: Michael Krufky <mkrufky@m1k.net>