summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
AgeCommit message (Collapse)Author
2008-04-24drx397xD: fix math usageMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The previous code were using a div64 math specific to i386. Replace for an asm-generic one. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-09This patch adds support for the Micronas DRX3975D/DRX3977D DVB-TMauro Carvalho Chehab
demodulator. The module needs an external firmware file. The module has been tested on a Pinnacle 330e, but with modules that are currently not part of the linux-dvb tree. So consider this highly experimental, don't use this code unless you are an experienced kernel developer. Signed-off-by: Henk Vergonet <henk.vergonet@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-22tda10048: Adding an SNR tableSteven Toth
From: Steven Toth <stoth@hauppauge.com> Trying to improve the SNR reporting. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-22dib7000p: Add output mode param to the attach structMauro Carvalho Chehab
From: Steven Toth <stoth@hauppauge.com> This allows future drivers to select the most appropriate output mode. Signed-off-by: Steven Toth <stoth@hauppauge.com> Reviewed-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-21merge: http://linuxtv.org/hg/~endriss/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-21merge: http://linuxtv.org/hg/~hhackmann/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-21tuner-xc2028: Several fixes to SCODEMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch fixes several issues on SCODE: 1) The extracting tool weren't generating the proper tags for SCODE. This has almost no effect, since those tags shouldn't be used; 2) DIBCOM52 were using a wrong IF. It should be 5200, instead of 5700; 3) seek_firmware were wanting an exact match for firmware type. This is wrong. As result, no SCODE firmware were loaded; 4) A few files were including the wrong file for seeking demod firmwares; 5) XC3028_FE_DEFAULT can be used, if user doesn't want to load a firmware. However, this weren't documentated. This feature require more testing. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-21budget: Support for Activy budget card with BSBE1 tunerOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Add support for Activy budget card with BSBE1 tuner, subsystem id 0x1131:0x4f60. Low band and DiSEqC support should work now (BSBE1 and BSRU6 tuner). Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-21stv0299: Fixed some typosOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fixed some typos. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-20stv0299: Add flag to turn off OP0 outputOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Add flag to turn off OP0 output. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-20bsbe1: Use settings recommended by the manufacturerOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Reworked the BSBE1 tuner support in bsbe1.h to follow the ALPS-recommended parameters more closely. Tested with BSBE1-based Activy cards and TT DVB-S rev 2.3. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-20dvb-core: Implement DMX_SET_BUFFER_SIZE for dvrOliver Endriss
From: Andrea Odetti <mariofutire@gmail.com> Implementation of DMX_SET_BUFFER_SIZE for dvr. Synchronization of the code of DMX_SET_BUFFER_SIZE for demux and dvr. Signed-off-by: Andrea Odetti <mariofutire@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-20dvb-core: Fix DMX_SET_BUFFER_SIZE in case the buffer shrinksOliver Endriss
From: Andrea Odetti <mariofutire@gmail.com> This patch fixes the bug in DMX_SET_BUFFER_SIZE for the demux. Basically it resets read and write pointers to 0 in case they are beyond the new size of the buffer. Signed-off-by: Andrea Odetti <mariofutire@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-18Adding support for the NXP TDA10048HN DVB OFDM demodulatorSteven Toth
From: Steven Toth <stoth@hauppauge.com> Adding support for the NXP TDA10048HN DVB OFDM demodulator Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-18au8522: fix a small bug introduced by Checkpatch cleanupMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-18CodingStyle fixes for au8522 and au0828Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-17au8522: CleanupSteven Toth
From: Steven Toth <stoth@hauppauge.com> au8522: Cleanup Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-14tda826x: Calculate cut off fequency from symbol rateHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This patch makes the tuner work with transonders providing higher symbol rates. It was contributed by Oliver Endriss Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2008-04-13tda10086 coding stlye fixesHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> This patch replaces the c++ style comments. No functional changes Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2008-04-10au8522: consolidate mse2snr_lookup functionsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> consolidate au8522_qam256_mse2snr_lookup, au8522_qam64_mse2snr_lookup and au8522_vsb_mse2snr_lookup into a single function, au8522_mse2snr_lookup. Pass the mse2snr table into au8522_mse2snr_lookup depending on the modulation type. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-09au8522: Added SNR support and basic cleanupSteven Toth
From: Steven Toth <stoth@hauppauge.com> au8522: Added SNR support and basic cleanup Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-10tda10086: make the xtal frequency a configuration optionHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> Some DVB-S boards, i.e. with the SD1878 tuner, use a 4 MHz reference frequency. This reqires a different setup of the clock PLL. This patch adds an enum to the tda10086_config struct and sets the proper values for the boards. This patch also fixes the DVB-S section of the MD7134_BRIDGE_2 Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2008-04-09Adds selectable adapter numbers as per module optionMichael Krufky
From: Janne Grunau <janne-dvb@grunau.be> The adapter_nr module options can be used to allocate static adapter numbers on a driver level. It avoids problems with changing DVB apapter numbers after warm/cold boot or device unplugging and repluging. Each driver holds DVB_MAX_ADAPTER long array of the preferred order of adapter numbers. options dvb-usb-dib0700 adapter_nr=7,6,5,4,3,2,1,0 would result in a reversed allocation of adapter numbers. With adapter_nr=2,5 it tries first to get adapter number 2 and 5. If both are already in use it will allocate the lowest free adapter number. Signed-off-by: Janne Grunau <janne-dvb@grunau.be> Acked-by: Hermann Pitton <hermann.pitton@arcor.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-11merge:http://linuxtv.org/hg/~endriss/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-09budget: Add support for Fujitsu Siemens DVB-T Activy BudgetOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Implement support for Fujitsu Siemens DVB-T Activy Budget, sub-system id 0x1131:0x5f61. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-09budget-av: Fix CI interface on (some) KNC1 DVBS cardsOliver Endriss
From: Christoph Pfister <pfister@linuxtv.org> Quoting the commit introducing reinitialise_demod (3984 / by adq): "These cards [KNC1 DVBT and DVBC] need special handling for CI - reinitialising the frontend device when the CI module is reset." Apparently my 1894:0010 also needs that fix, because once you initialise CI/CAM you lose lock. Signed-off-by: Christoph Pfister <pfister@linuxtv.org> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-09budget-av: Fix support for certain camsOliver Endriss
From: Christoph Pfister <pfister@linuxtv.org> The current ci implementation doesn't accept 0xff when reading data bytes (address == 0), thus breaks cams which report a buffer size of 0x--ff like my orion one. Remove the 0xff check altogether, because validation is really the job of a higher layer. Signed-off-by: Christoph Pfister <pfister@linuxtv.org> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-08media/dvb/ttusb-dec replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/ttusb-budget replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/ttpci replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/frontends replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/dvb-usb replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/dvb-core replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/cinergyT2 replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/bt8xx replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-08media/dvb/b2c2 replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-05au8522: add function au8522_read_mseMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> add function au8522_read_mse, which will be used to compute snr TO DO: mse2snr Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-05au8522: fix au8522_read_ucblocks for qamMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> ucblocks are reported in separate registers for vsb & qam Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-02s5h1409: fix blown-away bit in function s5h1409_set_gpioMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Preserve all other bits when setting gpio. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-02au8522: replace __FUNCTION__ with __func__Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> replace __FUNCTION__ with __func__ and clean associated checkpatch.pl warnings. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-02au8522: codingstyle cleanupsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Fixed some checkpatch.pl warnings Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-01merge: http://linuxtv.org/hg/~mkrufky/tda18271Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-03-30tda18271: fix standard map debugMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Show IF level and rf agc top settings in standard map dumps. Dump standard map during attach if DBG_MAP or DBG_ADV is set. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-03-29New USB ID for Leadtek DVB-T USBPatrick Boettcher
From: Darryl Green <darryl.green@aanet.com.au> Detect Leadtek Winfast USB DTV Dongle with ID of 0x6f01 Signed-off-by: Darryl Green <darryl.green@aanet.com.au> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-03-29Added support for Terratec Cinergy T USB XXSPatrick Boettcher
From: Alexander Simon <alexander.simon@informatik.tu-muenchen.de> Alexander Simon found out that the Terratec Cinergy T USB XXS is just a clone of another DiB7070P-based device. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-03-29[PATCH] support key repeat with dib0700 ir receiverPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> This patch enables support for repeating last event when a key is holded down with dib0700 devices. It works with rc5 and nec remotes. It also fixes an annoying bug that floods kernel log with "Unknown key" messages after each keypress. This happened because the driver was not resetting infrared register after each poll so it kept polling last key even if nothing was being pressed. Fixing this, (calling rc_setup after each poll), permits to implement key repeat. Signed-off-by: Filippo Argiolas <filippo.argiolas at gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-03-29PATCH for various Dibcom based devicesPatrick Boettcher
From: Albert Comerma <albert.comerma@gmail.com> This patch introduces support for dvb-t for the following DiBcom based cards: - Terratec Cinergy HT USB XE (USB-ID: 0ccd:0058) - Terratec Cinergy HT Express (USB-ID: 0ccd:0060) - Pinnacle 320CX (USB-ID: 2304:022e) - Pinnacle PCTV72e (USB-ID: 2304:0236) - Pinnacle PCTV73e (USB-ID: 2304:0237) - Yuan EC372S (USB-ID: 1164:1edc) Signed-off-by: Hans-Frieder Vogt <hfvogt@gmx.net> Signed-off-by: Felix Apitzsch <F.Apitzsch@soz.uni-frankfurt.de> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Albert Comerma <albert.comerma@gmail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-03-29[PATCH] reworked patch to support TT connect S-2400Patrick Boettcher
From: Andre Weidemann <Andre.Weidemann@web.de> Added support for Technotrend connect S-2400. Signed-off-by: Andre Weidemann <Andre.Weidemann@web.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-03-29SkyStar2: preparing support for the rev2.8Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Support is prepared, but the CX24113-driver .c-file is missing. After sorting out the NDA problems, the file will be there immediatly. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-03-29CX24123: preparing support for CX24113 tunerPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> To support a new device based on CX24123 (using the CX24113-tuner) the following was done: - added two parameters to de-select the internal PLL-driver (for CX24108) and a AGC-function callback. - added a virtual i2c-adapter which allow simple access behind the i2c-gate - cleanup up some code Signed-off-by: Patrick Boettcher <pb@linuxtv.org>