Mailing List archive

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

[linux-dvb] TDA10045H woes



Hi Folks,

I'm trying out the tda10045h support now in CVS (freshly checked out this
evening) with my Haupauge Nova-T.  My kernel is 2.4.20.

I don't seem to be able to get the card to lock onto any signals: from the
look of things it isn't initializing properly.

./tzap BBC-1
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 641833334 Hz
status 00 | signal 0000 | snr 00ff | ber 00000000 | unc ffffffff | 
status 00 | signal 0000 | snr 00ff | ber 00000000 | unc 00000000 | 
status 00 | signal 0000 | snr 00ff | ber 00000000 | unc 00000000 | 
status 00 | signal 0000 | snr 00ff | ber 00000000 | unc 00000000 | 
status 00 | signal 0000 | snr 00ff | ber 00000000 | unc 00000000 | 

etc. 

channels.conf contains just:

BBC-1:641833334:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:
QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:600:601

(this is the Sandy Heath transmitter, the sample channels.conf for Sandy
Heath provided with tzap is out of date)

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:

Output:

tda10045h_enable_tuner_i2c
tda10045h_write_mask: reg=0x7, mask=0x2, data=0x2
tda10045h_read_byte: reg=0x7
tda10045h_read_byte: success reg=0x7, data=0x0, ret=2
tda10045h_write_byte: reg=0x7, data=0x2
tda10045h_write_byte: success reg=0x7, data=0x2, ret=1

Relevant code section:

        // Disable the MC44BC374C   
        tda10045h_enable_tuner_i2c(i2c);
        tuner_msg.addr = TDA10045H_MC44BC374_ADDRESS;
        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;
                }
	}


It seems to always hit the 'return -EIO'.

Most frustratingly, whilst playing around with the first tda10045h patch
last Saturday, after many inexplicable failed attempts with tzap, scan and
dvbtune I succeeded in getting dvbtune to dump a list of channels from
this mux.  Having then tried unsuccessfully to tune other frequencies I
then found I could no longer dump the list of channels from this frequency
either.  No amount of reloading drivers, restarting the system or trying
to retrace my steps could reproduce that:  outwardly it appeared to be
exhibiting the same symptoms as it is now with the latest driver version,
although unfortunately I do not have any debug output to confirm that it
was the same problem.


Cheers,
Ben.




-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index