summaryrefslogtreecommitdiff
path: root/linux/drivers/media
AgeCommit message (Collapse)Author
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-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-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-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-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-142.6.12 backward-compatMichael Krufky
From: Colin Guthrie <linuxtv@colin.guthr.ie> 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-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-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>
2006-01-12Updated MODULE_AUTHORMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12Build cx88-alsa when CONFIG_VIDEO_CX88_ALSA is selected.Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12Include missing MODULE_* macrosMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Include missing MODULE_* macros. Fixed cx88_vp3054_i2c: module license 'unspecified' taints kernel. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-12removed uneeded init on structs like static int foo=0Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - static vars are equal to zero by default. Removed unnecessary =0 from them, saving some data space; - Fixed compiling against kernels bellow 2.6.13. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-12VIDEO_SAA7134_ALSA shouldn't select SND_PCM_OSSMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> There's no reason for an ALSA driver to select an OSS legacy userspace interface. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-12Trivial changes to make sync with mainstreamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> kernel-sync - Trivial patch breaking if (ret=foo()) into two lines on mt312 - Changes url for stradis.com Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-12Some fixes to compat_ioctl32Mauro Carvalho Chehab
From: Guy Martin <gmsoft@tuxicoman.be> - Adds suppport or fix support for VIDIOC_ENUMSTD, VIDIOC_ENUMINPUT, VIDIOC_G_TUNER and VIDIOC_S_TUNER. - Fix the warnings at compile time and add checks for the pointer validity using access_ok(). - v4l_print_ioctl() has also be added to identify possible missing ioctls. - Has been tested on sparc64 and amd64. Other arches such as mips and hppa are expected to work as sparc, but not tested yet. Signed-off-by: Guy Martin <gmsoft@tuxicoman.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-12adding support for knc1 Tv Star dvb-sMichael Krufky
From: Regis Prevot <regis.prevot@anevia.com> - added knc1 tv star dvb-s support with philips tuner sd1878. Signed-off-by: Regis Prevot <regis.prevot@anevia.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12Added USB ID for DigitalNow DVB-T Dual USB, DViCO cloneMichael Krufky
- Added USB ID for DigitalNow DVB-T Dual USB, DViCO FusionHDTV DVB-T Dual USB clone Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12Add PCI ID for UltraView DVB-T Plus, rebranded DViCO FusionHDTV DVB-T PlusMichael Krufky
- Add PCI ID for UltraView DVB-T Plus, rebranded DViCO FusionHDTV DVB-T Plus Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12debug renamed to cx25840_debugMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> - debug var renamed to cx25840 to avoid conflicts with other var with the same name at kernel Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-11Fixes some bad global variablesHans Verkuil
- debug global var is already used inside kernel, so renamed debug to tuner_debug for the tuner module Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-11From: Panagiotis Issaris <takis@issaris.org>Mauro Carvalho Chehab
Conversions from kmalloc+memset to k(z|c)alloc Conversions from kmalloc+memset to k(z|c)alloc. kernel-sync Signed-off-by: Panagiotis Issaris <takis@issaris.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-11Fixes some bad global variablesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> - debug global var is already used inside kernel. - v4l_dbg now expects the debug var - global vars inside msp34xx renamed to msp_* Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-10Enable microtune for Pinnacle 300i boardsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> The Pinnacle 300i (like the PCTV Stereo) needs tda9887 port2 set to 1 for the tuner to work Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
2006-01-10Add support for DViCO FusionHDTV DVB-T USB devicesMichael Krufky
- Add support for DViCO FusionHDTV DVB-T USB devices (Thomson dtt7579 and LG z201 based) Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-10More whitespace cleanup in bttv-cards.cMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-10whitespace cleanup: insert missing space before curly bracketsMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-10Add bttv card MagicTV (rebranded MachTV)Michael Krufky
From: Julian Calaby <julian.calaby@gmail.com> - Add bttv card MagicTV (rebranded MachTV) Signed-off-by: Julian Calaby <julian.calaby@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-10Activate remote control on HVR1100Christopher Pascoe
Add a missing case which was preventing the operation of the HVR1100 remote. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-01-09disable IR_KEYTAB_TYPE flydvb_codes to prevent compile warningMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-09Several i2C cleanups to compile on both current linux and kernels >2.6.15Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-09cx88_subids whitespace cleanupChristopher Pascoe
Clean up a recently introduced spaces vs tabs whitespace problem. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-01-09replace omitted 'TODO:'Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-09Remove DViCO specific firmware hacks from the generic code.Christopher Pascoe
From: Patrick Boettcher <pb@linuxtv.org> Move the code that patches bluebird firmware before upload from the generic code into the cxusb driver itself. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-01-08Fix stereo and standard reporting of msp3400 (esp. for radio)Hans Verkuil
- Add VIDIOC_LOG_STATUS to the radio device ioctl list. - Reduce the confusion between modes and standards - Fix stereo reporting for radio. - Don't set i2c configuration if the chip doesn't support it. - Fix reporting of current standard for radio. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-08WSS output interface for av7110Oliver Endriss
- implemented v4l2 api for sliced vbi data output to pass WSS data from userspace to the av7110 Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-08msp3400 audio handling bug fixes.Hans Verkuil
- check capabilities for audio settings (volume, balance, bass, treble, loudness, mute) - added loudness support - added missing VIDEO_AUDIO_BALANCE flags for v4l1 compatibility - do not call msp_any_detect_stereo for non-autoselect chips to retrieve the current stereo setting: that will temporarily mute the sound. It is only needed when the stereo mode might be changed, and for autoselect msp processors that do not periodically need to update their stereo setting. - do not wake up the thread if the standard did not change. Prevents temporary audio drop-out if the standard is set to the same value. - fix confused stereo detect code where V4L2_TUNER_SUB_STEREO and V4L2_TUNER_MODE_STEREO values were used incorrectly. - stereo mode reporting was broken (v4l2 value used to index a string array expecting v4l1 mode values). - do not set dsp register 0x30 in the 3410d thread: that register does not exist for pre-'G' revision msp chips. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-01-08Add Kconfig option for wrongly programmed devicesPatrick Boettcher
From: Marc Koschewski <marc@osknowledge.org> A new Kconfig option makes the user able to select if the dibusb-mb driver shall claim faulty programmed USB devices which are coming with default Cypress USB IDs. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>