summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
AgeCommit message (Collapse)Author
2005-11-02- Added function for nxt200x to change pll inputMichael Krufky
- For VSB set to input 0, for QAM set to input 1 - will only be set for cards that have set_pll_input defined Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-31[PATCH] swsusp: switch pm_message_t to structMichael Krufky
This adds type-checking to pm_message_t, so that people can't confuse it with int or u32. It also allows us to fix "disk yoyo" during suspend (disk spinning down/up/down). [We've tried that before; since that cpufreq problems were fixed and I've tried make allyes config and fixed resulting damage.] ***This patch breaks dvb-kernel compatability with kernels older than 2.6.14 Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Alexander Nyberg <alexn@telia.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Michael Krufky <torvalds@osdl.org>
2005-10-28Adding support for the Artec T1 USB2.0 box (real USB2.0)Patrick Boettcher
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-10-28From: Kirk Lapray <kirk.lapray@gmail.com>Michael Krufky
- Remove status check from nxt200x_readreg_multibyte, it really shouldn't be necessary. Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-28- Instead of determining how to write to the tuner based on which NIMMichael Krufky
is being used, make this determination based on whether the chip is a NXT2002 or NXT2004. - If NXT2004, write directly to tuner. If NXT2002, write through NXT chip. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-27From: Mark Adams <mark147m@gmail.com>Johannes Stezenbach
Fix a bug in the software demux which causes large MPEG sections to be lost when they follow very small sections. The problem happens when two sections begin in the same transport packet. The dvb_demux code resets its buffer only before the first of these sections. This means that when the second (or subsequent) section begins, there is up to 182 bytes of buffer space already used. If the following section is close to the maximum size, it currently won't fit in the (4096-byte) buffer and is thrown away. The fix is simply to enlarge the buffer by the size of one transport packet and correct one usage of the SECFEED_SIZE definition where what is really meant is the maximum size of a section. Signed-off-by: Mark Adams <mark147m@gmail.com>
2005-10-27- Add support for AVerTVHD MCE a180.Michael Krufky
- Like Philips TUV1236D, if NIM is ALPS TDHU2 then write directly to tuner. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-27Removed unnecessary check before kfreeMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-27Check that a callback (set_ts_params) is set before calling it.Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-27From: Kirk Lapray <kirk.lapray@gmail.com>Michael Krufky
* nxt200x.c, nxt200x.h - New frontend module that supports both NXT2002 and NXT2004. So far, only tested on NXT2004. After testing on NXT2002, we should deprecate the nxt2002 module, and implement this one instead on the applicable cards. * get_dvb_firmware: - Added support for the NXT2004 firmware. This firmware works with both the ATI HDTV Wonder and the AVerTVHD MCE a180. This was originally written by Jean-Francois Thibert * dvb-pll.c - Fixed minimum frequency for tuv1236d. It seems that the data sheets are wrong. Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-24fixed inittab register 0x12 for BSRU6/BSBE1Oliver Endriss
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-10-24stv0299_set_frontend(): reduced number of i2c transfers, set register 0x12 ↵Oliver Endriss
from inittab Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-10-24Updated comments of dvb_pll_tdvs_tua6034 to indicate thatMichael Krufky
it is used in both LG TDVS H061F and LG TDVS H062F Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-24From: Jesper Juhl <jesper.juhl@gmail.com>Johannes Stezenbach
This is the drivers/media/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in drivers/media/. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Cc: Johannes Stezenbach <js@linuxtv.org> Cc: Michael Krufky <mkrufky@m1k.net> Cc: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org>
2005-10-23From: Stuart Auchterlonie <stuarta@squashedfrog.net>Johannes Stezenbach
Nebula nxt6000 requires fe reset. Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>
2005-10-23From: Deti Fliegl <deti@fliegl.de>Johannes Stezenbach
USB hot unplug Oops fix. Signed-off-by: Deti Fliegl <deti@fliegl.de>
2005-10-23- Added support for the following:Michael Krufky
Philips TUV1236D - ATI HDTV Wonder ALPS TDHU2 - AverTVHD MCE A180 Samsung TBMV30111IN - Air2PC ATSC - 2nd generation These will be used in a new NXT200X driver that incorporates the NXT2002 driver and adds support for a couple NXT2004 based cards. Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-10-19dst_write_tuna needs to be protectedManu Abraham
-dst_write_tuna needs to be protected against simultaeneous writes, just like dst_command From Henrik Sjoberg Signed-off-by: Henrik Sjoberg <henke@epact.se> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2005-10-19Correct QAM symbol_rate_min for lgdt3302 and lgdt3303Michael Krufky
Thanks to: Mac Michaels and Steve Malenfant Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-18Check in missed out header.Manu Abraham
Signed-off-by: Manu Abraham <manu@linuxtv.org>
2005-10-18dst_ci_command also need to be protected, missed out in the previous checkin.Manu Abraham
Signed-off-by: Manu Abraham <manu@linuxtv.org>
2005-10-18Protect read/write commandsManu Abraham
-We need to protect the read/write commands with a mutex. Bug reported by Henrik Sjoberg <henke@epact.se> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2005-10-18Add comment to indicate that lgdt330x_config.clock_polarity_flip appliesMichael Krufky
only to LGDT3303 chip, and is disabled by default. Enabling this option on LGDT3302 will have no effect. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-16 * ../linux/drivers/media/dvb/.cvsignore:Michael Krufky
- Really make cvs quiet. .cvsignore in drivers/media wasn't enough. * ../v4l/scripts/merge-trees.sh: * ../v4l/scripts/unmerge-trees.sh: - Fix offsets. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-15Added support for Air2PC/AirStar 2 ATSC 3rd generation (HD5000)Michael Krufky
Signed-off-by: Taylor Jacob <rtjacob@earthlink.net> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-08Adds a time-delay to IR remote button presses for av7110_ir input,Oliver Endriss
such that it acts more like a keyboard. A short press will be treated as a single button press. Holding down a button on the remote will respond like holding down a key on the keyboard, and result in a key-repeat. This just introduces a delay between the 1st press, and going into key-repeat so that it is possible to get a single 'up'. Signed-off-by: Noone Important <nxhxzi702 at sneakemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-10-03Remove DEBUG_LOCKLOSS stuff - as the problem has been found and resolvedAndrew de Quincy
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-10-03Remove broken stv0299 enhanced tuning codeAndrew de Quincy
2005-10-01Add compat.h for backwards compatabilityMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-10-01Adapt to changes in video4linux cvs:Michael Krufky
rename BTTV_FOO --> BTTV_BOARD_FOO Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-10-01[PATCH] I2C: Kill i2c_algorithm.name (1/7)Michael Krufky
The name member of the i2c_algorithm is never used, although all drivers conscientiously fill it. We can drop it completely, this structure doesn't need to have a name. [PATCH] I2C: Kill i2c_algorithm.id (4/7) There are no more users of i2c_algorithm.id, so we can finally drop this structure member. [PATCH] I2C: Kill i2c_algorithm.id (6/7) In theory, there should be no more users of I2C_ALGO_* at this point. However, it happens that several drivers were using I2C_ALGO_* for adapter ids, so we need to correct these before we can get rid of all the I2C_ALGO_* definitions. Note that this also fixes a bug in media/video/tvaudio.c: /* don't attach on saa7146 based cards, because dedicated drivers are used */ if ((adap->id & I2C_ALGO_SAA7146)) return 0; This test was plain broken, as it would succeed for many more adapters than just the saa7146: any those id would share at least one bit with the saa7146 id. We are really lucky that the few other adapters we want this driver to work with did not fulfill that condition. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-09-26From: NooneImportant <nxhxzi702@sneakemail.com>Johannes Stezenbach
Add support to FE_DISHNETWORK_SEND_LEGACY_CMD code to support other frontends besides stv0299. The generic code is a fallback in the case that it doesn't work for some specific frontends (again stv0299 being a good example). Signed-off-by: NooneImportant <nxhxzi702@sneakemail.com> Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-09-26Fix integer overflow bug in read_signal_strength()Johannes Stezenbach
reported by Anthony Leclerc. Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-09-26From: Jon Burgess <jburgess@uklinux.net>Johannes Stezenbach
Ralph Metzler wrote: > AFAIR, there is a bug in tda10021.c in tda10021_readreg() which > references state->frontend.dvb->num > This is fatal if the frontend is not at the probed address and thus > not yet registered (no dvb entry set yet -> NULL pointer ...). The attached patch should get rid of the oops. Signed-off-by: Jon Burgess <jburgess@uklinux.net> Signed-off-by: Andrew Morton <akpm@osdl.org>
2005-09-21Fix possible buffer overflowManu Abraham
- Fixes a possible buffer overflow due to reading more than 8 bytes into an 8 byte long array Thanks to Perceval Anichini <perceval.anichini@streamvision.fr> for pointing out the bug. Signed-off-by: Manu Abraham <manu@linuxtv.org>
2005-09-21remove redundant checksumManu Abraham
- removes the redundant checksum calculation, which was also exported from the dst.c module Signed-off-by: Perceval Anichini <perceval.anichini@streamvision.fr> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2005-09-21fix DST DVB-S get_frequencyManu Abraham
- fixes a bug that caused the returned frequency to wrong Signed-off-by: Tom Hughes <tom@compton.nu> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2005-09-21VP-3040 TS204 fixManu Abraham
- fixes broken support for vp-3040 Thanks to: Lee Hammerton <savoury.snax@bulldoghome.com> Signed-off-by: Manu Abraham <manu@linuxtv.org> Note: Johannes, this patch fixes the previous patch (marked for testing) for the VP-3040 DVB-T cards. Haven't received a Signed-off-by from Lee Hammerton yet. Hopefully waiting for the same.
2005-09-21fix memory leaksManu Abraham
Signed-off-by: Perceval Anichini <perceval.anichini@streamvision.fr> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2005-09-21Sparse warningsManu Abraham
- remove address space related warnings Signed-off-by: Peter Hagervall <hager@cs.umu.se> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2005-09-21ASN.1 length field FixManu Abraham
Signed-off-by: Raymond Mantchala <raymond.mantchala@streamvision.ft> Signed-off-by: Manu Abraham <manu@linuxtv.org>
2005-09-19Fix charge pump setting in microtune_mt7202dtf_pll_set().Johannes Stezenbach
Thanks to Jyrki Niskala for reporting. Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-09-19The duplicate key definitions cause misinterpretations withPatrick Boettcher
other keys, e.g. the "TELETEXT" key clashes with "CHANNEL_UP" and thus can not be used with LIRC. This patch removes these duplicates. Signed-off-by: Thorsten Maerz <torte@netztorte.de>
2005-09-13Removed unavoidable error message and related code.Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
2005-09-12strip trailing whitespaceMichael Krufky
2005-09-11FusionHDTV5 Lite:Michael Krufky
- ignore FBUS & FDSR errors - add resync Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-11- leave I2C bride open at pll_sleep to support Philips EUROPA based cards.Hartmut Hackmann
- give an error message if the communication with the pll fails. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2005-09-10From: Andrew Morton <akpm@osdl.org>Johannes Stezenbach
Work around gcc-2.95.x macro expansion bug. Signed-off-by: Andrew Morton <akpm@osdl.org>
2005-09-10adding special stv0297-driver for the Technisat/B2C2 CableStar2 PCI and USBPatrick Boettcher
devices (USB untested) This driver could also be used with other stv0297-based cards, but someone has to do it. The CableStar2's stv0297-driver is tested with QAM32/64/128/256 and has a very nice reception-qualitiy. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-09-10Add DViCO FusionHDTV5 Lite to list of cards supported by lgdt330x moduleMichael Krufky