[linux-dvb] atscscan for testing QAM256

Mac Michaels wmichaels1 at earthlink.net
Mon Jun 20 06:42:35 CEST 2005


On Sunday 19 June 2005 11:36 pm, Michael Krufky wrote:
> This answers the meaning of 0x04 ... but what about 0x0c
> and 0x0d? Perhaps this is a good sign that I'm close to
> getting lgdt3302 code working correctly with thomson
> ddt7611 tuner?

Actually you just found a minor bug. All those 4's should be 0. Here's a patch:

===================================================================
RCS file: /cvs/video4linux/video4linux/lgdt3302.c,v
retrieving revision 1.3
diff -u -b -B -u -p -r1.3 lgdt3302.c
--- lgdt3302.c  18 Jun 2005 01:32:25 -0000      1.3
+++ lgdt3302.c  20 Jun 2005 04:38:33 -0000
@@ -373,9 +373,10 @@ static int lgdt3302_read_status(struct d
   }

   /* FEC error status */
-  if ((buf[2] & 0x0c) == 0x08)
+  if ((buf[2] & 0x0c) == 0x08) {
     *status |= FE_HAS_LOCK;
   *status |= FE_HAS_VITERBI;
+  }

 #if 0
   /* Alternative method to check for a signal */




More information about the linux-dvb mailing list