Re: Problem with latest v4l-dvb hg

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

 



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@xxxxxxxxxxxx> 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

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux