Re: TDA10086 demodulator working (Technotrend TT-budget-S-1401/FlyDVB-S/Acorp TV134DS supported)

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

 



Andrew de Quincey wrote:


just pulled from the master repo, which should have all relevant
changes. CONFIG_DVB_CORE_ATTACH is yes and FE_CUSTOMIZE too on 2.6.18-
rc1.

Also no issues here on a saa7131e Asus P7131 Dual and tda10046a.

Great! Thanks for confirming that.

Now that is really getting interesting on the LifeView Trio and Medion
Quad next.

:)


after having upgraded my kernel I can say "me too" :) but

1) I had to change lines 1141 and 1170 of dvb_net.c that used

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
       spin_unlock_bh(&dev->xmit_lock);

instead of

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
       spin_unlock_bh(&dev->_xmit_lock);

2) I added a parameter to saa7134-dvb.c to specify which frontend to use
(because the two dvb frontends must be used in exclusion), so
trio_config =0 (default) specified dvb-t
trio_config != 0  specified dvb-s

3) the driver loads fine, but since my dish is disconnected I can't verify it dvb-s tuning works :)
maybe someone else with the Trio can tell us his experience

4) there must be some reinit issue going on, because loading the dvb-s driver, then unloading it and reloading the dvb-t part permits to tune, but there's no output.
Maybe Hartmutt can help us here :)

If it matters for such a lamest patch, Signed-off by Nico Sabbi (nsabbi@xxxxxxxxxx).

BTW, what's the meaning of the 3rd parameter to module_param(trio_frontend, int, 0644); ?

Thanks for your great work!

   Nico

--- saa7134-dvb.c.orig	2006-07-30 12:08:06.000000000 +0200
+++ saa7134-dvb.c	2006-07-30 22:17:14.000000000 +0200
@@ -51,6 +51,10 @@
 module_param(antenna_pwr, int, 0444);
 MODULE_PARM_DESC(antenna_pwr,"enable antenna power (Pinnacle 300i)");
 
+static int trio_frontend = 0;
+module_param(trio_frontend, int, 0);
+MODULE_PARM_DESC(antenna_pwr,"frontend to enable in the Lifeview Trio card (0: terrestrial, 1: satellitar)");
+
 /* ------------------------------------------------------------------ */
 static int pinnacle_antenna_pwr(struct saa7134_dev *dev, int on)
 {
@@ -1154,12 +1158,24 @@
 		}
 		break;
 	case SAA7134_BOARD_FLYDVB_TRIO:
+		if(! trio_frontend) {	//terrestrial
 		dev->dvb.frontend = dvb_attach(tda10046_attach, &lifeview_trio_config,
 						    &dev->i2c_adap);
 		if (dev->dvb.frontend) {
 			dev->dvb.frontend->ops.tuner_ops.sleep = lifeview_trio_tuner_sleep;
 			dev->dvb.frontend->ops.tuner_ops.set_params = lifeview_trio_tuner_set_params;
 		}
+		} else {		//satellitar
+		dev->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, &dev->i2c_adap);
+		if (dev->dvb.frontend) {
+			if (dvb_attach(tda826x_attach, dev->dvb.frontend, 0x60, &dev->i2c_adap, 0) == NULL) {
+				printk("%s: Lifeview Trio, No tda826x found!\n", __FUNCTION__);
+			}
+			if (dvb_attach(isl6421_attach, dev->dvb.frontend, &dev->i2c_adap, 0x08, 0, 0) == NULL) {
+				printk("%s: Lifeview Trio, No ISL6421 found!\n", __FUNCTION__);
+			}
+		}
+		}
 		break;
 	case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
 		dev->dvb.frontend = dvb_attach(tda10046_attach, &ads_tech_duo_config,
_______________________________________________

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