[linux-dvb] Patches to fix support for VisionPlus DTV (VP1020)
/ tuning problem
Manu Abraham
manu at kromtek.com
Sun Apr 24 22:22:33 CEST 2005
Steffen Motzer wrote:
> Steffen Motzer wrote:
>
>> This revised patch for dst.c also fixes the tuning problems. It seems
>> that sometimes the asic acknowledged a command but failed to execute
>> it. This might have also be the reason why sometimes szap reported
>> that the tuner supposedly had lost the lock on the signal even though
>> it did not.
>
>
> In order to decrease the delay ASIC_DELAY I did some testing and found
> out that the absolute minimum with my card is 18ms. With 17ms there are
> many dst_error_recovery messages in the log but the card does tune after
> calling dst_error_recovery a couple of times. With any value lower the
> card almost never tunes.
>
> I think 20ms should be a safe value for this card.
>
>
With your patch my cards (VP-1030A, VP-1032A, DST-03T, DST-MOT) which
were working quite okay, gave similar results as attached The current
result is from the VP-1030, but in fact all the said cards had the same
problem.. I have asked a couple of others to check whether it works for
them at least .. Let's see what can be done ..
Apr 24 23:54:03 deploy kernel: dst_comm_init: Initializing DST..
Apr 24 23:54:03 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Apr 24 23:54:03 deploy kernel: dst_wait_dst_ready: dst wait NOT ready
after 200
Apr 24 23:54:03 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Apr 24 23:54:03 deploy kernel: rdc_reset_state: Resetting state machine
Apr 24 23:54:03 deploy kernel: dst_gpio_outb: mask=[0002], enbb=[0002],
outhigh=[0000]
Apr 24 23:54:03 deploy kernel: dst_gpio_outb: mask=[0002], enbb=[0002],
outhigh=[0002]
Apr 24 23:54:03 deploy kernel: write_dst writing 00 09 00 02 01 00 00 f4
Apr 24 23:54:03 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0000], outhigh=[0000]
Apr 24 23:54:04 deploy kernel: read_dst reply is 0xff
Apr 24 23:54:04 deploy kernel: dst_wait_dst_ready: dst wait ready after 0
Apr 24 23:54:04 deploy kernel: read_dst reply is 0x0
Apr 24 23:54:04 deploy kernel: 0x9 0x0 0x2 0x1 0x0 0x0 0xf4
Apr 24 23:54:04 deploy kernel: dst_comm_init: Initializing DST..
Apr 24 23:54:04 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Apr 24 23:54:04 deploy kernel: dst_wait_dst_ready: dst wait NOT ready
after 200
Apr 24 23:54:04 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Apr 24 23:54:04 deploy kernel: rdc_reset_state: Resetting state machine
Apr 24 23:54:04 deploy kernel: dst_gpio_outb: mask=[0002], enbb=[0002],
outhigh=[0000]
Apr 24 23:54:04 deploy kernel: dst_gpio_outb: mask=[0002], enbb=[0002],
outhigh=[0002]
Apr 24 23:54:04 deploy kernel: write_dst writing 00 09 00 02 01 00 00 f4
Apr 24 23:54:04 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0000], outhigh=[0000]
Apr 24 23:54:04 deploy kernel: read_dst reply is 0xff
Apr 24 23:54:04 deploy kernel: dst_wait_dst_ready: dst wait ready after 0
Apr 24 23:54:04 deploy kernel: read_dst reply is 0x0
Apr 24 23:54:04 deploy kernel: 0x9 0x0 0x2 0x1 0x0 0x0 0xf4
Apr 24 23:54:04 deploy kernel: dst_comm_init: Initializing DST..
Apr 24 23:54:04 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Apr 24 23:54:04 deploy kernel: dst_wait_dst_ready: dst wait NOT ready
after 200
Apr 24 23:54:04 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Apr 24 23:54:04 deploy kernel: rdc_reset_state: Resetting state machine
Apr 24 23:54:04 deploy kernel: dst_gpio_outb: mask=[0002], enbb=[0002],
outhigh=[0000]
Apr 24 23:54:04 deploy kernel: dst_gpio_outb: mask=[0002], enbb=[0002],
outhigh=[0002]
Apr 24 23:54:04 deploy kernel: write_dst writing 00 08 04 e0 10 38 f3 d9
Apr 24 23:54:04 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0000], outhigh=[0000]
Apr 24 23:54:05 deploy kernel: read_dst reply is 0xff
snipped away quite a lot
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Apr 24 23:54:27 deploy kernel: dst_wait_dst_ready: dst wait NOT ready
after 200
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Apr 24 23:54:27 deploy kernel: rdc_reset_state: Resetting state machine
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[0002], enbb=[0002],
outhigh=[0000]
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[0002], enbb=[0002],
outhigh=[0002]
Apr 24 23:54:27 deploy kernel: write_dst writing 09 00 05 70 01 00 6b 6c
65 45
Apr 24 23:54:27 deploy kernel: write_dst: _write_dst error (err == -5,
len == 0x0a, b0 == 0x09)
Apr 24 23:54:27 deploy kernel: write_dst: Wrote=[09 00 05 70 01 00 6b 6c
65 45 ]
Apr 24 23:54:27 deploy kernel: dst_error_recovery: Trying to return from
previous errors...
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0000], outhigh=[0000]
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Apr 24 23:54:27 deploy kernel: write_dst: _write_dst error (err == -5,
len == 0x0a, b0 == 0x09)
Apr 24 23:54:27 deploy kernel: write_dst: Wrote=[09 00 05 70 01 00 6b 6c
65 45 ]
Apr 24 23:54:27 deploy kernel: dst_error_recovery: Trying to return from
previous errors...
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0000], outhigh=[0000]
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Apr 24 23:54:27 deploy kernel: write_dst: RDC 8820 RESET...
Apr 24 23:54:27 deploy kernel: dst_error_bailout: Trying to bailout from
previous error...
Apr 24 23:54:27 deploy kernel: rdc_8820_reset: Resetting DST
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[0004], enbb=[0004],
outhigh=[0000]
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[0004], enbb=[0004],
outhigh=[0004]
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0000], outhigh=[0000]
Apr 24 23:54:27 deploy kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0000], outhigh=[0000]
Apr 24 23:54:27 deploy kernel: dst_write_tuna: write not successful
Manu
More information about the linux-dvb
mailing list