Mailing List archive

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

[linux-dvb] Re: dvb-kernel stv0299 fixed for budgets including satelco



On Fri, Jan 24, 2003 at 01:10:24PM +0100, Holger Waechtler wrote:
> diff -pur 
> orig/dvb-kernel/linux/drivers/media/dvb/ttpci-budget/budget-core.c dvb
> -kernel/linux/drivers/media/dvb/ttpci-budget/budget-core.c
> --- orig/dvb-kernel/linux/drivers/media/dvb/ttpci-budget/budget-core.c 
> Thu Jan
> 23 20:00:03 2003
> +++ dvb-kernel/linux/drivers/media/dvb/ttpci-budget/budget-core.c 
> Fri Jan
> 24 00:38:04 2003
> @@ -406,6 +406,8 @@ int budget_attach (struct saa7146_dev* d
> 
>         dvb_register_adapter(&budget->dvb_adapter, budget->card->name);
> 
> +       saa7146_setgpio(dev, 2, SAA7146_GPIO_OUTLO); /* frontend power 
> off */
> +
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> shouldn't this be handled by the FE_INIT/FE_SLEEP ioctl catched in 
> budget_diseqc_ioctl()??

Of course! budget-core.c is not a place to mess with the
frontend anyway. But...

There might be some i2c initialization issue during which 
frontend might be required kept powered down. Initialization
takes place in budget-core.c

I can try to move it into FE_INIT/FE_SLEEP and see what happens


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



Home | Main Index | Thread Index