Re: "frontend driver was not found" FC5 and oldTechnotrend card

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

 



Stuart Butterfield wrote:
> The working card has:
> 
> 01:06.0 0480: 1131:7146 (rev 01)
>         Subsystem: 13c2:0008
>         Flags: bus master, medium devsel, latency 32, IRQ 201
>         Memory at df000000 (32-bit, non-prefetchable) [size=512]
> 
> Whereas the non-functional card has:
> 
> 00:09.0 0480: 1131:7146 (rev 01)
>         Subsystem: 13c2:0001
>         Flags: medium devsel, IRQ 10
>         Memory at ea001000 (32-bit, non-prefetchable) [size=512]
> 
> Looking at av7110.c I see the problem in the switch statement on 
> subsystem_device
> i.e. for my non-functioning card (0001) it tries to attach to an ALPS 
> TDLB7, 
> whereas this card actually has the Grundig 29504-401 (as attached when 
> 0008 is
> seen and thus why the other card works).

Please try whether the attached patch fixes your problem.

CU
Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------
diff -r 21ce8fae0213 linux/drivers/media/dvb/ttpci/av7110.c
--- a/linux/drivers/media/dvb/ttpci/av7110.c	Wed Jul 19 03:55:23 2006 +0200
+++ b/linux/drivers/media/dvb/ttpci/av7110.c	Fri Jul 28 00:46:57 2006 +0200
@@ -2149,12 +2149,19 @@ static int frontend_init(struct av7110 *
 			break;
 
 		case 0x0001: // Hauppauge/TT Nexus-T premium rev1.X
-
-			// ALPS TDLB7
+			// try ALPS TDLB7 first, then Grundig 29504-401
 			av7110->fe = sp8870_attach(&alps_tdlb7_config, &av7110->i2c_adap);
 			if (av7110->fe) {
 				av7110->fe->ops.tuner_ops.set_params = alps_tdlb7_tuner_set_params;
+				break;
 			}
+			/* fall-thru */
+
+                case 0x0008: // Hauppauge/TT DVB-T
+			// Grundig 29504-401
+			av7110->fe = l64781_attach(&grundig_29504_401_config, &av7110->i2c_adap);
+			if (av7110->fe)
+				av7110->fe->ops.tuner_ops.set_params = grundig_29504_401_tuner_set_params;
 			break;
 
 		case 0x0002: // Hauppauge/TT DVB-C premium rev2.X
@@ -2186,14 +2193,6 @@ static int frontend_init(struct av7110 *
 				av7110->fe->ops.diseqc_send_burst = av7110_diseqc_send_burst;
 				av7110->fe->ops.set_tone = av7110_set_tone;
 				av7110->recover = dvb_s_recover;
-			}
-			break;
-
-		case 0x0008: // Hauppauge/TT DVB-T
-
-			av7110->fe = l64781_attach(&grundig_29504_401_config, &av7110->i2c_adap);
-			if (av7110->fe) {
-				av7110->fe->ops.tuner_ops.set_params = grundig_29504_401_tuner_set_params;
 			}
 			break;
 
_______________________________________________

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