All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems tuning PAL-D with a Hauppauge HVR-1110 (TDA18271 tuner) - workaround hack included
@ 2011-09-28 12:50 Simon Farnsworth
  2011-09-28 14:20 ` Devin Heitmueller
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Simon Farnsworth @ 2011-09-28 12:50 UTC (permalink / raw)
  To: LMML; +Cc: Mauro Carvalho Chehab, Michael Krufky

(note - the CC list is everyone over 50% certainty from get_maintainer.pl)

I'm having problems getting a Hauppauge HVR-1110 card to successfully
tune PAL-D at 85.250 MHz vision frequency; by experimentation, I've
determined that the tda18271 is tuning to a frequency 1.25 MHz lower
than the vision frequency I've requested, so the following workaround
"fixes" it for me.

diff --git a/drivers/media/common/tuners/tda18271-fe.c 
b/drivers/media/common/tuners/tda18271-fe.c
index 63cc400..1a94e1a 100644
--- a/drivers/media/common/tuners/tda18271-fe.c
+++ b/drivers/media/common/tuners/tda18271-fe.c
@@ -1031,6 +1031,7 @@ static int tda18271_set_analog_params(struct 
dvb_frontend *fe,
 		mode = "I";
 	} else if (params->std & V4L2_STD_DK) {
 		map = &std_map->atv_dk;
+                freq += 1250000;
 		mode = "DK";
 	} else if (params->std & V4L2_STD_SECAM_L) {
 		map = &std_map->atv_l;

I've checked with a signal analyser, and confirmed that my signal
generator is getting the spectrum right - I am seeing vision peaking
at 85.25 MHz, with one sideband going down to 84.5 MHz, and the other
going up to 90.5MHz. I also see an audio carrier at 91.75 MHz.

I'm going to run with this hack in place, but I'd appreciate it if
someone who knew more about the TDA18271 looked at this, and either
gave me a proper fix for testing, or confirmed that what I'm doing is
right.
--
Simon Farnsworth
Software Engineer
ONELAN Limited
http://www.onelan.com/

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

end of thread, other threads:[~2011-10-03  8:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28 12:50 Problems tuning PAL-D with a Hauppauge HVR-1110 (TDA18271 tuner) - workaround hack included Simon Farnsworth
2011-09-28 14:20 ` Devin Heitmueller
2011-09-28 14:27   ` Simon Farnsworth
2011-09-30 10:48 ` Mauro Carvalho Chehab
2011-09-30 11:03   ` Simon Farnsworth
2011-09-30 11:59     ` Mauro Carvalho Chehab
2011-09-30 14:43       ` Devin Heitmueller
2011-09-30 11:11   ` Simon Farnsworth
2011-09-30 13:35     ` Mauro Carvalho Chehab
2011-09-30 18:05 ` Malcolm Priestley
2011-10-03  8:56   ` Simon Farnsworth
2011-09-30 19:37 ` Steven Toth
2011-09-30 21:25   ` Andy Walls
2011-10-03  8:57     ` Simon Farnsworth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.