[linux-dvb] Problem with latest v4l-dvb hg

Mauro Carvalho Chehab mchehab at infradead.org
Sat Jun 14 13:58:34 CEST 2008


Hi Tim,

I'm not sure if it is the same bug, but, on a device I have with tda10046, I
need to slow firmware load, otherwise, it will fail. This happens on an AMD 64
dual core notebook @1.8GHz. The same board, on an Intel single core @1.1GHz
works without troubles.

Please test the enclosed patch.

On Mon, 09 Jun 2008 20:24:19 +0800
timf <timf at iinet.net.au> wrote:

> > [   38.194402] tuner' 2-004b: chip found @ 0x96 (saa7133[0])
> > [   38.286214] tda829x 2-004b: setting tuner address to 61
> > [   38.370076] tda829x 2-004b: type set to tda8290+75a
> > [   42.195417] saa7133[0]: registered device video0 [v4l2]
> > [   42.195437] saa7133[0]: registered device vbi0
> > [   42.195461] saa7133[0]: registered device radio0
> > [   42.355808] DVB: registering new adapter (saa7133[0])
> > [   42.355815] DVB: registering frontend 0 (Philips TDA10046H DVB-T)...
> > [   42.427655] tda1004x: setting up plls for 48MHz sampling clock
> > [   44.678388] tda1004x: timeout waiting for DSP ready
> > [   44.718322] tda1004x: found firmware revision 0 -- invalid
> > [   44.718326] tda1004x: trying to boot from eeprom


diff -r 000ffc33cb89 linux/drivers/media/dvb/frontends/tda1004x.c
--- a/linux/drivers/media/dvb/frontends/tda1004x.c	Sat Jun 14 08:27:34 2008 -0300
+++ b/linux/drivers/media/dvb/frontends/tda1004x.c	Sat Jun 14 08:53:01 2008 -0300
@@ -135,6 +135,9 @@
 
 	msg.addr = state->config->demod_address;
 	ret = i2c_transfer(state->i2c, &msg, 1);
+
+	if (state->config->xtal_freq == TDA10046_XTAL_16M)
+		msleep(1);
 
 	if (ret != 1)
 		dprintk("%s: error reg=0x%x, data=0x%x, ret=%i\n",



Cheers,
Mauro



More information about the linux-dvb mailing list