linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] cxd2820r: tweak search algorithm, enable LNA in DVB-T mode
@ 2012-03-15 17:33 Gianluca Gennari
  2012-03-15 17:33 ` [PATCH 1/3] cxd2820r: tweak search algorithm behavior Gianluca Gennari
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Gianluca Gennari @ 2012-03-15 17:33 UTC (permalink / raw)
  To: linux-media, mchehab; +Cc: crope, Gianluca Gennari

The PCTV 290e had several issues on my mipsel-based STB (powered by a
Broadcom 7405 SoC), running a Linux 3.1 kernel and the Enigma2 OS.

The most annoying one was that the 290e was able to tune the lone DVB-T2
frequency existing in my area, but was not able to tune any DVB-T channel.

Following a suggestion of the original author of the driver, I tried to
tweak the wait time in the lock loop. In fact, increasing the wait time
from 50 to 200ms in the tuning loop was enough to get the lock on most
channels.
But channel change was quite slow and sometimes, doing an automatic scan,
some frequency was not locked.
So instead of playing with the timings I changed the behavior of the
search algorithm as explained in the patch 1, with very good results.

With this modification, the automatic scan is 100% reliable and zapping
is quite fast (on the STB). There is no noticeable difference when using
Kaffeine on the PC.

But there was a further issue: a few weak channels were affected by high
BER and badly corrupted pictures. The same channels were working fine on
an Avermedia A867 stick (as well as other sticks).

The driver has an option to enable a "Low Noise Amplifier" (LNA) before the
demodulator. Enabling it, the reception of weak channels improved a lot,
as reported in the description of patch 2.

Finally, patch 3 is a trivial clean-up.

Best regards,
Gianluca Gennari

Gianluca Gennari (3):
  cxd2820r: tweak search algorithm behavior
  em28xx-dvb: enable LNA for cxd2820r in DVB-T mode
  cxd2820r: delete unused function cxd2820r_init_t2

 drivers/media/dvb/frontends/cxd2820r_core.c |    4 ++--
 drivers/media/dvb/frontends/cxd2820r_priv.h |    2 --
 drivers/media/video/em28xx/em28xx-dvb.c     |    3 ++-
 3 files changed, 4 insertions(+), 5 deletions(-)

-- 
1.7.5.4


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-03-23 14:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 17:33 [PATCH 0/3] cxd2820r: tweak search algorithm, enable LNA in DVB-T mode Gianluca Gennari
2012-03-15 17:33 ` [PATCH 1/3] cxd2820r: tweak search algorithm behavior Gianluca Gennari
2012-03-23 12:49   ` Antti Palosaari
2012-03-15 17:33 ` [PATCH 2/3] em28xx-dvb: enable LNA for cxd2820r in DVB-T mode Gianluca Gennari
2012-03-23 12:55   ` Antti Palosaari
     [not found]     ` <CACOeW9MNoRZOs5yruTSEqcj_576ih6cnpW-j0HzKCs0Qyy=P4w@mail.gmail.com>
2012-03-23 14:45       ` Mauro Carvalho Chehab
2012-03-15 17:33 ` [PATCH 3/3] cxd2820r: delete unused function cxd2820r_init_t2 Gianluca Gennari
2012-03-23 12:50   ` Antti Palosaari
2012-03-15 17:41 ` [PATCH 0/3] cxd2820r: tweak search algorithm, enable LNA in DVB-T mode Mauro Carvalho Chehab
2012-03-15 17:49   ` Antti Palosaari
2012-03-15 18:06     ` Mauro Carvalho Chehab
2012-03-15 18:07   ` Gianluca Gennari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).