Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto

2008-01-15 Thread Manu Abraham
Reinhard Nissl wrote:
> Hi,
> 
> Morfsta schrieb:
> 
>>> Please report the debug output here for further investigation.
>> Attached are two files - tuning to the same DVB-T channel using either
>> system and the Philips frontend... vdr-1.4.x shows the channel fine,
>> 1.5.12 does not.
>>
>> Hope this helps and thanks again for your assistance.
> 
> Hmm, the translation layer doesn't work correctly. It doesn't
> translate new bandwidth value 1 to old bandwidth value 0,
> although there exists code to do this translation, and it should
> get called as the other translations happen correctly.
> 
> As a result the old driver uses a bandwidth of 7 MHz instead of 8
> MHz.
> 
> While copying the code here to ask for help in searching the bug,
> it seems that I found the bug -- a missing break in the DVB-T
> case ;-)
> 
> Please try the attached patch.

That indeed did fix. Have applied it to the tree.

Thanks,
Manu


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto

2008-01-14 Thread Magnus Hörlin
Reinhard Nissl wrote:
> Hi,
>
> Morfsta schrieb:
>
>   
>>> Please report the debug output here for further investigation.
>>>   
>> Attached are two files - tuning to the same DVB-T channel using either
>> system and the Philips frontend... vdr-1.4.x shows the channel fine,
>> 1.5.12 does not.
>>
>> Hope this helps and thanks again for your assistance.
>> 
>
> Hmm, the translation layer doesn't work correctly. It doesn't
> translate new bandwidth value 1 to old bandwidth value 0,
> although there exists code to do this translation, and it should
> get called as the other translations happen correctly.
>
> As a result the old driver uses a bandwidth of 7 MHz instead of 8
> MHz.
>
> While copying the code here to ask for help in searching the bug,
> it seems that I found the bug -- a missing break in the DVB-T
> case ;-)
>
> Please try the attached patch.
>
> Bye.
>   
> 
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>   
Big thanks guys, works here too! Finally I can put my S2-3200 in my 
"production" server.
/Magnus H


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto

2008-01-13 Thread Morfsta
> While copying the code here to ask for help in searching the bug,
> it seems that I found the bug -- a missing break in the DVB-T
> case ;-)
>
> Please try the attached patch.

Reinhard you've done it!!! All working! :-)

Thanks a lot for your work, I'm sure a lot of people are going to be very happy!

Cheers,

Morfsta

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto

2008-01-13 Thread Reinhard Nissl
Hi,

Morfsta schrieb:

>> Please report the debug output here for further investigation.
> 
> Attached are two files - tuning to the same DVB-T channel using either
> system and the Philips frontend... vdr-1.4.x shows the channel fine,
> 1.5.12 does not.
> 
> Hope this helps and thanks again for your assistance.

Hmm, the translation layer doesn't work correctly. It doesn't
translate new bandwidth value 1 to old bandwidth value 0,
although there exists code to do this translation, and it should
get called as the other translations happen correctly.

As a result the old driver uses a bandwidth of 7 MHz instead of 8
MHz.

While copying the code here to ask for help in searching the bug,
it seems that I found the bug -- a missing break in the DVB-T
case ;-)

Please try the attached patch.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -413,7 +441,7 @@ int newapi_to_olddrv(struct dvbfe_params
 			ofdm->transmission_mode = TRANSMISSION_MODE_AUTO;
 			break;
 		default:
-			dprintk("%s: Unsupported transmission mode %x\n", __func__, dvbt->bandwidth);
+			dprintk("%s: Unsupported transmission mode %x\n", __func__, dvbt->transmission_mode);
 			return -EINVAL;
 		}
 		switch (dvbt->guard_interval) {
@@ -454,6 +482,7 @@ int newapi_to_olddrv(struct dvbfe_params
 			}
 			break;
 		}
+		break;
 	case DVBFE_DELSYS_ATSC:
 		newmod_to_oldmod(atsc->modulation, &vsb->modulation);
 		break;
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto

2008-01-13 Thread Morfsta
> Please report the relevant channel from VDR-1.4.x' channel.conf
> and from VDR-1.5.12's channel.conf too.
>

1.4.x: -

BBC ONE;BBC:73000:I0C34D34M16B8T2G32Y0:T:27500:600:601=eng,602=eng:0:0:4165:
9018:4101:0

1.5.12: -

BBC ONE;BBC:73000:A0I0C34D34M16B8T2G32Y0P0:T:27500:600:601=eng,602=eng:0:0:4
165:9018:4101:0

Regards

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto

2008-01-13 Thread Morfsta
> I spent the whole evening with Manu looking through the emulation
> layer and cannot see any obvious errors in the DVB-T case.
>

Thank-you very much for your time.

> Then use VDR-1.4.x (limited to only one device) and tune to a
> certain DVB-T channel. Have a look what the driver reports (see
> dmesg or /var/log/messages or anything else which suits your
> system) at least for the set_frontend() function.
>
> Next use VDR-1.5.12-dvbs2-... (limited to only one device) and
> tune to the same DVB-T channel. Check what the driver reports
> this time. Additionally to the set_frontend() output there must a
> similar output before it which shows the parameters which VDR
> passed to the emulation layer.
>
> Please report the debug output here for further investigation.
>

Attached are two files - tuning to the same DVB-T channel using either
system and the Philips frontend... vdr-1.4.x shows the channel fine,
1.5.12 does not.

Hope this helps and thanks again for your assistance.

Regards


vdr-1.4.x_dvbt_BBCONE.log.bz2
Description: BZip2 compressed data


vdr-1.5.12_dvbs2_dvbt_BBCONE.log.bz2
Description: BZip2 compressed data
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto

2008-01-13 Thread Reinhard Nissl
Hi,

Reinhard Nissl schrieb:

> Please report the debug output here for further investigation.

Please report the relevant channel from VDR-1.4.x' channel.conf
and from VDR-1.5.12's channel.conf too.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto

2008-01-12 Thread Reinhard Nissl
Hi,

Stefan Lucke schrieb:

>>> Same here.
>>> Which DVB-T device do you use ? I'm using a cinergyT2.
>>>
>>> Ioctl's for this device are not passed
>>> via the common frontend interface. The new "API" has to get
>>> integrated into the cinergyT2 driver or client programs like vdr etc.
>>> have to recognize the driver supported API ;-) .
>>
>> I am using two Hauppauge Nova-T (tda1004x and cx2388x).
>>
>> Manu said in an earlier thread that there should be compatibility with
>> the old API so he doesn't think that should be a problem. The driver
>> in the multiproto tree for my devices have not been changed so should
>> work through the compatibility layer.
>>
>> The odd thing is that when I use an older pre-compiled VDR 1.4.x with
>> the new multiproto drivers everything works fine but when I compile
>> 1.5.12 with multiproto includes it doesn't work.

I spent the whole evening with Manu looking through the emulation
layer and cannot see any obvious errors in the DVB-T case.

It looks like there is still an error in the translation from the
multiproto SET_PARAMS ioctl to the old SET_FRONTEND. Manu was so
kind and created the attached patch, which prints the original
values given to SET_PARAMS in the DVB-T case and the translated
values which tda1004x' set_frontend() implementation receives.

Morfsta: as you have such a card and reported that VDR-1.4.x
tunes to DVB-T using the multiproto drivers (but old API) I ask
you to test this patch.

Make sure that VDR only uses the device with the tda1004x on it
by adding a suitable -Dx argument to VDR's command line.

To activate the logging messages, load the module dvb_core with
parameter dvb_frontend_debug=1 and the module tda1004x with
parameter debug=1.

Then use VDR-1.4.x (limited to only one device) and tune to a
certain DVB-T channel. Have a look what the driver reports (see
dmesg or /var/log/messages or anything else which suits your
system) at least for the set_frontend() function.

Next use VDR-1.5.12-dvbs2-... (limited to only one device) and
tune to the same DVB-T channel. Check what the driver reports
this time. Additionally to the set_frontend() output there must a
similar output before it which shows the parameters which VDR
passed to the emulation layer.

Please report the debug output here for further investigation.

> So I guess in your case, there is still an issue with the compatibility
> layer of http://jusst.de/hg/multiproto/ .
> 
> In my case I managed to get my cinergyT2 work with Reinhard's
> modified vdr, with attached diff.

Hmm, looks like you provide your own emulation layer :-(

Anyway, Manu agrees with me that it is not a good idea to have
multiple implementations of an emulation layer with the expense
of fixing the same bugs in every single driver.

Only when a device requires to use the new API (e. g. to report
DELSYS_DVBS2), the driver should be ported to the new API and
typically it should drop support for the old API at the same
time, too.

So, please revert your change and apply the attached patch. Copy
the debug output code from the tda1004x to your driver's file and
take part in the test.

Thanks in advance.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]
diff -r 4df151d5b3fe linux/drivers/media/dvb/dvb-core/dvb_frontend.c
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Sat Dec 01 01:50:24 2007 +0400
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Sun Jan 13 02:11:39 2008 +0400
@@ -371,6 +371,15 @@ int newapi_to_olddrv(struct dvbfe_params
 	p->frequency = params->frequency;
 	p->inversion = params->inversion;
 
+	dprintk("%s (Debug): __func__\n,\
+		Frequency=0x%04x\n,\
+		Inversion=0x%04x\n,\
+		Delivery System=0x%04x\n",\
+		 __func__,\
+		 p->frequency,\
+		 p->inversion,\
+		 delsys);
+
 	switch (delsys) {
 	case DVBFE_DELSYS_DVBS:
 		qpsk->symbol_rate		= dvbs->symbol_rate;
@@ -382,6 +391,25 @@ int newapi_to_olddrv(struct dvbfe_params
 		newfec_to_oldfec(dvbc->fec, &qam->fec_inner);
 		break;
 	case DVBFE_DELSYS_DVBT:
+		dprintk("%s (Debug): Delivery System=DVB-T\n,\
+			Bandwidth=0x%04x\n,\
+			Code Rate HP=0x%04x\n,\
+			Code Rate LP=0x%04x\n,\
+			Constellation=0x%04x\n,\
+			Transmission mode=0x%04x\n,\
+			Guard Interval=0x%04x\n,\
+			Hierarchy=0x%04x\n,\
+			Alpha=0x%04x\n",\
+			 __func__,\
+			 dvbt->bandwidth,\
+			 dvbt->code_rate_HP,\
+			 dvbt->code_rate_LP,\
+			 dvbt->constellation,\
+			 dvbt->transmission_mode,\
+			 dvbt->guard_interval,\
+			 dvbt->hierarchy,\
+			 dvbt->alpha);
+
 		switch (dvbt->bandwidth) {
 		case DVBFE_BANDWIDTH_8_MHZ:
 			ofdm->bandwidth		= BANDWIDTH_8_MHZ;
diff -r 4df151d5b3fe linux/drivers/media/dvb/frontends/tda1004x.c
--- a/linux/drivers/media/dvb/frontends/tda1004x.c	Sat Dec 01 01:50:24 2007 +0400
+++ b/linux/drivers/media/dvb/frontends/tda1004x.c	Sun Jan 13 02:19:05 2008 +0400
@@ -688,6 +688,26 @@ static int tda1004x_set_fe(struct dvb_fr
 	int inversion;
 
 	dprintk("%s\n", __FUNCTION__);
+	dprintk("%s (Debug):\n,\
+			Frequency=0x%04x\n,\
+		

Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto [Was: Two VDR's on one machine]

2008-01-12 Thread Stefan Lucke
On Saturday 12 January 2008, Morfsta wrote:
> On Jan 12, 2008 3:37 PM, Stefan Lucke <[EMAIL PROTECTED]> wrote:
> > Same here.
> > Which DVB-T device do you use ? I'm using a cinergyT2.
> >
> > Ioctl's for this device are not passed
> > via the common frontend interface. The new "API" has to get
> > integrated into the cinergyT2 driver or client programs like vdr etc.
> > have to recognize the driver supported API ;-) .
> >
> 
> I am using two Hauppauge Nova-T (tda1004x and cx2388x).
> 
> Manu said in an earlier thread that there should be compatibility with
> the old API so he doesn't think that should be a problem. The driver
> in the multiproto tree for my devices have not been changed so should
> work through the compatibility layer.
> 
> The odd thing is that when I use an older pre-compiled VDR 1.4.x with
> the new multiproto drivers everything works fine but when I compile
> 1.5.12 with multiproto includes it doesn't work.

So I guess in your case, there is still an issue with the compatibility
layer of http://jusst.de/hg/multiproto/ .

In my case I managed to get my cinergyT2 work with Reinhard's
modified vdr, with attached diff.


-- 
Stefan Lucke
diff -r 4df151d5b3fe linux/drivers/media/dvb/cinergyT2/cinergyT2.c
--- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c Sat Dec 01 01:50:24 
2007 +0400
+++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c Sat Jan 12 22:45:29 
2008 +0100
@@ -1,5 +1,5 @@
 /*
- * TerraTec Cinergy T²/qanu USB2 DVB-T adapter.
+ * TerraTec Cinergy T²/qanu USB2 DVB-T adapter.
  *
  * Copyright (C) 2004 Daniel Mack <[EMAIL PROTECTED]> and
  * Holger Waechtler <[EMAIL PROTECTED]>
@@ -511,6 +511,106 @@ static uint16_t compute_tps (struct dvb_
return tps;
 }
 
+static uint16_t compute_newtps (struct dvbfe_params *fep)
+{
+   uint16_t tps = 0;
+
+   switch (fep->delsys.dvbt.code_rate_HP) {
+   case DVBFE_FEC_2_3:
+   tps |= (1 << 7);
+   break;
+   case DVBFE_FEC_3_4:
+   tps |= (2 << 7);
+   break;
+   case DVBFE_FEC_5_6:
+   tps |= (3 << 7);
+   break;
+   case DVBFE_FEC_7_8:
+   tps |= (4 << 7);
+   break;
+   case DVBFE_FEC_1_2:
+   case DVBFE_FEC_AUTO:
+   default:
+   /* tps |= (0 << 7) */;
+   }
+
+   switch (fep->delsys.dvbt.code_rate_LP) {
+   case DVBFE_FEC_2_3:
+   tps |= (1 << 4);
+   break;
+   case DVBFE_FEC_3_4:
+   tps |= (2 << 4);
+   break;
+   case DVBFE_FEC_5_6:
+   tps |= (3 << 4);
+   break;
+   case DVBFE_FEC_7_8:
+   tps |= (4 << 4);
+   break;
+   case DVBFE_FEC_1_2:
+   case DVBFE_FEC_AUTO:
+   default:
+   /* tps |= (0 << 4) */;
+   }
+
+   switch (fep->delsys.dvbt.constellation) {
+   case DVBFE_MOD_QAM16:
+   tps |= (1 << 13);
+   break;
+   case DVBFE_MOD_QAM64:
+   tps |= (2 << 13);
+   break;
+   case DVBFE_MOD_QPSK:
+   default:
+   /* tps |= (0 << 13) */;
+   }
+
+   switch (fep->delsys.dvbt.transmission_mode) {
+   case DVBFE_TRANSMISSION_MODE_8K:
+   tps |= (1 << 0);
+   break;
+   case DVBFE_TRANSMISSION_MODE_2K:
+   default:
+   /* tps |= (0 << 0) */;
+   }
+
+   switch (fep->delsys.dvbt.guard_interval) {
+   case DVBFE_GUARD_INTERVAL_1_16:
+   tps |= (1 << 2);
+   break;
+   case DVBFE_GUARD_INTERVAL_1_8:
+   tps |= (2 << 2);
+   break;
+   case DVBFE_GUARD_INTERVAL_1_4:
+   tps |= (3 << 2);
+   break;
+   case DVBFE_GUARD_INTERVAL_1_32:
+   default:
+   /* tps |= (0 << 2) */;
+   }
+
+   switch (fep->delsys.dvbt.hierarchy) {
+   case DVBFE_HIERARCHY_ON:
+   switch (fep->delsys.dvbt.alpha) {
+   case DVBFE_ALPHA_1:
+   tps |= (1 << 10);
+   break;
+   case DVBFE_ALPHA_2:
+   tps |= (2 << 10);
+   break;
+   case DVBFE_ALPHA_4:
+   tps |= (3 << 10);
+   break;
+   }
+   

Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto [Was: Two VDR's on one machine]

2008-01-12 Thread Morfsta
On Jan 12, 2008 3:37 PM, Stefan Lucke <[EMAIL PROTECTED]> wrote:
> Same here.
> Which DVB-T device do you use ? I'm using a cinergyT2.
>
> Ioctl's for this device are not passed
> via the common frontend interface. The new "API" has to get
> integrated into the cinergyT2 driver or client programs like vdr etc.
> have to recognize the driver supported API ;-) .
>

I am using two Hauppauge Nova-T (tda1004x and cx2388x).

Manu said in an earlier thread that there should be compatibility with
the old API so he doesn't think that should be a problem. The driver
in the multiproto tree for my devices have not been changed so should
work through the compatibility layer.

The odd thing is that when I use an older pre-compiled VDR 1.4.x with
the new multiproto drivers everything works fine but when I compile
1.5.12 with multiproto includes it doesn't work.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto [Was: Two VDR's on one machine]

2008-01-12 Thread Stefan Lucke
On Saturday 12 January 2008, Morfsta wrote:
> Hi,
> 
> Thanks for speaking with Marco, Reinhard - its appreciated.
> 
> Unfortunately, the patch does not fix the problem. Still no picture on
> DVB-T transmissions.

Same here.
Which DVB-T device do you use ? I'm using a cinergyT2.

Ioctl's for this device are not passed
via the common frontend interface. The new "API" has to get
integrated into the cinergyT2 driver or client programs like vdr etc.
have to recognize the driver supported API ;-) .

> 
> Regards
> 
> On Jan 11, 2008 7:21 PM, Reinhard Nissl <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Reinhard Nissl schrieb:
> >
> > > So it seems to me that either the emulation layer has a bug for
> > > DVB-T or the patched VDR passes incorrect data to the new API.
> >
> > Looks like the latter is true: Marco Schlüßler informed me that
> > the mapping of TransmissionModes in nit.c for DVB-T is wrong.
> >
> > I've created the attached patch according to his' instructions.
> >
> > Please give the patch a try and report success or failure.
> >
> >
> > Bye.

Stefan Lucke

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto [Was: Two VDR's on one machine]

2008-01-12 Thread Morfsta
Hi,

Thanks for speaking with Marco, Reinhard - its appreciated.

Unfortunately, the patch does not fix the problem. Still no picture on
DVB-T transmissions.

Regards

On Jan 11, 2008 7:21 PM, Reinhard Nissl <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Reinhard Nissl schrieb:
>
> > So it seems to me that either the emulation layer has a bug for
> > DVB-T or the patched VDR passes incorrect data to the new API.
>
> Looks like the latter is true: Marco Schlüßler informed me that
> the mapping of TransmissionModes in nit.c for DVB-T is wrong.
>
> I've created the attached patch according to his' instructions.
>
> Please give the patch a try and report success or failure.
>
>
> Bye.
> --
> Dipl.-Inform. (FH) Reinhard Nissl
> mailto:[EMAIL PROTECTED]
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto [Was: Two VDR's on one machine]

2008-01-11 Thread Reinhard Nissl
Hi,

Reinhard Nissl schrieb:

> So it seems to me that either the emulation layer has a bug for
> DVB-T or the patched VDR passes incorrect data to the new API.

Looks like the latter is true: Marco Schlüßler informed me that
the mapping of TransmissionModes in nit.c for DVB-T is wrong.

I've created the attached patch according to his' instructions.

Please give the patch a try and report success or failure.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]
--- ../vdr-1.5.12-dvbs2-other/nit.c	2008-01-01 22:55:18.0 +0100
+++ nit.c	2008-01-11 20:15:15.0 +0100
@@ -239,7 +239,7 @@ void cNitFilter::Process(u_short Pid, u_
  int CodeRateLP = CodeRates[sd->getCodeRateLP()];
  static int GuardIntervals[] = { DVBFE_GUARD_INTERVAL_1_32, DVBFE_GUARD_INTERVAL_1_16, DVBFE_GUARD_INTERVAL_1_8, DVBFE_GUARD_INTERVAL_1_4 };
  int GuardInterval = GuardIntervals[sd->getGuardInterval()];
- static int TransmissionModes[] = { DVBFE_TRANSMISSION_MODE_2K, DVBFE_TRANSMISSION_MODE_4K, DVBFE_TRANSMISSION_MODE_8K, DVBFE_TRANSMISSION_MODE_AUTO };
+ static int TransmissionModes[] = { DVBFE_TRANSMISSION_MODE_2K, DVBFE_TRANSMISSION_MODE_8K, DVBFE_TRANSMISSION_MODE_4K, DVBFE_TRANSMISSION_MODE_AUTO };
  int TransmissionMode = TransmissionModes[sd->getTransmissionMode()];
  static int Alphas[] = { DVBFE_ALPHA_1, DVBFE_ALPHA_2, DVBFE_ALPHA_4 };
  static int Priorities[] = { DVBFE_STREAM_PRIORITY_LP, DVBFE_STREAM_PRIORITY_HP };
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto [Was: Two VDR's on one machine]

2008-01-10 Thread Reinhard Nissl
Hi,

Morfsta schrieb:

> This problem keeps coming up over again, but for some reason Reinhard
> and Manu don't seem to want to talk about it.

Well, what should I talk about it? I don't have a DVB-T device
for testing and even if I had one, I live in a DVB-S only area in
Germany.

And furthermore, I was only involved in the multiproto
development as a tester. I don't know much about the internals.
The DVB-S2 port of VDR was contributed by Marco Schlüßler and I
only redistribute it to protect users form the pain to merge two
patchsets by hand.

> I do not understand why you can't use DVB-T with DVB-S2 using the
> multiproto drivers and VDR, but I doubt it can be much of a problem.

Well, both Manu and Marco wrote that the current multiproto tree
provides an emulation layer which allows to access drivers which
only provide the old API via the new API.

So it seems to me that either the emulation layer has a bug for
DVB-T or the patched VDR passes incorrect data to the new API.

> It would be great if someone could look into this for us!

I'm sorry that I cannot help you in this regard.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] BUG: DVB-T and DVB-S[2] do not work with VDR & multiproto [Was: Two VDR's on one machine]

2008-01-10 Thread Morfsta
This problem keeps coming up over again, but for some reason Reinhard
and Manu don't seem to want to talk about it.

I do not understand why you can't use DVB-T with DVB-S2 using the
multiproto drivers and VDR, but I doubt it can be much of a problem.

I started modifying VDR to use the old API calls for DVB-T whilst
using the new calls for DVB-S and S2 and I managed to get VDR to tune
to the current DVB-T frequency and show the picture, but it would not
tune to new frequencies. :-(

I too was considering using 2 VDRs on a single system using the -D
options but it's very messy.

It would be great if someone could look into this for us!

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr