This is a repost (this time also to ivtv-users) as I didn't get any 
response the first time. Please, if you have bad video quality with one 
or both of the Samsung tuners on a PVR500 then take some time to 
perform these tests. Thanks.

        Hans

Original post follows:

People who have problems with the Samsung tuner regarding the image 
quality: can you test the following:

In ivtv-driver.c there is this piece of code:

        if (itv->options.tuner == TUNER_PHILIPS_FM1216ME_MK3) {
                int cfg = TDA9887_PORT1_ACTIVE|TDA9887_PORT2_ACTIVE;
                ivtv_tda9887(itv, TDA9887_SET_CONFIG, &cfg);
        }

For this test replace TUNER_PHILIPS_FM1216ME_MK3 by 
TUNER_SAMSUNG_TCPN_2121P30A and test with cfg set to PORT1_ACTIVE, 
PORT2_ACTIVE and with both ACTIVE (as in the code snippet above).

After that test change a bit value in tda9887:

edit tda9887.c, go to tda9887_configure(), and after this code (from 
ivtv-0.4.4/driver/tda9887.c):

        if (t->mode == T_STANDBY) {
                t->data[1] |= cForcedMuteAudioON;
        }

add:

t->data[3] |= 0x80;

Now test again with all *four* cfg values in ivtv-driver.c (this time 
also include the cfg=0 value).

So in total there are 7 test results: 3 with the default tda9887, and 4 
with the modified tda9887.

Let me know if any combination improves the image quality. Since the 
meaning of the two PORT bits is tuner dependent, and are in some cases 
(related to the bit set in tda9887) involved in gain settings, I wonder 
if you need to set these bits to non-standard values for this Samsung 
tuner.

This test checks all combinations, so I'd appreciate it if someone can 
test this.

Thanks,

        Hans

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to