Re: Linux 2.6.11-rc3 - BT848 no signal

Mickael Marchand
2005-02-04T17:39:19Z

that did it for me too :)

seems Gerd Knorr already applied

thanks

Cheers,
Mik

Guillaume Chazarain wrote:
> Mickael Marchand wrote:
>
>> Hello,
>>
>> I am having the same kind of troubles (can't tune and mt_set_frequency
>> -121 errors) since 2.6.10 (it was working in 2.6.9) on amd64.
>> this patch did not help sadely.
>
>
> I have the same problem, but on x86, the attached patch fixed it for me.
>
>
> ------------------------------------------------------------------------
>
> --- linux-2.6.11-rc3/drivers/media/video/tda9887.c
> +++ linux-2.6.11-rc3/drivers/media/video/tda9887.c
> @@ -545,19 +553,21 @@
> int rc;
>
> memset(buf,0,sizeof(buf));
> + tda9887_set_tvnorm(t,buf);
> buf[1] |= cOutputPort1Inactive;
> buf[1] |= cOutputPort2Inactive;
> - tda9887_set_tvnorm(t,buf);
> if (UNSET != t->pinnacle_id) {
> tda9887_set_pinnacle(t,buf);
> }
> tda9887_set_config(t,buf);
> tda9887_set_insmod(t,buf);
>
> +#if 0
> if (t->std & V4L2_STD_SECAM_L) {
> /* secam fixup (FIXME: move this to tvnorms array?) */
> buf[1] &= ~cOutputPort2Inactive;
> }
> +#endif
>
> dprintk(PREFIX "writing: b=0x%02x c=0x%02x e=0x%02x\n",
> buf[1],buf[2],buf[3]);