[linux-dvb] Oops in tda10023

Antti Palosaari crope at iki.fi
Fri May 30 14:49:17 CEST 2008


Sigmund Augdal wrote:
> tor, 29.05.2008 kl. 20.52 +0300, skrev Antti Palosaari:
>> Sigmund Augdal wrote:
>>> using latest hg v4l-dvb on a 2.6.20 kernel.
>> I did some changes recently to tda10023 (needed for Anysee driver). I 
>> wonder if these errors start coming after that? Those changes are 
>> committed to master only few days ago, 05/26/2008.
> When the crash happened I was using a module with these changes
> included. This doesn't necessarily mean that these changes were the
> cause of the problem. From reading the relevant diff I'd say it's quite
> unlikely that your changes is causing the problem, as tda10023_writereg
> was called from tda10023_attach before also, and you didn't change
> anything in tda10023_writereg it self. I also know for a fact that the
> i2c problems also did happen without your changes, so your changes isn't
> the cause of that either.

Thanks for clarification.

> About your changes to the tda10023 module, I tried these a while ago
> (before they were merged into master, with a technotrend C-1501 board
> that has a tda10023 demod with at tda8274a silicon tuner. I figured the
> tuner had the same deltaf setting as the tuner used in anysee (based on
> how this tuner is used in conjunction with tda10046), but I couldn't
> figure out values for the pll_x parameters. I tried setting them to the
> the same as the ones used in the anysee tree , but I couldn't get any
> lock still, it may however be because my signal was bad at that point.
> If I remember correctly your comments said something about an unknown
> tuner used in the anysee device. Is there any chance it actually is the
> tda827x? As this tuner-demod combo is sold as a refference design from
> phillips.

It could be but I doubt it is not any Philips / NXP tuner PLL.

Every version of the Anysee has Samsung tuner module (or NIM which is 
module with demod inside). In NIMs there is MT532 or ZL10353 
demodulator. DVB-C version has Samsung tuner module + TDA10023 
demodulator on the board. So this is not tuner-demod combo (NIM) 
reference from NXP.

You can resolve correct PLL values looking from USB-sniffs. With a 
little lucky you discover those after some testing.

/* 012 */ 0x28, 0xff, (state->pll_m-1),
/* 015 */ 0x29, 0xff, ((state->pll_p-1)<<6)|(state->pll_n-1),
/* calc sysclk */
state->sysclk = (state->xtal * state->pll_m / \
		(state->pll_n * state->pll_p));

I can try to find those if you can provide usbsniff where those can seen.

regards
Antti
-- 
http://palosaari.fi/



More information about the linux-dvb mailing list