Mailing List archive

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

[linux-dvb] Re: dvb-ip : Which TwinHan's card is better ?



On Sun November 14 2004 5:39 pm, Johannes Stezenbach wrote:
> On Sun, Nov 14, 2004 at 11:38:16AM +0400, Manu Abraham wrote:
> > Okay thanks. Are you seeing any more write errors during the tuning ?
>
> I've just tried with dst_debug=1:
>
> Nov 14 14:13:17 abc kernel: dst_write_tuna: type_flags 0x0
> Nov 14 14:13:18 abc kernel: read_dst reply is 0xff
> Nov 14 14:13:19 abc kernel: dst_wait_dst_ready: dst wait NOT ready after
> 200 Nov 14 14:13:19 abc kernel: dst_write_tuna: type_flags 0x0
> Nov 14 14:13:19 abc kernel: write_dst: write_dst error (err == -5, len ==
> 0x08, b0 == 0x02) Nov 14 14:13:20 abc kernel: read_dst reply is 0xff
> Nov 14 14:13:21 abc kernel: dst_wait_dst_ready: dst wait NOT ready after
> 200 Nov 14 14:13:21 abc kernel: dst_write_tuna: type_flags 0x0
> Nov 14 14:13:22 abc kernel: write_dst: write_dst error (err == -5, len ==
> 0x08, b0 == 0x02) Nov 14 14:13:23 abc kernel: write_dst: write_dst error
> (err == -5, len == 0x08, b0 == 0x02) Nov 14 14:13:24 abc kernel: write_dst:
> write_dst error (err == -5, len == 0x08, b0 == 0x02) Nov 14 14:13:25 abc
> kernel: read_dst reply is 0xff
> Nov 14 14:13:26 abc kernel: dst_wait_dst_ready: dst wait NOT ready after
> 200
>
> This happens only on one mux (bad signal), the others work fine.
>
> I guess that the firmware in the microcontroller is busy trying
> to tune and needs more time. I doubled the timeout in
> dst_wait_dst_ready() and now it works for me. The i2c errors
> were probably caused by not waiting for the microcontroller to be ready.
I will borrow a DSO from the office and verify the correct timings.

Manu

>
> Johannes




Home | Main Index | Thread Index