Mailing List archive

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

[linux-dvb] Re: Newstruct and DVB-C with QAM_256



On Wednesday 03 Jul 2002 12:37, you wrote:

> Holger,
>     In the above output, both signal and snr are unusual 16-bit
> values in that they each appear to have identical most significant
> and least significant bytes.  Is this coincidence or are they really
> just duplicated 8-bit values?

That looks familiar. Last January I submitted this small patch to fix the same 
effect on the DVB-T card. Maybe the driver for your card has the same typo?


===================================================================
RCS file: /cvs/linuxtv/DVB/driver/L64781.c,v
retrieving revision 1.20
diff -u -r1.20 L64781.c
--- DVB/driver/L64781.c 17 Jan 2002 13:55:22 -0000      1.20
+++ DVB/driver/L64781.c 21 Jan 2002 21:15:56 -0000
@@ -447,7 +447,7 @@
         case FE_READ_BER:
        {
                u32 *ber=(u32 *) arg;
-               *ber = read_reg (client, 0x39) | (read_reg (client, 0x39)<<8);
+               *ber = read_reg (client, 0x39) | (read_reg (client, 0x3a)<<8); 
               break;
        }
         case FE_READ_SIGNAL_STRENGTH:





-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index