[linux-dvb] Re: [PATCH] DIB3000MC and NOVA T USB2

Mario Rossi mariofutire at googlemail.com
Mon Dec 11 21:44:42 CET 2006


I've seen you've committed part of the patch I sent.
But autosearch still does not work.

For it to work, I need to apply the full patch, which means, this on
top of the latest tree.

diff -r 5a5c6b3e0736 linux/drivers/media/dvb/frontends/dib3000mc.c
--- a/linux/drivers/media/dvb/frontends/dib3000mc.c	Mon Dec 11
16:51:36 2006 -0200
+++ b/linux/drivers/media/dvb/frontends/dib3000mc.c	Mon Dec 11
20:26:00 2006 +0000
@@ -499,7 +499,7 @@ static void dib3000mc_set_channel_cfg(st
 	tmp = ((chan->nfft & 0x1) << 7) | (chan->guard << 5) | (chan->nqam
<< 3) | chan->vit_alpha;
 	dib3000mc_write_word(state, 0, tmp);

-	dib3000mc_write_word(state, 5, seq);
+	dib3000mc_write_word(state, 5, ((seq & 0x0f) << 4) | (1 << 8) );

 	tmp = (chan->vit_hrch << 4) | (chan->vit_select_hp);
 	if (!chan->vit_hrch || (chan->vit_hrch && chan->vit_select_hp))

Thanks

On 12/10/06, Patrick Boettcher <patrick.boettcher at desy.de> wrote:
> Got me :)
>
> I will try to do it first thing tomorrow morning - then I have access to
> all the stuff I need.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dib300mc.diff
Type: text/x-patch
Size: 657 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20061211/33682345/dib300mc.bin


More information about the linux-dvb mailing list