Mailing List archive

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

[linux-dvb] Slow tuning on Elta 8683 DVBS (Twinhan DST clone)



Hi,

I have an elta 8683 dvbs (Twinhan DST clone) card running with
kernel 2.4.23 and the dst driver from linuxtv-dvb-1.1.1.
During initial query of the asic it replies with "DST-020V" 
(not sure if the V is returned also on other cards).

The card works fine in principle with xine but tuning is
quite slow, so zapping is no real fun. After loading
the dst module with dst_debug and dst_verbose flags,
the debug output indicates I2C write errors in write_dst
during tuning and on status queries. The code includes 
some big timeouts before repetition, so I guess that is 
the reason for the delays when tuning to a new channel:

	for (cnt = 0; cnt < 4; cnt++) {
		if ((err = dst->i2c->xfer (dst->i2c, &msg, 1)) < 0) {
			dprintk ("%s: write_dst error (err == %i, len == 0x%02x, b0 == 0x%02x)\n", __FUNCTION__, err,
len, data[0]);
			dst_i2c_disable(dst);
			dvb_delay(500);
			dst_i2c_enable(dst);
			dvb_delay(500);
			continue;
		} else
			break;
	}


Some output from the syslog:

Apr  4 17:39:04 gonzo kernel: write_dst writing 0x00 0x09 0x00 0xff 0x01 0x00 0x00 0xf7
Apr  4 17:39:04 gonzo kernel: write_dst: write_dst error (err == -5, len == 0x08, b0 == 0x00)
Apr  4 17:39:05 gonzo kernel: read_dst reply is 0xff
Apr  4 17:39:05 gonzo kernel: dst_wait_dst_ready: dst wait ready after 18
Apr  4 17:39:05 gonzo kernel: read_dst reply is 0x0
Apr  4 17:39:05 gonzo kernel:  0x9 0x0 0xff 0x1 0x34 0x1 0xc2
Apr  4 17:39:05 gonzo kernel: write_dst writing 0x00 0x09 0x00 0xff 0x01 0x00 0x00 0xf7
Apr  4 17:39:05 gonzo kernel: read_dst reply is 0xff
Apr  4 17:39:05 gonzo kernel: dst_wait_dst_ready: dst wait ready after 18
Apr  4 17:39:05 gonzo kernel: read_dst reply is 0x0
Apr  4 17:39:05 gonzo kernel:  0x9 0x0 0xff 0x1 0x34 0x1 0xc2
Apr  4 17:39:05 gonzo kernel: write_dst writing 0x00 0x08 0x04 0xe0 0x10 0x38 0xf1 0xdb
Apr  4 17:39:05 gonzo kernel: read_dst reply is 0xff
Apr  4 17:39:06 gonzo kernel: dst_wait_dst_ready: dst wait ready after 34
Apr  4 17:39:06 gonzo kernel: read_dst reply is 0x0
Apr  4 17:39:06 gonzo kernel:  0x8 0x4 0xe0 0x10 0x38 0xf1 0xdb
Apr  4 17:39:06 gonzo kernel: write_dst writing 0x00 0x09 0x02 0xff 0x01 0x00 0x00 0xf5
Apr  4 17:39:06 gonzo kernel: write_dst: write_dst error (err == -5, len == 0x08, b0 == 0x00)
Apr  4 17:39:07 gonzo kernel: read_dst reply is 0xff
Apr  4 17:39:07 gonzo kernel: dst_wait_dst_ready: dst wait ready after 18
Apr  4 17:39:07 gonzo kernel: read_dst reply is 0x0
Apr  4 17:39:07 gonzo kernel:  0x9 0x2 0xff 0x1 0x38 0xf1 0xcc
Apr  4 17:39:10 gonzo kernel: dst_write_tuna: type_flags 0x4
Apr  4 17:39:10 gonzo kernel: write_dst writing 0x07 0x9f 0x01 0x40 0x00 0x00 0x21 0xf8
Apr  4 17:39:10 gonzo kernel: read_dst reply is 0xff
Apr  4 17:39:10 gonzo kernel: dst_wait_dst_ready: dst wait ready after 23
Apr  4 17:39:10 gonzo kernel: read_dst reply is 0x7
Apr  4 17:39:10 gonzo kernel:  0x9f 0x1c 0xc5 0x0 0x30 0x2 0x47
Apr  4 17:39:10 gonzo kernel: write_dst writing 0x00 0x05 0x00 0x00 0x00 0x00 0x00 0xfb
Apr  4 17:39:10 gonzo kernel: write_dst: write_dst error (err == -5, len == 0x08, b0 == 0x00)
Apr  4 17:39:10 gonzo kernel: write_dst writing 0x00 0x05 0x00 0x00 0x00 0x00 0x00 0xfb
Apr  4 17:39:10 gonzo kernel: write_dst: write_dst error (err == -5, len == 0x08, b0 == 0x00)
Apr  4 17:39:11 gonzo last message repeated 2 times
Apr  4 17:39:12 gonzo kernel: read_dst reply is 0xff
Apr  4 17:39:12 gonzo kernel: write_dst: write_dst error (err == -5, len == 0x08, b0 == 0x00)
Apr  4 17:39:12 gonzo kernel: dst_wait_dst_ready: dst wait ready after 18
Apr  4 17:39:12 gonzo kernel: read_dst reply is 0x0
Apr  4 17:39:12 gonzo kernel:  0x5 0x1c 0x57 0x0 0x30 0x2 0x56
Apr  4 17:39:13 gonzo kernel: write_dst: write_dst error (err == -5, len == 0x08, b0 == 0x00)
Apr  4 17:39:14 gonzo kernel: dst_command: write not successful
Apr  4 17:39:14 gonzo kernel: write_dst writing 0x00 0x05 0x00 0x00 0x00 0x00 0x00 0xfb
Apr  4 17:39:15 gonzo kernel: read_dst reply is 0xff
Apr  4 17:39:15 gonzo kernel: dst_wait_dst_ready: dst wait ready after 18
Apr  4 17:39:15 gonzo kernel: read_dst reply is 0x0
Apr  4 17:39:15 gonzo kernel:  0x5 0x1b 0xed 0x0 0x30 0x2 0xc1
Apr  4 17:39:15 gonzo kernel: write_dst writing 0x00 0x05 0x00 0x00 0x00 0x00 0x00 0xfb
Apr  4 17:39:15 gonzo kernel: write_dst: write_dst error (err == -5, len == 0x08, b0 == 0x00)
Apr  4 17:39:16 gonzo kernel: read_dst reply is 0xff
Apr  4 17:39:17 gonzo kernel: dst_wait_dst_ready: dst wait ready after 18
Apr  4 17:39:17 gonzo kernel: read_dst reply is 0x0
Apr  4 17:39:17 gonzo kernel:  0x5 0x1c 0x12 0x0 0x30 0x2 0x9b
Apr  4 17:39:17 gonzo kernel: write_dst writing 0x00 0x05 0x00 0x00 0x00 0x00 0x00 0xfb
Apr  4 17:39:17 gonzo kernel: write_dst: write_dst error (err == -5, len == 0x08, b0 == 0x00)
Apr  4 17:39:18 gonzo kernel: read_dst reply is 0xff
Apr  4 17:39:18 gonzo kernel: dst_wait_dst_ready: dst wait ready after 18
Apr  4 17:39:18 gonzo kernel: read_dst reply is 0x0
Apr  4 17:39:18 gonzo kernel:  0x5 0x1c 0xf6 0x0 0x30 0x2 0xb7
Apr  4 17:39:19 gonzo kernel: write_dst writing 0x00 0x05 0x00 0x00 0x00 0x00 0x00 0xfb


Somebody with a good idea why the I2C access fails so often?


Thanks
Mike 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/


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



Home | Main Index | Thread Index