I got it working with one additional i2c write. By writing 0x48 into reg 0x5a before the initialization did the trick. Now when reloading the driver with modprobe - tuning works for all transponders. I spotted this from Windows usbsnoop traces which I took. I attached a patch of the modification which I did. Please note that this change is in ZL10353 code which is used by other cards as well - I don't know the affects of this change on those cards..
With this change, tzap does not report that good signal levels as before. Don't know the reason for this, but it doesn't seem to affect tuning performance. Windows driver uses 0x0c for 0x5a as well - so this should not be the reason.
Regards,
Sami
pltsi@multi:~$ tzap -a 0 "YLE TV1"
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 634000000 Hz
video pid 0x0200, audio pid 0x028a
status 00 | signal 107c | snr 0000 | ber 00000000 | unc 00000000 |
status 1e | signal 132c | snr b4b4 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1e | signal 1384 | snr b4b4 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
--- zl10353.c-orig 2007-02-20 13:39:41.000000000 +0200
+++ zl10353.c 2007-02-20 00:18:32.000000000 +0200
@@ -185,6 +185,9 @@
zl10353_single_write(fe, 0x6C, 0xCD);
zl10353_single_write(fe, 0x6D, 0x7E);
+
+ zl10353_single_write(fe, 0x5A, 0x0C);
+
if (fe->ops.i2c_gate_ctrl)
fe->ops.i2c_gate_ctrl(fe, 0);
@@ -331,6 +334,8 @@
if (state->config.parallel_ts)
zl10353_reset_attach[2] &= ~0x20;
+ zl10353_single_write(fe, 0x5A, 0x48);
+
/* Do a "hard" reset if not already done */
if (zl10353_read_register(state, 0x50) != zl10353_reset_attach[1] ||
zl10353_read_register(state, 0x51) != zl10353_reset_attach[2]) {
----- Original Message -----
From: Antti Palosaari <crope@xxxxxx>
Date: Wednesday, February 14, 2007 15:27
Subject: Re: [linux-dvb] MSI Megasky 580 tuning problems (GL861)
To: Pelkonen Sami <Sami.Pelkonen@xxxxxxxxxxxxxx>
Cc: linux-dvb@xxxxxxxxxxx
> moi
> Could you test to add one i2c write to zl10535 code as Jan has done:
> http://linuxtv.org/pipermail/linux-dvb/2007-January/015518.html
> http://linuxtv.org/pipermail/linux-dvb/2007-January/015544.html
>
> This IO bit has something to do with QT1010 tuner AGC (QT1010
> has AGC
> support "Both wide-band and in-band automatic gain control
> inputs that
> are controlled by demodulators"). I will examine this bit effect
> to
> signal strength and quality later when I have enough time.
>
> I live in Linnanmaa campus area and here GL861 locks all fi-Oulu
> freqs
> using small bundled antenna.
>
> /antti
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb