[linux-dvb] [PATCH] AverMedia AverTV DVB-T 761

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

 



Hi

This patch gives better performance when using high frequencies (over 
470 MHz). I got those new
charge pump values by i2c-snooping windows drivers.

Output from tzap w/o patch:

tuning to 538000000 Hz
video pid 0x04af, audio pid 0x04ae
status 00 | signal ffff | snr 7de7 | ber ffffffff | unc 00000000 |
status 1f | signal ffff | snr 7cc7 | ber 00002b54 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7ca7 | ber 0000243a | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7ce7 | ber 000028b0 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7ca7 | ber 0000244b | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7d17 | ber 0000240b | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7e97 | ber 00001530 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7ce7 | ber 00001752 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7dd7 | ber 0000191f | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7b87 | ber 00001a79 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7be7 | ber 00001547 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7cf7 | ber 00001554 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7cc7 | ber 00001b9e | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7df7 | ber 00001645 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7b07 | ber 00001a01 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7d87 | ber 00001757 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7c07 | ber 00001b4a | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7b17 | ber 000015a3 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 7d17 | ber 00001b73 | unc 00000000 | 
FE_HAS_LOCK

and with patch:

tuning to 538000000 Hz
video pid 0x04af, audio pid 0x04ae
status 00 | signal ffff | snr 9a59 | ber ffffffff | unc 00000000 |
status 1f | signal ffff | snr 9a09 | ber 0000036b | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9a99 | ber 00000436 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9a39 | ber 000002f9 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9859 | ber 000003df | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9899 | ber 00000385 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9a39 | ber 000000ee | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9869 | ber 00000101 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9ae9 | ber 00000106 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9a69 | ber 00000160 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9a29 | ber 000000cc | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9939 | ber 000000e3 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9809 | ber 00000112 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9899 | ber 000000ff | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 9a29 | ber 00000106 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 97f9 | ber 00000142 | unc 00000000 | 
FE_HAS_LOCK
status 1f | signal ffff | snr 98c9 | ber 000000ba | unc 00000000 | 
FE_HAS_LOCK

and the patch of course...

--- dvb-kernel/linux/drivers/media/dvb/bt8xx/org-dvb-bt8xx.c    
2005-09-03 19:21:55.000000000 +0200
+++ dvb-kernel/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c        
2005-09-03 19:23:11.000000000 +0200
@@ -264,10 +264,10 @@
                cpump = 1;
        else if (params->frequency < 470000000)
                cpump = 2;
-       else if (params->frequency < 750000000)
-               cpump = 2;
-       else
-               cpump = 3;
+        else if (params->frequency < 750000000)
+               cpump = 0x40;
+        else
+               cpump = 0xc0;

        if (params->frequency < 175000000)
                band_select = 0x0e;


/ Jyrki


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

  Powered by Linux