summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/stv0297.c
AgeCommit message (Collapse)Author
2007-10-31stv0297: Signal strength fixesOliver Endriss
From: Hartmut Birr <e9hack@googlemail.com> Fixes the signal strength value (higher value = higher signal strength) and scales the value to the range of 0..ffff. The characteristic itself is wrong. To get proper values on a TT-C2300 in the range of 40..60% real signal strength, the values from the patch should be divide by two. The attached patch doesn't fix the characteristic. Signed-off-by: Hartmut Birr <e9hack@googlemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-08-09Fix the min/max frequencies of some DVB-C frontendsOliver Endriss
From: Hartmut Birr <e9hack@googlemail.com> The min frequencies of the DVB-C frontends are wrong. In Europe, the center frequency of the lowest channel is 50.5MHz and not 51MHz. All known cards with the stv0297/tda0002x/ves1820 frontend are able to tune to this frequency. I've changed the range to the lowest channel - 1/2 bandwidth and the highest channel + 1/2 bandwidth. For the design of the dvb driver, the frequency ranges must be part of the tuner and not of the frontend itself. The same frontend may be used for different tuners. The attached patch does only fix the ranges and not the design. Signed-off-by: Hartmut Birr <e9hack@googlemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-02-13stv0297: Enable BER/UNC countingOliver Endriss
From: Hartmut Birr <e9hack@googlemail.com> Enable BER/UNC counting for the stv0297 frontend. The idea for this patch comes from stv0297_cs.c. Signed-off-by: Hartmut Birr <e9hack@googlemail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-05-19merge: http://linuxtv.org/hg/~pb/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-14Change dvb_frontend_ops to be a real field instead of a pointer field inside ↵Patrick Boettcher
dvb_frontend From: Patrick Boettcher <pb@linuxtv.org> The dvb_frontend_ops is a pointer inside dvb_frontend. That's why every demod-driver is having a field of dvb_frontend_ops in its private-state-struct and using the reference for filling the pointer-field in dvb_frontend. - It saves at least two lines of code per demod-driver, - reduces object size (one less dereference per frontend_ops-access), - be coherent with dvb_tuner_ops, - makes it a little bit easier for newbies to understand how it works and - avoids stupid mistakes because you would have to copy the dvb_frontend_ops always, before you could assign the static pointer directly, which was dangerous. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-05-13Change the sweeprate for TT C1500 using QAM64Andrew de Quincey
From: Per Dalén <perda@oden.cnwab.se> This patch changes the sweeprate for TT C1500 using QAM64. It has been proven to work using QAM64 at a SRate of 6875 for the two different cable networks. Signed-off-by: Per Dalén <perda@oden.cnwab.se> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-28Support new dvb-ttusb-budget boards with stv0297Andrew de Quincey
From: Thomas Kaiser <linux-dvb AT kaiser-linux.li> Added config switch to stv0297 to control i2c STOP during write behaviour. Update frontend init in dvb-ttusb-budget. Enable i2c STOP on other users of stv0297. Signed-off-by: Thomas Kaiser <linux-dvb AT kaiser-linux.li> Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18Convert stv0297 to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert to tuner_ops calls. Remove pll function pointers from structure. Remove unneeded tuner calls. Add i2c gate control function. Remove extra exported pll gate control function. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-02-24fix stv0297 for qam128 on tt c1500 (saa7146)Michael Krufky
From: Mattias Nordstrom <nordstrom@realnode.com> I have a TT C1500 card (saa7146, STV0297) which had problems tuning channels at QAM128 (like the ones in the Finnish HTV / Welho network). A fix which seems to work perfectly so far is to change the delay for QAM128 to the same values as for QAM256 in stv0297_set_frontend(), Signed-off-by: Mattias Nordstrom <nordstrom@realnode.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-12-08more #if 0 / #if 1 fixes to be in sync with kernelMauro Carvalho Chehab
kernel-sync - more #if 0 / #if 1 fixes to be in sync with kernel Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-07[PATCH] fix missing includesMichael Krufky
I recently picked up my older work to remove unnecessary #includes of sched.h, starting from a patch by Dave Jones to not include sched.h from module.h. This reduces the number of indirect includes of sched.h by ~300. Another ~400 pointless direct includes can be removed after this disentangling (patch to follow later). However, quite a few indirect includes need to be fixed up for this. In order to feed the patches through -mm with as little disturbance as possible, I've split out the fixes I accumulated up to now (complete for i386 and x86_64, more archs to follow later) and post them before the real patch. This way this large part of the patch is kept simple with only adding #includes, and all hunks are independent of each other. So if any hunk rejects or gets in the way of other patches, just drop it. My scripts will pick it up again in the next round. Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-08-20while investigating the QAM_128-issue with the stv0297-driver for theMichael Krufky
Cablestar (which is not the same as the one in dvb-kernel CVS, yet), I fixed it, not by increasing the timeout, but by disabling the corner-detection for QAM_128 and higher. This patch has been tested on dvb-kernel cvs, and has been reported to work by multiple users. Some cards still need timeout increase on top of this patch. This will be addressed later. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-07-26Removed PWM parameter - moved into inittabs.Andrew de Quincy
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-07-26Externalise inittabsAndrew de Quincy
2005-06-23Increase some timeouts by a factor of 10 as suggested byJohannes Stezenbach
Mikko Hamalainen and Timo Ketolainen, to improve tuning for QAM128 / weak signal. Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-04-05 - remove unnecessary casts in frontendsKenneth Aafloy
2005-03-09 - kfree(NULL) is safeKenneth Aafloy
2005-03-02whitespace cleanup (remove ws at eol, sync with changes in mainline kernel)Johannes Stezenbach
2005-01-06Fix compile warningAndrew de Quincy
2005-01-06Patch from Markus Breitenberger to fix tuning problemsAndrew de Quincy
2004-12-18Compile fixAndrew de Quincy
2004-12-18Added reset in to tuning to re-tuning worksAndrew de Quincy
2004-12-18Compile fixAndrew de Quincy
2004-12-18Added sleep supportAndrew de Quincy
2004-12-18More fixes to initial demod freqAndrew de Quincy
2004-12-18Added stuff for initial demod frequencyAndrew de Quincy
2004-12-16Compile fixAndrew de Quincy
2004-12-16Fixes for av7110+stv0297 supportAndrew de Quincy
2004-11-22Minor formatting cleanupsAndrew de Quincy
2004-11-21Cleaned upAndrew de Quincy
2004-11-09Fixed up init tablesAndrew de Quincy
2004-11-09Sigh. another stupid bugAndrew de Quincy
2004-11-09Added wait loopAndrew de Quincy
2004-11-09This device cannot handle a read operation without a stop conditionAndrew de Quincy
between register and byte
2004-11-09Added support for stv0297 based cardsAndrew de Quincy
2004-10-28Imported FE_REFACTORING to HEADAndrew de Quincy