[linux-dvb] atscscan for testing QAM256

Michael Krufky mkrufky at m1k.net
Mon Jun 20 06:58:32 CEST 2005


Mac Michaels wrote:

>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 */
>  
>
committed to video4linux cvs:

/Mon Jun 20 04:54:30 2005 UTC/ (84 seconds ago) by /mkrufky/

        * lgdt3302.c:
          fixed FEC error status

Signed-off-by: Mac Michaels <wmichaels1 at earthlink.net <mailto:wmichaels1 at earthlink.net>>
Signed-off-by: Michael Krufky <mkrufky at m1k.net <mailto:mkrufky at m1k.net>>

-- 
Michael Krufky





More information about the linux-dvb mailing list