Re: Mixing kernel and v4l-dvb sources

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

 



On Friday 04 August 2006 17:37, Andrew de Quincey wrote:
> On Friday 04 August 2006 16:52, Chris Malarky wrote:
> > Hi Andrew,
> >
> > On Thu, 2006-08-03 at 10:03 +0100, Andrew de Quincey wrote:
> > > Oh don't worry, its just a stupid bug. Fix is available at the top
> > > patch in:
> > >
> > > http://linuxtv.org/hg/~quincy/v4l-dvb
> > >
> > > Just sending a pull request to mauro, so it'll be in mainline soon I
> > > hope.
> >
> > OK, that worked fine :-)
> >
> > I left it on overnight doing a tcpdump and it seemed to be working
> > alright.  As you said, tuning is very fast.
> >
> > What sort of values were you getting for the signal strength?
> >
> > It is receiving data OK, and the quality/SNR seems to be spot on, but
> > the signal strength is only ~15000.  The other cards here generallly
> > report between 45000 and 50000.
>
> Hmm, I wasn't sure if I had that measurement the right way round actually.
> sounds like I haven't. I'll try it out later

Hi, sorry became busy again for a few days. Does the attached patch help the 
issue?
diff -r 63c4450ab755 linux/drivers/media/dvb/frontends/tda10086.c
--- a/linux/drivers/media/dvb/frontends/tda10086.c	Thu Aug 10 16:22:21 2006 +1000
+++ b/linux/drivers/media/dvb/frontends/tda10086.c	Sat Aug 12 13:25:50 2006 +0100
@@ -551,7 +551,7 @@ static int tda10086_read_signal_strength
 
 	dprintk ("%s\n", __FUNCTION__);
 
-	_str = tda10086_read_byte(state, 0x43);
+	_str = 255 - tda10086_read_byte(state, 0x43);
 	*signal = (_str << 8) | _str;
 
 	return 0;
_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux