[linux-dvb] Twinhan 102G not tuning

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

 



Hi,
	I have a Twinhan 102G DVB-s that is not tuning.
Building the stock 2.6.14 kernel drivers:

Linux version 2.6.14 (gcc version 4.0.3 20051111
(prerelease) (Debian 4.0.2-4)) #17 SMP Mon Nov 28 13:33:56 PST 2005

loading modules with:

options bttv i2c_hw=1 card=0x71 i2c_debug=1
options dst verbose=4

setting freq with szap produces a great deal of output that
LOOKS (to me) like i2c communication is working up until:


Nov 24 21:43:33 skookum kernel: dst_comm_init: Initializing DST.
Nov 24 21:43:33 skookum kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Nov 24 21:43:33 skookum kernel: rdc_reset_state: Resetting state
machine
Nov 24 21:43:33 skookum kernel: dst_gpio_outb: mask=[0002],
enbb=[0002], outhigh=[0000]
Nov 24 21:43:33 skookum kernel: dst_gpio_outb: mask=[0002],
enbb=[0002], outhigh=[0002]
Nov 24 21:43:33 skookum kernel: writing [ 00 09 02 02 01 00 00 f2 ]
Nov 24 21:43:33 skookum kernel: i2c_adapter i2c-0: master_xfer[0] W,
addr=0x55, len=8
Nov 24 21:43:33 skookum kernel: bt-i2c: <W aa 00 09 02 02 01 00 00 f2
>
Nov 24 21:43:33 skookum kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0000], outhigh=[0000]
Nov 24 21:43:33 skookum kernel: i2c_adapter i2c-0: master_xfer[0] R,
addr=0x55, len=1
Nov 24 21:43:33 skookum kernel: bt-i2c: <R ab =ff >
Nov 24 21:43:33 skookum kernel: read_dst: reply is 0xff
Nov 24 21:43:33 skookum kernel: dst_wait_dst_ready: dst wait ready
after 1
Nov 24 21:43:33 skookum kernel: i2c_adapter i2c-0: master_xfer[0] R,
addr=0x55, len=8
Nov 24 21:43:33 skookum kernel: bt-i2c: <R ab =00 =09 =02 =02 =01 =00
=00 =f2 >
Nov 24 21:43:33 skookum kernel: read_dst: reply is 0x0
Nov 24 21:43:33 skookum kernel:  0x9 0x2 0x2 0x1 0x0 0x0 0xf2
Nov 24 21:43:33 skookum kernel: dst_set_freq: set Frequency 1770000
Nov 24 21:43:33 skookum kernel: dst_set_frontend: Set
Frequency=[1770000]
Nov 24 21:43:33 skookum kernel: dst_set_symbolrate: set symrate
20000000
Nov 24 21:43:33 skookum kernel: dst_set_symbolrate: set symcalc 238312
Nov 24 21:43:33 skookum kernel: dst_set_polarization:
Polarization=[Vertical]
Nov 24 21:43:33 skookum kernel: dst_set_frontend: Set
Symbolrate=[20000000]
Nov 24 21:43:33 skookum kernel: dst_write_tuna: type_flags 0x16
Nov 24 21:43:33 skookum kernel: dst_comm_init: Initializing DST.
Nov 24 21:43:33 skookum kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Nov 24 21:43:33 skookum kernel: rdc_reset_state: Resetting state
machine
Nov 24 21:43:33 skookum kernel: dst_gpio_outb: mask=[0002],
enbb=[0002], outhigh=[0000]
Nov 24 21:43:33 skookum kernel: dst_gpio_outb: mask=[0002],
enbb=[0002], outhigh=[0002]
Nov 24 21:43:33 skookum kernel: writing [ 06 ea 01 3a 2e 80 00 27 ]
Nov 24 21:43:33 skookum kernel: i2c_adapter i2c-0: master_xfer[0] W,
addr=0x55, len=8
Nov 24 21:43:33 skookum kernel: bt-i2c: <W aa 06 ea 01 3a 2e 80 00 27
>
Nov 24 21:43:33 skookum kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0000], outhigh=[0000]
Nov 24 21:43:33 skookum kernel: i2c_adapter i2c-0: master_xfer[0] R,
addr=0x55, len=1
Nov 24 21:43:33 skookum kernel: bt-i2c: <R ab =ff >
Nov 24 21:43:33 skookum kernel: read_dst: reply is 0xff
Nov 24 21:43:36 skookum kernel: dst_wait_dst_ready: dst wait NOT ready
after 200
Nov 24 21:43:36 skookum kernel: dst_set_freq: set Frequency 1770000
Nov 24 21:43:36 skookum kernel: dst_set_frontend: Set
Frequency=[1770000]
Nov 24 21:43:36 skookum kernel: dst_set_symbolrate: set symrate
20000000
Nov 24 21:43:36 skookum kernel: dst_set_symbolrate: set symcalc 238312
Nov 24 21:43:36 skookum kernel: dst_set_polarization:
Polarization=[Vertical]
Nov 24 21:43:36 skookum kernel: dst_set_frontend: Set
Symbolrate=[20000000]
Nov 24 21:43:36 skookum kernel: dst_write_tuna: type_flags 0x16
Nov 24 21:43:36 skookum kernel: dst_comm_init: Initializing DST.
Nov 24 21:43:36 skookum kernel: dst_gpio_outb: mask=[ffffffff],
enbb=[0001], outhigh=[0000]
Nov 24 21:43:36 skookum kernel: rdc_reset_state: Resetting state
machine
Nov 24 21:43:36 skookum kernel: dst_gpio_outb: mask=[0002],
enbb=[0002], outhigh=[0000]
Nov 24 21:43:36 skookum kernel: dst_gpio_outb: mask=[0002],
enbb=[0002], outhigh=[0002]
Nov 24 21:43:36 skookum kernel: writing [ 06 ea 01 3a 2e 80 00 27 ]
Nov 24 21:43:36 skookum kernel: i2c_adapter i2c-0: master_xfer[0] W,
addr=0x55, len=8
Nov 24 21:43:36 skookum kernel: bt-i2c: ERR: -5
Nov 24 21:43:36 skookum kernel: write_dst: _write_dst error (err ==
-5, len == 0x08, b0 == 0x06)

The whole session from card detection is available at:

http://lazo.ca/dst_debug

This looked to me like the same problem mentioned in thread:

http://www.linuxtv.org/pipermail/linux-dvb/2005-April/001557.html

where a dst asic_delay variable is added to the module.
I have since tried rebuilding with the new merged v4l-dvb tree,
well it was in the intermediate "make merge" phase,
the problem still seems to be the same,
although the debug output is less. (fewer retries)

So is it timing problem? or something else?
or something I have just plain done wrong.
I have also tried setting dst_addons=0, no luck
Is the dst_ca modules supposed to load?

Thanks, mark




[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux