Jump to content


Photo

Patch about VHF not scanned with USB DTT

ET9X00

  • Please log in to reply
30 replies to this topic

#1 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 22 October 2011 - 19:07

In Italy the public national tv broadcasting company (RAI) has its main DTT transponder on VHF 205.500 MHz and so correct VHF scan and tune is important for italian people.

Many users report that with CT ET9X00 it's impossibile to scan/tune every VHF frequencies with every type of USB DTT stick.
Strange but with ET5X00 all is fine (?!)

Gennar1 has made a great work with low level debugging and he has discovered that in 9X00 kernel tuner module receive ALWAYS bw=0 (8 MHZ) despite Enigma2 send to kernel correct bw parameters (0 = 8MHZ or 1 = 7MHZ). I don't know where exactly problem is. Into Linux dvb-core ?

This afternoon I've done the same job: I've recompiled kernel for 9x00 with CONFIG_DVB_USB_DEBUG=y and I've started debugging in af9033/af9035 modules.
I can confirm that af9033.c module receive ALWAYS bw=0

So I've made a simple trick suggested by Gennar1 (THANKS !!!) modifing openpli/openembedded/recipes/linux/linux-etxx00-3.0.3/linux-3.0-dvb-usb-af9035.patch
inserting in af9033.c the following small patch (about row 2864)

+static int af9033_set_frontend(struct dvb_frontend *fe,
+	struct dvb_frontend_parameters *params)
+{
+	struct af9033_state *state = fe->demodulator_priv;
+	int ret;
+	u8 tmp;
+	deb_info("%s: freq:%d bw:%d\n", __func__, params->frequency,
+		params->u.ofdm.bandwidth);
+
+	state->frequency = params->frequency;
+
+/*------ patch gennar1+ambrosa ------ */	  
+	/* dirty hack to set OFDM bandwidth to 7MHz in VHF band */
+	if ((params->frequency >= 174000000) && (params->frequency <= 230000000 )) {
+		deb_info("%s: VHF patch: detected VHF freq -> force BW 7MHZ (bw=%d)",__func__,BANDWIDTH_7_MHZ);
+		params->u.ofdm.bandwidth = BANDWIDTH_7_MHZ;
+	}
+/*----- end patch ------*/
+
+	/* program tuner */
+	if (fe->ops.tuner_ops.set_params)
+		fe->ops.tuner_ops.set_params(fe, params);
+
+	/* program CFOE coefficients */
+	ret = af9033_set_coeff(state, params->u.ofdm.bandwidth);
+	if (ret)
+		goto error;

(remember to modify about row 1794 the patch row value or af9033.c will be truncated)
--- /dev/null
+++ b/drivers/media/dvb/frontends/af9033.c
@@ -0,0 +1,16xx @


As you can see it simply force the use BW=7MHZ if frequency is into VHF range

Well I've just try and IT WORKS: I can scan and tune channels in VHF band.

If someone find the real problem and solve it, ok.
But meantime this can be a little trick to have VHF band working.

PS: can we have CONFIG_DVB_USB_DEBUG=y enabled in next Pli release ? It simplify a lot our debug job :-) :-) :-) If not we must recompile our kernel with it... hard work ahahahahaha
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Patch about VHF not scanned with USB DTT #2 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 22 October 2011 - 19:12

no, I think we should not enable DVB_USB_DEBUG in a production kernel.
BTW, probably only the modules are affected, so you do not even have to replace your kernel in order to debug your dvb-usb device.

Re: Patch about VHF not scanned with USB DTT #3 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 23 October 2011 - 08:22

no, I think we should not enable DVB_USB_DEBUG in a production kernel.

I agree with you

BTW, probably only the modules are affected, so you do not even have to replace your kernel in order to debug your dvb-usb device.


Yes, only modules are affected but debug is made using kernel function dprintk() (debug function used into .c as deb_inf().... are dprintk() macros)
The first step is obviously enable module debug adding debug=n (n usually 1) as module parameter.
Something like:
echo "af9033 debug=1" > /etc/modutils/af9033
update-modules
but dprintk() send output to kernel logger (with printk() ) ONLY if related kernel CONFIG_*_DEBUG option is set.
Something like:
#define dprintk(args...) \
do { \
if (debug) \
printk(KERN_DEBUG "atbm8830: " args); \
} while (0)
So I need to replace your kernel with my kernel with CONFIG_DVB_USB_DEBUG=y
For this reason I've asked to Plì team to enable CONFIG_DVB_USB_DEBUG for sometimes (1-2 month) so we can easy debug the code to find the real problem.
But I agree with you: in a production kernel this is a bad idea. Forget my request.

Come back to VHF problem.
I've made some search about VHF and I see that around the world into VHF range (see http://en.wikipedia....nel_frequencies ) are used different bandwidth
So I've made a better patch: user can select with a module parameter the bw to force in (default forcing is disabled).

I've modified af9033.c in this way:
1) add new "vhfpatch" module parameter
+static int VHF_patch = 0;
+module_param_named(vhfpatch, VHF_patch, int, 0644);
+MODULE_PARM_DESC(vhfpatch, "Force bw if freq. <260MHZ (default:off , use vhfpatch=1 to force 8MHZ, =2 7MHZ, =3 6MHZ, =4 AUTO, =5 5MHZ, =6 10MHZ)");

2) and the patch
+/* ---- VHF patch ---- */
+	if ((VHF_patch >= 1) && (VHF_patch <= 6)) {
+		/* dirty hack to set OFDM bandwidth to in VHF band */
+			if (params->frequency < 260000000) {
+			deb_info("%s: VHF_patch detected VHF frequency <260MHZ",__func__);
+			switch (VHF_patch) {
+				case 1:
+					params->u.ofdm.bandwidth = BANDWIDTH_8_MHZ;
+					deb_info("%s: VHF_patch force BW 8MHZ (bw=%d)",__func__,params->u.ofdm.bandwidth);
+					break;
+				case 2:
+					params->u.ofdm.bandwidth = BANDWIDTH_7_MHZ;
+					deb_info("%s: VHF_patch force BW 7MHZ (bw=%d)",__func__,params->u.ofdm.bandwidth);
+					break;
+				case 3:
+					params->u.ofdm.bandwidth = BANDWIDTH_6_MHZ;
+					deb_info("%s: VHF_patch force BW 6MHZ (bw=%d)",__func__,params->u.ofdm.bandwidth);
+					break;
+				case 4:
+					params->u.ofdm.bandwidth = BANDWIDTH_AUTO;
+					deb_info("%s: VHF_patch force BW AUTO (bw=%d)",__func__,params->u.ofdm.bandwidth);
+					break;
+				case 5:
+					params->u.ofdm.bandwidth = BANDWIDTH_5_MHZ;
+					deb_info("%s: VHF_patch force BW 5MHZ (bw=%d)",__func__,params->u.ofdm.bandwidth);
+					break;
+				case 6:
+					params->u.ofdm.bandwidth = BANDWIDTH_10_MHZ;
+					deb_info("%s: VHF_patch force BW 10MHZ (bw=%d)",__func__,params->u.ofdm.bandwidth);
+					break;
+			}
+
+		}
+	}
+/* ----------------------- */

Now I'm recompiling my kernel and new module.
If it will work fine, I will post here the new full linux-3.0-dvb-usb-af9035.patch and I hope it will be adopted by Pli even if someone will find the "real" problem and solve it.
I know that is an intrusive patch, but since now I've no idea how to solve the problem about bw is always fixed to 8MHZ (bw=0)
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Patch about VHF not scanned with USB DTT #4 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 23 October 2011 - 09:31

BTW the problem is not related to USB DTT modules.
The same modules are used into ET5x00 , VU+DUO and many others and all si correct. Scan and tune is fine in VHF band.
The problem about fixed bw=0 (8MHZ) is present ONLY in ET9X00

So:
1) there is some strange patch applied only to ET9x00 regarding E2 or linux involving DVB ?
2) are CT ET9x00 low-level driver involved in this problem ?
I don't know.

Debug says to us that in CT ET9x00 all USB DTT modules receive from higher software layer (dvb-core and/or E2) always bw=0 and this is incorrect.
We are lucky: DTT UHF band use bandwidth 8 MHz (bw=0) so in UHF all is fine. But it's a coincidence ! If "bw" was fixed to another value no one can scan and tune UHF also.

The problem is NOT in module but in higher software layer.
In Italy DTT VHF band is used so we have discovered the bug. In other countries probably DTT VHF band is dismissed and no one has noticed about this bug.

The patch above based on gennar1 work it's a workaround, not the solution.
But with this patch, everyone can scan and tune VHF that use bw != 8MHz (like italy where bw must be equal to 7MHZ)

Edited by ambrosa, 23 October 2011 - 09:33.

STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Patch about VHF not scanned with USB DTT #5 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 23 October 2011 - 10:22

The patch above based on gennar1 work it's a workaround, not the solution.
But with this patch, everyone can scan and tune VHF that use bw != 8MHz (like italy where bw must be equal to 7MHZ)

Obvioulsy because the workaroud is applied on a per-tuner base, this works only for AF9035 / AF9033 DTT USB stick (as Avermedia A835)
If other drivers need the patch (obviously in my opinion all drivers should have it), there is need to patch all drivers.
But start with AF903x and see what's happen...........

My kernel compile is not finished yet :-(
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Patch about VHF not scanned with USB DTT #6 Carl

  • Senior Member
  • 367 posts

+8
Neutral

Posted 23 October 2011 - 11:40

Try another USB port. Maybe the usb 1.1 or 2.0 cause your problem.

I think et5x00 and et9x00 use the same dvbapi5 solution.
XP1000, Clarketech CT9000 and a VU+ duo

Re: Patch about VHF not scanned with USB DTT #7 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 23 October 2011 - 14:08

Try another USB port. Maybe the usb 1.1 or 2.0 cause your problem.

I think et5x00 and et9x00 use the same dvbapi5 solution.


Dear Carl,
is NOT an USB problem.

I repeat: every CT 9x00 owner with any type of DTT USB stick has the same problem.
Only in 9x00
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Patch about VHF not scanned with USB DTT #8 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 23 October 2011 - 14:21

Let me add a few more details.
This is the patch I apply to the A867 driver:

diff --git a/drivers/media/dvb/dvb-usb/a867_af903x-fe.c b/drivers/media/dvb/dvb-usb/a867_af903x-fe.c
index 65a498d..a9ed3bf 100644
--- a/drivers/media/dvb/dvb-usb/a867_af903x-fe.c
+++ b/drivers/media/dvb/dvb-usb/a867_af903x-fe.c
@@ -335,6 +335,23 @@ static int af903x_set_frontend(struct dvb_frontend* fe,
   return -EINVAL;
  }
 
+#if 1
+		printk(KERN_INFO "- %s: frequency %d Hz\n",__FUNCTION__, fep->frequency);
+		printk(KERN_INFO "- original bw value: %d\n", fep->u.ofdm.bandwidth);
+		printk(KERN_INFO "- original inversion value: %d expected %d\n", fep->inversion, INVERSION_AUTO);
+		printk(KERN_INFO "- original code_rate_HP value: %d expected %d\n", fep->u.ofdm.code_rate_HP, FEC_AUTO);
+		printk(KERN_INFO "- original code_rate_LP value: %d expected %d\n", fep->u.ofdm.code_rate_LP, FEC_AUTO);
+		printk(KERN_INFO "- original constellation value: %d expected %d\n", fep->u.ofdm.constellation, QAM_AUTO);	
+		printk(KERN_INFO "- original transmission_mode value: %d expected %d\n", fep->u.ofdm.transmission_mode, TRANSMISSION_MODE_AUTO);
+		printk(KERN_INFO "- original guard_interval value: %d expected %d\n", fep->u.ofdm.guard_interval, GUARD_INTERVAL_AUTO);
+		printk(KERN_INFO "- original hierarchy_information value: %d expected %d\n", fep->u.ofdm.hierarchy_information, HIERARCHY_AUTO);
+		/* dirty hack to set OFDM bandwidth to 7MHz in VHF band */
+		if( fep->frequency <= 230000000 && fep->u.ofdm.bandwidth != BANDWIDTH_7_MHZ ) {
+				printk(KERN_INFO "- %s original bw value: %d overridden to %d\n",__FUNCTION__, fep->u.ofdm.bandwidth, BANDWIDTH_7_MHZ);
+				fep->u.ofdm.bandwidth = BANDWIDTH_7_MHZ;
+		}
+#endif
+
  switch(fep->u.ofdm.bandwidth) {
  case BANDWIDTH_8_MHZ: bw=8; break;
  case BANDWIDTH_7_MHZ: bw=7; break;
--
1.7.0.4

I added a few printk to log some dvb_frontend_parameters.

When I select a VHF channel (MUX RAI VHF Ch 5) I get:
- af903x_set_frontend: frequency 177500000 Hz
- original bw value: 0
- original inversion value: 2 expected 2
- original code_rate_HP value: 0 expected 9
- original code_rate_LP value: 9 expected 9
- original constellation value: 6 expected 6
- original transmission_mode value: 2 expected 2
- original guard_interval value: 4 expected 4
- original hierarchy_information value: 4 expected 4
- af903x_set_frontend original bw value: 0 overridden to 1

while when I select a UHF channel (MUX Mediaset UHF Ch 49) I get:
- af903x_set_frontend: frequency 698000000 Hz
- original bw value: 0
- original inversion value: 2 expected 2
- original code_rate_HP value: 0 expected 9
- original code_rate_LP value: 9 expected 9
- original constellation value: 6 expected 6
- original transmission_mode value: 2 expected 2
- original guard_interval value: 4 expected 4
- original hierarchy_information value: 4 expected 4

The "expected" values are just the "auto" settings.
Basically, the OFDM bandwidth is always set to 0 (which means 8 MHz), as well as the code_rate_HP (in this case 0 means FEC is disabled).

Some DVB drivers are using just the frequency and the bandwidth to tune the channel. Examples are the A867 driver, the af9035, the WinTV Nova driver, the A835. Those drivers works on ET9000, but they can only tune UHF channels, while they can not tune any VHF channel with 7MHz bandwidth.

Other drivers are using all the DVB frontend parameters to tune the channel, and they can not work on ET9000 hardware, since the code_rate_HP parameter is always forced to 0, so FEC is disabled. Those drivers are loading properly, but they can not tune any channel, regardless of what you put in the terrestrial.xml or in the manual scan parameters. Examples are the em28xx-dvb drivers (I tested the PCTV 290e and the Terratec Cinergy Hybrid).

Those problems are specific of ET9000, and maybe also of ET5000. Unfortunately the only user with an ET5000 on SifTeam forum reported that his A867 and A835 sticks are working fine, but he never specifically stated that he was also able to tune VHF channels, so we need more input before ruling the ET5000 out of the equation.

Other boxes (like VU+ DUO) are not affected by the problem, so Enigma2 is probably not the cause of the problem, since the code is the same for all boxes (correct me if I'm wrong).

Nor the DVB API version neither the Linux kernel version can be the origin of the problem, since it is present in all images and all kernel versions (I reproduced it on 2.6.18, 2.6.31 and now on 3.0.3).

So the only probable cause of the problem that I can see are the closed source ET9000 drivers.

By the way, you don't need a VHF channel to reproduce the bug: you only need a working DVB-T stick and a single UHF frequency with channels. Open the manual scan interface and set the frequency of your channel and the bandwidth to 8MHz, leaving all other options on auto. The manual scan will give all the channel in the mux with this configuratio. Now set the bandwidth to 7 MHz or 6 MHz and repeat the scan. You will get all the channels regardeless of the bandwidth parameter, since it is always forced to 0. If the bug was not present you would get no channel with BW set to 7 or 6 MHz.

Edited by Gennar1, 23 October 2011 - 14:24.


Re: Patch about VHF not scanned with USB DTT #9 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 23 October 2011 - 14:26

Ok, new af9033.c compile successful with "production" code.

I've simply overwrite the old af9033.o modules (located in /lib/modules/3.0.3/kernel/drivers/media/dvb/frontends/ ) in my 9100 which has installed original OpenPli 2011-10-22 and the reboot.

Test are completely successful :)

The new module parameter 'vhfpatch' :
root@et9x00:~# modinfo af9033
filename:	   /lib/modules/3.0.3/kernel/drivers/media/dvb/frontends/af9033.ko
license:		GPL
description:	Afatech AF9033 DVB-T demodulator driver
author:		 Antti Palosaari <crope@iki.fi>
depends:		
vermagic:	   3.0.3 SMP mod_unload modversions MIPS32_R1 32BIT
parm:		   debug:Turn on/off frontend debugging (default:off). (int)
parm:		   vhfpatch:Force bw if freq. <260MHZ (default:off , use vhfpatch=1 to force 8MHZ, =2 7MHZ, =3 6MHZ, =4 AUTO, =5 5MHZ, =6 10MHZ) (int)

1) if use af9033 as provided by OpenPli, nothing change. af9033 works as usual. patch is disabled by default.

2) enabling vhfpatch and force 7 MHZ bw for VHF (for Italy)
echo "af9033 vhfpatch=2" > /etc/modutils/af9033
update-modules
   and then reboot the system
After that I can scan and tune about 30 channels in VHF band with my Avermeda A835 !! :D Before ... nothing

3) if you want to disable vhfpatch
echo "af9033" > /etc/modutils/af9033
update-modules
   and then reboot the system


I attach here my patch and the af9033.ko (for OpenPli 2011-10-22) if anyone else wants to test it.
AF9033 is used by AF9035. So Avermedia A835 (and other USB DTT stick AF903x based) can works correctly.

Attached Files


STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Patch about VHF not scanned with USB DTT #10 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 23 October 2011 - 14:30

Dear Carl,
is NOT an USB problem.


I tested 4 different sticks on the 3 USB ports with several different images and nothing helps. I also used an USB hub with an external power supply to rule out any possible problem related to insufficient USB power. Nothing helps.

Re: Patch about VHF not scanned with USB DTT #11 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 23 October 2011 - 14:37

Let me add a few more details.
..........

I can exactly confirm the same behaviours within AF9035/AF9033


So the only probable cause of the problem that I can see are the closed source ET9000 drivers.

By the way, you don't need a VHF channel to reproduce the bug: you only need a working DVB-T stick and a single UHF frequency with channels.

1) Open the manual scan interface and set the frequency of your channel and the bandwidth to 8MHz, leaving all other options on auto. The manual scan will give all the channel in the mux with this configuratio.
2) Now set the bandwidth to 7 MHz or 6 MHz and repeat the scan. You will get all the channels regardeless of the bandwidth parameter, since it is always forced to 0. If the bug was not present you would get no channel with BW set to 7 or 6 MHz.


Nice way to test it ;)
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Patch about VHF not scanned with USB DTT #12 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 23 October 2011 - 14:40

Ok, new af9033.c compile successful with "production" code.

I've simply overwrite the old af9033.o modules (located in /lib/modules/3.0.3/kernel/drivers/media/dvb/frontends/ ) in my 9100 which has installed original OpenPli 2011-10-22 and the reboot.

Test are completely successful :)


I like the idea of the module parameter. In this way the patch is not invasive and the average user affected by the problem will have to do his homeworks, searching the forums and asking for help. Because the risk is that if we fix the problem with an hack nobody will ever care to fix the real cause of the bug.

Anyway, it is impractical to hack tens of different drivers. Maybe there is a common point in the kernel where we can set the correct dvb frontend parameters once for all modules? I'm thinking about the dvb-core module, for example.

Re: Patch about VHF not scanned with USB DTT #13 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 23 October 2011 - 14:48


Because the risk is that if we fix the problem with an hack nobody will ever care to fix the real cause of the bug.

Anyway, it is impractical to hack tens of different drivers. Maybe there is a common point in the kernel where we can set the correct dvb frontend parameters once for all modules? I'm thinking about the dvb-core module, for example.


I agree with you. This is the 'incorrect' way to solve this problem. It's only a workaround (suggested by you :) ) and it's not the real solution.
My idea is to start patch my (and yours) AF903x so we can have the proof (if any) that there's something wrong somewhere.
And hope .........

BTW CT closed source driver ?
MMhhhhh really, sorry, I'm not an expert about this but .... CT drivers are involved to an external USB DTT ?

Yes, they are for sat tuners. But also for USB DTT ? I think that E2 send data to kernel but for USB DTT CT driver are not involved.....

Edited by ambrosa, 23 October 2011 - 14:48.

STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: Patch about VHF not scanned with USB DTT #14 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 23 October 2011 - 15:07

BTW CT closed source driver ?
MMhhhhh really, sorry, I'm not an expert about this but .... CT drivers are involved to an external USB DTT ?

Yes, they are for sat tuners. But also for USB DTT ? I think that E2 send data to kernel but for USB DTT CT driver are not involved.....


I'm not an expert too, but for example I suppose they could accidentally write some value in the wrong memory area.
With the vutuner, the DVB-T frontend is seen as the frontend 2 of adapter 0, so the closed drivers may be writing some value in frontend 2 instead of frontend 1, for example. But this is just a wild guess and we have no way to prove it.

Re: Patch about VHF not scanned with USB DTT #15 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 23 October 2011 - 16:48

I finally managed to hack also the PCTV 290e driver to make it work with the ET9000.

DVB-T2 is working!

Here you can find the world first screenshots of a DVB-T2 channel decoded by an Enigma2 box:

http://openpli.org/f...post__p__226006

The patch is not yet ready for release, I will share it later.

Re: Patch about VHF not scanned with USB DTT #16 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,472 posts

+118
Excellent

Posted 23 October 2011 - 18:12

did you allready contact ET/CT regarding this problem in there drivers?

on the Glassfibre 1GB DVB-C...


Re: Patch about VHF not scanned with USB DTT #17 Gennar1

  • Senior Member
  • 296 posts

+31
Good

Posted 23 October 2011 - 18:20

Not yet, but I will probably do in the coming days.
I will start from the clarke-xtrend-support.com forum where I think there is a ET9X00 kernel driver developer.

Re: Patch about VHF not scanned with USB DTT #18 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 23 October 2011 - 20:14

Indeed, let them fix the issue, I prefer not to put a workaround in place, if it is only temporarily. Till then, people can use the drivers you guys built.

Re: Patch about VHF not scanned with USB DTT #19 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 23 October 2011 - 20:19


MMhhhhh really, sorry, I'm not an expert about this but .... CT drivers are involved to an external USB DTT ?

Yes, they are for sat tuners. But also for USB DTT ? I think that E2 send data to kernel but for USB DTT CT driver are not involved.....


I'm not an expert too, but for example I suppose they could accidentally write some value in the wrong memory area.


A virtual frontend device is created, so yes the drivers are involved. And if that virtual frontend device would ignore -say- the bandwith parameter and always use '0' (=auto), this is what you would get if the usb tuner does not support auto bandwith.

Re: Patch about VHF not scanned with USB DTT #20 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 23 October 2011 - 20:47



MMhhhhh really, sorry, I'm not an expert about this but .... CT drivers are involved to an external USB DTT ?

Yes, they are for sat tuners. But also for USB DTT ? I think that E2 send data to kernel but for USB DTT CT driver are not involved.....


I'm not an expert too, but for example I suppose they could accidentally write some value in the wrong memory area.


A virtual frontend device is created, so yes the drivers are involved. And if that virtual frontend device would ignore -say- the bandwith parameter and always use '0' (=auto), this is what you would get if the usb tuner does not support auto bandwith.


Not only "bandwith" but also "code_rate_HP" as gennar1 says above.
Two parameters are always zeroed by CT driver.

The real question is: someone can contact a Clarke Tech developer and report this issue ?

I have no contact inside CT .....
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users