Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: TDA10045H woes



On Wednesday 18 June 2003 00:25, Robert Schlabbach wrote:
> From: "Ben McKeegan" <ben@mckeegan.org>
>
> > I've tried running with the debug option and it appears to be looping,
> > continually calling tda_10045h_init, and never starts uploading the
> > firmware.  I stuck in a few extra debug output lines to isolate where
> > the problem was occuring.  It seems to be in the section of code that
> > disables the MC44BC374C:
>
> Ben, could you take a look at the "tin box" on your card and copy all
> markings you find on it? From what you describe it sounds like there is no
> remodulator on you card. Andrew's and my card have the "TDM1316L" tuner on
> it, where the "M" marks it as being a model with a remodulator, though that
> part is completely unused in the card design. There is also a "TD1316L"
> model, which does not have a demodulator.
>
> From what I gather, TechnoTrend picked the "TDM1316L" model for their
> cards, because it is the only one with a 5VDC option for feeding an active
> antenna through the antenna connector. There is a jumper below the tin box
> which enables that 5VDC. Does your card have that (or _any_) jumper on it?

Yup, I'm being too thorough; shouldn't be checking if that one fails.
Please try the attached patch... and send us the info on the tuner as well 
please.

If anyone's card is detected with "Tuner type A", please send me the details 
on the tin box, I'd really like to know what that is.

Index: linux/drivers/media/dvb/frontends/tda10045h.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/frontends/tda10045h.c,v
retrieving revision 1.2
diff -u -p -r1.2 tda10045h.c
--- linux/drivers/media/dvb/frontends/tda10045h.c	17 Jun 2003 12:01:33 -0000	1.2
+++ linux/drivers/media/dvb/frontends/tda10045h.c	18 Jun 2003 08:28:57 -0000
@@ -370,11 +370,7 @@ int tda10045h_init(struct dvb_i2c_bus *i
 	tuner_msg.buf = disable_mc44BC374c;
 	tuner_msg.len = sizeof(disable_mc44BC374c);
 	if (i2c->xfer(i2c, &tuner_msg, 1) != 1) {
-		if (i2c->xfer(i2c, &tuner_msg, 1) != 1) {
-			if (firmware)
-				vfree(firmware);
-			return -EIO;
-		}
+	        i2c->xfer(i2c, &tuner_msg, 1)
 	}
 	tda10045h_disable_tuner_i2c(i2c);
 

Home | Main Index | Thread Index