Re: Still no frontend on KNC1 DVB-C Card

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

 



Hi,

the tuner of the KNC1-DVB-C card is switched on by a GPIO-pin of the
SAA7146. The current driver has no delay between power on and the first
access to the TDA10021. The attached patch may fix your problem.

- Hartmut


Sven Lankes wrote:
> Hi,
>
> I have a KNC1-DVB-C card that doesn't want to work under linux. Last
> time I tried to make it work was in January ([1]) - the situation
> hasn't changed since then.
>
> This is what dmesg gets me after booting or remodprobing budget-av:
>
> [17179867.952000] DVB: registering new adapter (KNC1 DVB-C).
> [17179868.012000] adapter failed MAC signature check
> [17179868.012000] encoded MAC from EEPROM was ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff
> [17179868.520000] KNC1-0: MAC addr = 00:09:d6:ff:f1:0d
> [17179868.868000] DVB: TDA10021: tda10021_readreg: readreg error (ret == -121)
> [17179868.868000] budget-av: A frontend driver was not found for device 1131/7146 subsystem 1894/0020
> [17179868.868000] budget-av: ci interface initialised.
>
> I have tried this under a FC6 installation and on Ubuntu Edgy - both
> machines show the same error. I am running HG head (after the the Ubuntu
> / Fedora modules didn't work - same error).
>
> The card works fine under Windows.
>
> [1] http://www.linuxtv.org/pipermail/linux-dvb/2006-January/007679.html
>
>   

Signed-off-by: Hartmut Birr <e9hack@xxxxxxxxxxxxxx>

- Added a delay to give the frontend a little bit time for power-on.

diff -r 55496629964b linux/drivers/media/dvb/ttpci/budget-av.c
--- a/linux/drivers/media/dvb/ttpci/budget-av.c	Wed Nov 01 17:09:51 2006 +0100
+++ b/linux/drivers/media/dvb/ttpci/budget-av.c	Fri Nov 03 17:55:16 2006 +0100
@@ -946,6 +946,9 @@ static void frontend_init(struct budget_
 
 	/* Enable / PowerON Frontend */
 	saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO);
+	
+	/* Wait for PowerON */
+	msleep(100);
 
 	/* additional setup necessary for the PLUS cards */
 	switch (saa->pci->subsystem_device) {
_______________________________________________
linux-dvb mailing list
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