[linux-dvb] KNC1 DVB-T card working - Patch for scan.c

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

 



You are right Hartmut, the driver works fine, and the problem was due
to the very slow tuning time. I have increased a "sleep" in the dvbscan
program and I can now do a "scan" with the KNC1 TV station DVB-T with
the DVB driver included in kernel 2.6.11.4. This increase is also needed
for the TT budget DVB-T card (saa7146 + tda10045H). So I think it would
be good to apply the patch enclosed.

Thanks for your help !

-- 
Alexis
-------------- next part --------------
--- scan-original.c	2005-03-25 11:59:40.000000000 +0100
+++ scan.c	2005-03-25 12:01:36.000000000 +0100
@@ -1301,7 +1301,9 @@
 	}
 
 	for (i = 0; i < 10; i++) {
-		usleep (200000);
+		/* Some DVB-T PCI cards with tda1004x frontend need a */
+		/* very long time to tune */
+		usleep (400000);
 
 		if (ioctl(frontend_fd, FE_READ_STATUS, &s) == -1) {
 			errorn("FE_READ_STATUS failed");

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

  Powered by Linux