Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Patch for cards with the Philips CD1516 tuner box (spXXXX?)
Hi,
On Tue, Oct 15, 2002 at 01:41:48AM +0300, Marko Kenttälä wrote:
> Same for me with Siemens DVB-C rev. 1.5. Here's a patch that I can get
> sometimes to tune to QAM128 channels. It seems that there are either
> different versions of Siemens DVB-C boards or differences in cable
> transmissions because same code do not work for every Siemens user.
> REL-0-9-2 tunes every time to QAM128 for me but I get some glitches every
> now and then, QAM64 is perfect in both newstruct and REL-0-9-2.
--- DVB/driver/frontends/ves1820.c.bak Tue Oct 15 00:38:03 2002
+++ DVB/driver/frontends/ves1820.c Tue Oct 15 01:30:58 2002
@@ -151,7 +151,7 @@
int tuner_set_tv_freq (struct dvb_frontend *frontend, u32 freq, u8 pwr)
{
u32 div;
- static int freq_mod [] = { 36750000, 36125000 };
+ static int freq_mod [] = { 36125000, 36125000 };
After this, the locking frequencies on my Siemens rev1.3 board are
shifted exactly 625 kHz upwards. (i.e. what once used to lock at
150000 kHz now locks at 150625 kHz.) I know for certain that
150000 kHz should be the right frequency, since this is what both the
cable operator and a Hauppauge DVB-C card tells me. Maybe we might
try with different freq_mod values depending on the revision.
@@ -168,7 +168,7 @@
buf[3] = (freq < 174000000 ? 0x88 :
freq < 470000000 ? 0x84 : 0x81) | (pwr << 6);
} else {
- freq += freq_mod[tuner_type];
+ /*freq += freq_mod[tuner_type];*/
buf[2] |= pwr << 6;
buf[3] = (freq < 174000000 ? 0xa1 :
freq < 454000000 ? 0x92 : 0x34);
This doesn't seem to break anything, at least with me. I can still lock
to all channels. I think the patch is correct; the frequency addition
is not needed there.
Cheers,
Juha
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index