public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] Technotrend S2-3200 Scanning
@ 2008-05-15 23:02 Jelle De Loecker
       [not found] ` <E1JwrWW-0006Ye-00.goga777-bk-ru@f139.mail.ru>
  0 siblings, 1 reply; 16+ messages in thread
From: Jelle De Loecker @ 2008-05-15 23:02 UTC (permalink / raw)
  To: linux-dvb

Hi again,

It's been a busy day. So I temporarily removed LinuxMCE to install the 
newer Mythbuntu 8.04 - the drivers finally recognize the S2-3200!

But now I'm stuck again, and it seems to me this is a problem which has 
been faced, and fixed, before - I just can't fix it now because 
apparently so much has changed that all the patches don't work on the 
new source files anymore: any hacked "scan" or "szap" program won't compile.

(Keep in mind I'm using a switch between my S2-3200 card and my 4 LNBs - 
will this cause any problems?)

This is the problem you've no doubt seen before.

$ sudo scan /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E 
 >channels.conf

scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 12551500 V 22000000 5
 >>> tune to: 12551:v:0:22000
__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid 
argument
 >>> tune to: 12551:v:0:22000
__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid 
argument
ERROR: initial tuning failed
dumping lists (0 services)
Done.


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
       [not found] ` <E1JwrWW-0006Ye-00.goga777-bk-ru@f139.mail.ru>
@ 2008-05-16  5:25   ` Jelle De Loecker
  2008-05-16  5:58     ` Igor
  2008-05-18  8:12     ` Igor Nikanov
  0 siblings, 2 replies; 16+ messages in thread
From: Jelle De Loecker @ 2008-05-16  5:25 UTC (permalink / raw)
  To: Igor, linux-dvb

Hi Igor,

I've tried using a version from the repository, dvb-utils 1.1.1-3

I also tried to compile the originals from the source tree, unpatched, 
http://linuxtv.org/hg/dvb-apps

I tried to patch "scan" with this scan source: 
http://jusst.de/manu/scan.tar.bz2

And I tried to patch szap with this file:  
http://abraham.manu.googlepages.com/szap.c

But those patched versions won't compile, except for ONE time:

I finally got to compile the patched "scan" (but trying to recompile 
afterwards failed again, very strange) but it *still* didn't scan:

$ sudo scan -t 1 -s 1 dvb-s/Astra-19.2E > ~/channels.conf
scanning dvb-s/Astra-19.2E
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 12551500 V 22000000 22000000
ioctl DVBFE_GET_INFO failed: Operation not supported
ERROR: initial tuning failed
dumping lists (0 services)
Done.



Igor schreef:
> which version of multiproto, szap2, scan did you use ?
>
> -----Original Message-----
> From: Jelle De Loecker <skerit@kipdola.com>
> To: linux-dvb@linuxtv.org
> Date: Fri, 16 May 2008 01:02:08 +0200
> Subject: [linux-dvb] Technotrend S2-3200 Scanning
>
>   
>> But now I'm stuck again, and it seems to me this is a problem which has 
>> been faced, and fixed, before - I just can't fix it now because 
>> apparently so much has changed that all the patches don't work on the 
>> new source files anymore: any hacked "scan" or "szap" program won't compile.
>>
>> (Keep in mind I'm using a switch between my S2-3200 card and my 4 LNBs - 
>> will this cause any problems?)
>>
>> This is the problem you've no doubt seen before.
>>
>> $ sudo scan /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E 
>>  >channels.conf
>>
>> scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E
>> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
>> initial transponder 12551500 V 22000000 5
>>  >>> tune to: 12551:v:0:22000
>> __tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid 
>> argument
>>  >>> tune to: 12551:v:0:22000
>> __tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid 
>> argument
>> ERROR: initial tuning failed
>> dumping lists (0 services)
>> Done

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-16  5:25   ` Jelle De Loecker
@ 2008-05-16  5:58     ` Igor
  2008-05-16  6:30       ` Jens Krehbiel-Gräther
  2008-05-18  8:12     ` Igor Nikanov
  1 sibling, 1 reply; 16+ messages in thread
From: Igor @ 2008-05-16  5:58 UTC (permalink / raw)
  To: Jelle De Loecker; +Cc: linux-dvb

> I've tried using a version from the repository, dvb-utils 1.1.1-3
> 
> I also tried to compile the originals from the source tree, unpatched, 
> http://linuxtv.org/hg/dvb-apps

yes, you have to use szap2 in the TEST directory  with the latest multiproto
http://linuxtv.org/hg/dvb-apps/file/31a6dd437b9a/test/szap2.c

> I tried to patch "scan" with this scan source: 
> http://jusst.de/manu/scan.tar.bz2
> 
> And I tried to patch szap with this file:  
> http://abraham.manu.googlepages.com/szap.c

imho, this versions are not actually. 
It seems to me there's not any working scan's version for currently multiproto.


Igor

> But those patched versions won't compile, except for ONE time:
> 
> I finally got to compile the patched "scan" (but trying to recompile 
> afterwards failed again, very strange) but it *still* didn't scan:
> 
> $ sudo scan -t 1 -s 1 dvb-s/Astra-19.2E > ~/channels.conf
> scanning dvb-s/Astra-19.2E
> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> initial transponder 12551500 V 22000000 22000000
> ioctl DVBFE_GET_INFO failed: Operation not supported
> ERROR: initial tuning failed
> dumping lists (0 services)
> Done.
> 
> 
> 
> Igor schreef:
> > which version of multiproto, szap2, scan did you use ?
> >
> > -----Original Message-----
> > From: Jelle De Loecker <skerit@kipdola.com>
> > To: linux-dvb@linuxtv.org
> > Date: Fri, 16 May 2008 01:02:08 +0200
> > Subject: [linux-dvb] Technotrend S2-3200 Scanning
> >
> >   
> >> But now I'm stuck again, and it seems to me this is a problem which has 
> >> been faced, and fixed, before - I just can't fix it now because 
> >> apparently so much has changed that all the patches don't work on the 
> >> new source files anymore: any hacked "scan" or "szap" program won't compile.
> >>
> >> (Keep in mind I'm using a switch between my S2-3200 card and my 4 LNBs - 
> >> will this cause any problems?)
> >>
> >> This is the problem you've no doubt seen before.
> >>
> >> $ sudo scan /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E 
> >>  >channels.conf
> >>
> >> scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E
> >> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> >> initial transponder 12551500 V 22000000 5
> >>  >>> tune to: 12551:v:0:22000
> >> __tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid 
> >> argument
> >>  >>> tune to: 12551:v:0:22000
> >> __tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid 
> >> argument
> >> ERROR: initial tuning failed
> >> dumping lists (0 services)
> >> Done
> 

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-16  5:58     ` Igor
@ 2008-05-16  6:30       ` Jens Krehbiel-Gräther
  2008-05-16  7:10         ` Jelle De Loecker
  0 siblings, 1 reply; 16+ messages in thread
From: Jens Krehbiel-Gräther @ 2008-05-16  6:30 UTC (permalink / raw)
  To: linux-dvb

[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]

Igor schrieb:
>> I've tried using a version from the repository, dvb-utils 1.1.1-3
>>
>> I also tried to compile the originals from the source tree, unpatched, 
>> http://linuxtv.org/hg/dvb-apps
>>     
>
> yes, you have to use szap2 in the TEST directory  with the latest multiproto
> http://linuxtv.org/hg/dvb-apps/file/31a6dd437b9a/test/szap2.c
>
>   
>> I tried to patch "scan" with this scan source: 
>> http://jusst.de/manu/scan.tar.bz2
>>
>> And I tried to patch szap with this file:  
>> http://abraham.manu.googlepages.com/szap.c
>>     
>
> imho, this versions are not actually. 
> It seems to me there's not any working scan's version for currently multiproto.
>   


I postet a patch a few weeks ago (here again).
These szap and scan patches prepare the apps for actual multiproto (well 
for multiproto a few weeks ago, if the api hasn't changed again, these 
should work).

you have to patch the szap and scan from this sources:

http://abraham.manu.googlepages.com/szap.c
http://abraham.manu.googlepages.com/szap.c


Jens

[-- Attachment #2: scan-multiproto-3.3.patch --]
[-- Type: text/plain, Size: 1549 bytes --]

diff -Naur 1/scan.c 2/scan.c
--- 1/scan.c	2008-04-03 02:00:19.000000000 +0200
+++ 2/scan.c	2008-04-03 12:29:32.000000000 +0200
@@ -1674,15 +1674,18 @@
 	}
 
         struct dvbfe_info fe_info1;
+	enum dvbfe_delsys delivery;
 
         // a temporary hack, need to clean
         memset(&fe_info1, 0, sizeof (struct dvbfe_info));
             
         if(t->modulation_system == 0)
-            fe_info1.delivery = DVBFE_DELSYS_DVBS;
+            delivery = DVBFE_DELSYS_DVBS;
         else if(t->modulation_system == 1)
-            fe_info1.delivery = DVBFE_DELSYS_DVBS2;
-            
+            delivery = DVBFE_DELSYS_DVBS2;
+
+        ioctl(frontend_fd, DVBFE_SET_DELSYS, &delivery); //switch system 
+
         int result = ioctl(frontend_fd, DVBFE_GET_INFO, &fe_info1);
         if (result < 0) {
             perror("ioctl DVBFE_GET_INFO failed");
@@ -1690,7 +1693,7 @@
             return -1;
         }
         
-        switch (fe_info1.delivery) {
+        switch (delivery) {
             case DVBFE_DELSYS_DVBS:
                 info("----------------------------------> Using '%s' DVB-S\n", fe_info.name);
                 break;
@@ -1701,7 +1704,7 @@
                 info("----------------------------------> Using '%s' DVB-S2\n", fe_info.name);
                 break;
             default:
-                info("Unsupported Delivery system (%d)!\n", fe_info1.delivery);
+                info("Unsupported Delivery system (%d)!\n", delivery);
                 t->last_tuning_failed = 1;
                 return -1;
         }

[-- Attachment #3: szap-multiproto-apiv33.diff --]
[-- Type: text/x-patch, Size: 1595 bytes --]

--- org/szap.c	2008-04-02 20:47:05.000000000 +0200
+++ new/szap.c	2008-04-02 20:46:30.000000000 +0200
@@ -351,6 +351,7 @@
 	uint32_t ifreq;
 	int hiband, result;
 	struct dvbfe_info fe_info;
+	enum dvbfe_delsys delivery;
 
 	// a temporary hack, need to clean
 	memset(&fe_info, 0, sizeof (&fe_info));
@@ -365,15 +366,15 @@
 	switch (delsys) {
 	case DVBS:
 		printf("Querying info .. Delivery system=DVB-S\n");
-		fe_info.delivery = DVBFE_DELSYS_DVBS;	
+		delivery = DVBFE_DELSYS_DVBS;
 		break;
 	case DSS:
 		printf("Querying info .. Delivery system=DSS\n");
-		fe_info.delivery = DVBFE_DELSYS_DSS;
+		delivery = DVBFE_DELSYS_DSS;
 		break;
 	case DVBS2:
 		printf("Querying info .. Delivery system=DVB-S2\n");
-		fe_info.delivery = DVBFE_DELSYS_DVBS2;
+		delivery = DVBFE_DELSYS_DVBS2;
 		break;
 	default:
 		printf("Unsupported delivery system\n");
@@ -391,6 +392,8 @@
 			return FALSE;
 		}
 
+		ioctl(fefd, DVBFE_SET_DELSYS, &delivery); //switch system
+
 		result = ioctl(fefd, DVBFE_GET_INFO, &fe_info);
 		if (result < 0) {
 			perror("ioctl DVBFE_GET_INFO failed");
@@ -398,7 +401,7 @@
 			return FALSE;
 		}
 		
-		switch (fe_info.delivery) {
+		switch (delivery) {
 		case DVBFE_DELSYS_DVBS:
 			printf("----------------------------------> Using '%s' DVB-S", fe_info.name);
 			break;
@@ -409,7 +412,7 @@
 			printf("----------------------------------> Using '%s' DVB-S2", fe_info.name);
 			break;
 		default:
-			printf("Unsupported Delivery system (%d)!\n", fe_info.delivery);
+			printf("Unsupported Delivery system (%d)!\n", delivery);
 			close(fefd);
 			return FALSE;
 		}

[-- Attachment #4: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-16  6:30       ` Jens Krehbiel-Gräther
@ 2008-05-16  7:10         ` Jelle De Loecker
  2008-05-16  8:01           ` ChaosMedia > WebDev
  0 siblings, 1 reply; 16+ messages in thread
From: Jelle De Loecker @ 2008-05-16  7:10 UTC (permalink / raw)
  To: Jens Krehbiel-Gräther, LinuxTV DVB Mailing

Jens Krehbiel-Gräther schreef:
> I postet a patch a few weeks ago (here again).
> These szap and scan patches prepare the apps for actual multiproto 
> (well for multiproto a few weeks ago, if the api hasn't changed again, 
> these should work).
>
> you have to patch the szap and scan from this sources:
>
> http://abraham.manu.googlepages.com/szap.c
> http://abraham.manu.googlepages.com/szap.c
I fear things have changed too much for the patches to work. (Or I'm 
messing up a simple command like patch)

Szap: (Using the other szap.c file I can actually apply the patch, but 
the new szap.c seems to be incompatible)
# wget http://abraham.manu.googlepages.com/szap.c
# sudo mv szap.c.1 szap.c
# patch < szap-multiproto-apiv33.diff
patching file szap.c
# make
CC lnb.o
CC azap
CC czap
CC szap
szap.c: In function ‘do_tune’:
szap.c:243: error: storage size of ‘fe_params’ isn’t known
szap.c:282: error: ‘DVBFE_SET_PARAMS’ undeclared (first use in this 
function)
szap.c:282: error: (Each undeclared identifier is reported only once
szap.c:282: error: for each function it appears in.)
szap.c:243: warning: unused variable ‘fe_params’
szap.c: In function ‘zap_to’:
szap.c:353: error: storage size of ‘fe_info’ isn’t known
szap.c:354: error: storage size of ‘delivery’ isn’t known
szap.c:369: error: ‘DVBFE_DELSYS_DVBS’ undeclared (first use in this 
function)
szap.c:373: error: ‘DVBFE_DELSYS_DSS’ undeclared (first use in this 
function)
szap.c:377: error: ‘DVBFE_DELSYS_DVBS2’ undeclared (first use in this 
function)
szap.c:395: error: ‘DVBFE_SET_DELSYS’ undeclared (first use in this 
function)
szap.c:397: error: ‘DVBFE_GET_INFO’ undeclared (first use in this function)
szap.c:354: warning: unused variable ‘delivery’
szap.c:353: warning: unused variable ‘fe_info’
make: *** [szap] Error 1

Scan: (I'm using the original file, since I can't find another version 
on Manu's googlepages)
# patch -i scan-multiproto-3.3.patch

patching file scan.c
Hunk #1 FAILED at 1674.
Hunk #2 FAILED at 1693.
Hunk #3 FAILED at 1704.
3 out of 3 hunks FAILED -- saving rejects to file scan.c.rej

Thank you for your time

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-16  7:10         ` Jelle De Loecker
@ 2008-05-16  8:01           ` ChaosMedia > WebDev
  0 siblings, 0 replies; 16+ messages in thread
From: ChaosMedia > WebDev @ 2008-05-16  8:01 UTC (permalink / raw)
  To: LinuxTV DVB Mailing; +Cc: Jelle De Loecker


>> you have to patch the szap and scan from this sources:
>>
>> http://abraham.manu.googlepages.com/szap.c
>> http://abraham.manu.googlepages.com/szap.c
>>     
> I fear things have changed too much for the patches to work. (Or I'm 
> messing up a simple command like patch)
>
> Szap: (Using the other szap.c file I can actually apply the patch, but 
> the new szap.c seems to be incompatible)
>   

hi, i installed multiproto a couple of weeks ago and tried a lot of 
patches for szap / scan or already patched szap2 sources and none would 
work..

But i did find out that szap2 available in v4l dvb-apps tree, in the 
test directory, works fine with current multiproto.

I've tested it with my tt s2-3200 and can tune to dvb-s2 transponders 
with no problem, although i noticed it misses some options from some 
other szap2 i first tested..

Marc

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-16  5:25   ` Jelle De Loecker
  2008-05-16  5:58     ` Igor
@ 2008-05-18  8:12     ` Igor Nikanov
  2008-05-18  9:21       ` Jelle De Loecker
  2008-05-18  9:53       ` Jelle De Loecker
  1 sibling, 2 replies; 16+ messages in thread
From: Igor Nikanov @ 2008-05-18  8:12 UTC (permalink / raw)
  To: Jelle De Loecker; +Cc: linux-dvb

> I've tried using a version from the repository, dvb-utils 1.1.1-3

with the latest multiproto you have to use testing version of szap2 from test directory of dvb-apps
http://linuxtv.org/hg/dvb-apps/file/31a6dd437b9a/test/szap2.c

Igor


> I also tried to compile the originals from the source tree, unpatched, 
> http://linuxtv.org/hg/dvb-apps
> 
> I tried to patch "scan" with this scan source: 
> http://jusst.de/manu/scan.tar.bz2
> 
> And I tried to patch szap with this file:  
> http://abraham.manu.googlepages.com/szap.c
> 
> But those patched versions won't compile, except for ONE time:
> 
> I finally got to compile the patched "scan" (but trying to recompile 
> afterwards failed again, very strange) but it *still* didn't scan:
> 
> $ sudo scan -t 1 -s 1 dvb-s/Astra-19.2E > ~/channels.conf
> scanning dvb-s/Astra-19.2E
> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> initial transponder 12551500 V 22000000 22000000
> ioctl DVBFE_GET_INFO failed: Operation not supported
> ERROR: initial tuning failed
> dumping lists (0 services)
> Done.
> 
> 
> 
> Igor schreef:
> > which version of multiproto, szap2, scan did you use ?
> >
> > -----Original Message-----
> > From: Jelle De Loecker <skerit@kipdola.com>
> > To: linux-dvb@linuxtv.org
> > Date: Fri, 16 May 2008 01:02:08 +0200
> > Subject: [linux-dvb] Technotrend S2-3200 Scanning
> >
> >   
> >> But now I'm stuck again, and it seems to me this is a problem which has 
> >> been faced, and fixed, before - I just can't fix it now because 
> >> apparently so much has changed that all the patches don't work on the 
> >> new source files anymore: any hacked "scan" or "szap" program won't compile.
> >>
> >> (Keep in mind I'm using a switch between my S2-3200 card and my 4 LNBs - 
> >> will this cause any problems?)
> >>
> >> This is the problem you've no doubt seen before.
> >>
> >> $ sudo scan /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E 
> >>  >channels.conf
> >>
> >> scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E
> >> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> >> initial transponder 12551500 V 22000000 5
> >>  >>> tune to: 12551:v:0:22000
> >> __tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid 
> >> argument
> >>  >>> tune to: 12551:v:0:22000
> >> __tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid 
> >> argument
> >> ERROR: initial tuning failed
> >> dumping lists (0 services)
> >> Done
> 


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-18  8:12     ` Igor Nikanov
@ 2008-05-18  9:21       ` Jelle De Loecker
  2008-05-18 11:24         ` Faruk A
  2008-05-18  9:53       ` Jelle De Loecker
  1 sibling, 1 reply; 16+ messages in thread
From: Jelle De Loecker @ 2008-05-18  9:21 UTC (permalink / raw)
  To: Igor Nikanov, linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 629 bytes --]


Igor Nikanov schreef:
>
> with the latest multiproto you have to use testing version of szap2 from test directory of dvb-apps
> http://linuxtv.org/hg/dvb-apps/file/31a6dd437b9a/test/szap2.c
>
> Igor
>   

Yes, thank you, I finally got szap2 to actually catch a signal and get a 
lock on it.

But since only szap2 works - what do I do now?
How can I watch the stream? (I tried to run "mplayer -fs 
/dev/dvb/adapter0/vdr0 but that never worked)
Or how can I get it to work in MythTV? Do I have to wait for the new 
utilities, which would seem rather strange since they're not used by 
mythtv, right?

Thank you,

Jelle De Loecker

[-- Attachment #1.2: Type: text/html, Size: 1107 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-18  8:12     ` Igor Nikanov
  2008-05-18  9:21       ` Jelle De Loecker
@ 2008-05-18  9:53       ` Jelle De Loecker
  1 sibling, 0 replies; 16+ messages in thread
From: Jelle De Loecker @ 2008-05-18  9:53 UTC (permalink / raw)
  To: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 629 bytes --]


Igor Nikanov schreef:
>
> with the latest multiproto you have to use testing version of szap2 from test directory of dvb-apps
> http://linuxtv.org/hg/dvb-apps/file/31a6dd437b9a/test/szap2.c
>
> Igor
>   

Yes, thank you, I finally got szap2 to actually catch a signal and get a 
lock on it.

But since only szap2 works - what do I do now?
How can I watch the stream? (I tried to run "mplayer -fs 
/dev/dvb/adapter0/vdr0 but that never worked)
Or how can I get it to work in MythTV? Do I have to wait for the new 
utilities, which would seem rather strange since they're not used by 
mythtv, right?

Thank you,

Jelle De Loecker

[-- Attachment #1.2: Type: text/html, Size: 1108 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-18  9:21       ` Jelle De Loecker
@ 2008-05-18 11:24         ` Faruk A
  2008-05-18 11:39           ` Jelle De Loecker
  0 siblings, 1 reply; 16+ messages in thread
From: Faruk A @ 2008-05-18 11:24 UTC (permalink / raw)
  To: Jelle De Loecker; +Cc: linux-dvb

> Yes, thank you, I finally got szap2 to actually catch a signal and get a
> lock on it.
>
> But since only szap2 works - what do I do now?
> How can I watch the stream? (I tried to run "mplayer -fs
> /dev/dvb/adapter0/vdr0 but that never worked)
> Or how can I get it to work in MythTV? Do I have to wait for the new
> utilities, which would seem rather strange since they're not used by mythtv,
> right?
>
> Thank you,
>
> Jelle De Loecker

This means you did the channel scan and saved channel.conf file in
/home/username/.szap

szap -rp "BBC World"   (you can replace BBC World with any channel in
your channel.conf) and make sure you get FE_HAS_LOCK before you start
mplayer.

mplayer /dev/dvb/adapter0/dvr0

mythtv: there is multiproto patch for mythtv-svn. I tried it but it
always failed med after 1 hour of compiling it's nothing to do with
the patch anyway here is the link to the patch.

http://pansy.at/gernot/mythtv-multiproto-hack.diff.gz

easiest way is to use vdr, I'm using vdr-1.6.0-1 stable version.
if you want to use the stable version you have to search for this
patch [ANNOUNCE] DVB-S2 + H.264 support for VDR-1.5.18 in vdr mailing
list and patch the vdr source.

There is vdr developer version 1.7.0 which support multiproto but you
still going to need H.264 support patch which can be found at vdr
mailing list.

Faruk

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-18 11:24         ` Faruk A
@ 2008-05-18 11:39           ` Jelle De Loecker
  2008-05-18 12:07             ` Faruk A
  0 siblings, 1 reply; 16+ messages in thread
From: Jelle De Loecker @ 2008-05-18 11:39 UTC (permalink / raw)
  To: Faruk A; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 1532 bytes --]



Faruk A schreef:
>
> szap -rp "BBC World"   (you can replace BBC World with any channel in
> your channel.conf) and make sure you get FE_HAS_LOCK before you start
> mplayer.
>
> mplayer /dev/dvb/adapter0/dvr0
>   

I've managed to get a lock - well no problem there actually, but when I 
try to use mplayer I'm lost:

$ mplayer /dev/dvb/adapter0/dvr0 (or mplayer -fs /dev/dvb/adapter0/dvr0)
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6, Model: 
15, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.

Playing /dev/dvb/adapter0/dvr0.

So it says it's playing (the "could not connect to socket" is purely a 
lirc problem) but where's the video?
I also tried gmplayer, but that just locks up.

> mythtv: there is multiproto patch for mythtv-svn. I tried it but it
> always failed med after 1 hour of compiling it's nothing to do with
> the patch anyway here is the link to the patch.
>
> http://pansy.at/gernot/mythtv-multiproto-hack.diff.gz
>
> easiest way is to use vdr, I'm using vdr-1.6.0-1 stable version.
> if you want to use the stable version you have to search for this
> patch [ANNOUNCE] DVB-S2 + H.264 support for VDR-1.5.18 in vdr mailing
> list and patch the vdr source.
>   

Thanks for the info, I'll be sure to give that a go this evening!

[-- Attachment #1.2: Type: text/html, Size: 2241 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-18 11:39           ` Jelle De Loecker
@ 2008-05-18 12:07             ` Faruk A
  2008-05-18 12:57               ` Jelle De Loecker
  0 siblings, 1 reply; 16+ messages in thread
From: Faruk A @ 2008-05-18 12:07 UTC (permalink / raw)
  To: Jelle De Loecker; +Cc: linux-dvb

> I've managed to get a lock - well no problem there actually, but when I try
> to use mplayer I'm lost:
>
> $ mplayer /dev/dvb/adapter0/dvr0 (or mplayer -fs /dev/dvb/adapter0/dvr0)
> MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6, Model: 15,
> Stepping: 6)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing /dev/dvb/adapter0/dvr0.
>
> So it says it's playing (the "could not connect to socket" is purely a lirc
> problem) but where's the video?
> I also tried gmplayer, but that just locks up.
>
> mythtv: there is multiproto patch for mythtv-svn. I tried it but it
> always failed med after 1 hour of compiling it's nothing to do with
> the patch anyway here is the link to the patch.
>
> http://pansy.at/gernot/mythtv-multiproto-hack.diff.gz
>
> easiest way is to use vdr, I'm using vdr-1.6.0-1 stable version.
> if you want to use the stable version you have to search for this
> patch [ANNOUNCE] DVB-S2 + H.264 support for VDR-1.5.18 in vdr mailing
> list and patch the vdr source.
>
>
> Thanks for the info, I'll be sure to give that a go this evening!

did you run szap with -rp ? make sure the channel you tuned to is not encrypted.

here is another ugly way of doing it.
u need dvbstream and vlc

szap -rp "BBC World"
dvbstream -o | vlc -
or with with mplayer: dvbstream -o | mplayer -

There is two version of dvbstream out there, patched and unpatched.
it should work with both of them, but with multiproto patched version
you dont need to run szap it can tune and lock to channels by it self.

link to the patched version:
http://www.coolatoola.com/dvbstream.multiproto.tgz

Faruk

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-18 12:07             ` Faruk A
@ 2008-05-18 12:57               ` Jelle De Loecker
  2008-05-18 15:19                 ` Faruk A
  2008-05-18 19:44                 ` Andy Walls
  0 siblings, 2 replies; 16+ messages in thread
From: Jelle De Loecker @ 2008-05-18 12:57 UTC (permalink / raw)
  To: Faruk A; +Cc: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 2191 bytes --]


Faruk A schreef:
>
> did you run szap with -rp ? make sure the channel you tuned to is not encrypted.
>
> here is another ugly way of doing it.
> u need dvbstream and vlc
>
> szap -rp "BBC World"
> dvbstream -o | vlc -
> or with with mplayer: dvbstream -o | mplayer -
>   
Very strange,

when I run dvbstream -o, without piping it into anything, I get a lot of 
binary feedback in the console, but I just can't open it in any program. 
(I tuned it using szap2, with the -rp option. I only tried unencrypted 
channels, so no problem there) dvbstream always says "streaming 0 
streams" which is probably not so good.

    $ dvbstream -o | vlc -
    dvbstream will stop after -1 seconds (71582788 minutes)
    Output to stdout
    Streaming 0 streams
    VLC media player 0.8.6e Janus
    libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
    libdvdread: Using libdvdcss version 1.2.5 for DVD access
    libdvdread: Can't stat -
    No such file or directory
    libdvdnav: vm: faild to open/read the DVD
    libdvbpsi error (PSI decoder): TS discontinuity (received 3,
    expected 0) for PID 0


I even tried to output it to a file, but the file stays blank

    $ dvbstream -o:test.mpg
    Open file test.mpg

    MAP 0, file test.mpg: From -1 secs, To -1 secs, 0 PIDs -
    dvbstream will stop after -1 seconds (71582788 minutes)
    Streaming 0 streams


And when I give mplayer a go I get this:

    $ dvbstream -o | mplayer -
    dvbstream will stop after -1 seconds (71582788 minutes)
    Output to stdout
    Streaming 0 streams
    MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
    CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6,
    Model: 15, Stepping: 6)
    CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote
    control.

    Playing -.
    Reading from stdin...
    Cannot seek backward in linear streams!
    Seek failed

Sorry for extensively testing your patience! I, too, wish it would have 
"just worked" :)

Thank you,

Jelle De Loecker

[-- Attachment #1.2: Type: text/html, Size: 2777 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-18 12:57               ` Jelle De Loecker
@ 2008-05-18 15:19                 ` Faruk A
  2008-05-18 19:44                 ` Andy Walls
  1 sibling, 0 replies; 16+ messages in thread
From: Faruk A @ 2008-05-18 15:19 UTC (permalink / raw)
  To: Jelle De Loecker; +Cc: linux-dvb

> Very strange,
>
> when I run dvbstream -o, without piping it into anything, I get a lot of
> binary feedback in the console, but I just can't open it in any program. (I
> tuned it using szap2, with the -rp option. I only tried unencrypted
> channels, so no problem there) dvbstream always says "streaming 0 streams"
> which is probably not so good.
>
> $ dvbstream -o | vlc -
> dvbstream will stop after -1 seconds (71582788 minutes)
> Output to stdout
> Streaming 0 streams
> VLC media player 0.8.6e Janus
> libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
> libdvdread: Using libdvdcss version 1.2.5 for DVD access
> libdvdread: Can't stat -
> No such file or directory
> libdvdnav: vm: faild to open/read the DVD
> libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for
> PID 0
>
> I even tried to output it to a file, but the file stays blank
>
> $ dvbstream -o:test.mpg
> Open file test.mpg
>
> MAP 0, file test.mpg: From -1 secs, To -1 secs, 0 PIDs -
> dvbstream will stop after -1 seconds (71582788 minutes)
> Streaming 0 streams
>
> And when I give mplayer a go I get this:
>
> $ dvbstream -o | mplayer -
> dvbstream will stop after -1 seconds (71582788 minutes)
> Output to stdout
> Streaming 0 streams
> MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6, Model: 15,
> Stepping: 6)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing -.
> Reading from stdin...
> Cannot seek backward in linear streams!
> Seek failed
>
> Sorry for extensively testing your patience! I, too, wish it would have
> "just worked" :)
>
> Thank you,
>
> Jelle De Loecker
>

Thats all that i know, i started with dvb about 2 months ago and your
card is supported unlike my TT Connect S2-3650 CI, but some how i
managed it to work.

output to a file this two command should work.
as always run szip2 first.

cat /dev/dvb/adapter0/dvr0 > test.mpg
or
dvbstream -o > test2.mpg

dvbstream v0.5 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Output to stdout
Streaming 0 streams

works 100% here Streaming 0 streams i thinks because we are using
output to file instead of streaming over network.

to stream i use:
dvbstream 8192 -i 192.168.0.103 -r 1234

dvbstream v0.5 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Setting filter for PID 8192
Using 192.168.0.103:1234:2
version=2
Streaming 1 stream


8192 means stream the whole TS stream, -i your ip address and -r is port number.

then run vlc (mine is in Swedish so I'm guessing here) File-> Open
Networkstream or press Ctrl+N. The first option UDP/RTP enter port
number press OK.

or from command line: vlc udp://@:1234

Don't worry if nothing shows as i said before you are streaming the
whole TS stream. you can select the channels you wanna watch.
To select channels click on (in swedish Navigering) translates
Navigation -> Program-> you should see list of channels.

Faruk

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-18 12:57               ` Jelle De Loecker
  2008-05-18 15:19                 ` Faruk A
@ 2008-05-18 19:44                 ` Andy Walls
  2008-05-18 20:53                   ` Jelle De Loecker
  1 sibling, 1 reply; 16+ messages in thread
From: Andy Walls @ 2008-05-18 19:44 UTC (permalink / raw)
  To: Jelle De Loecker; +Cc: linux-dvb

On Sun, 2008-05-18 at 14:57 +0200, Jelle De Loecker wrote:
> And when I give mplayer a go I get this:
>         $ dvbstream -o | mplayer -
>         dvbstream will stop after -1 seconds (71582788 minutes)
>         Output to stdout
>         Streaming 0 streams
>         MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
>         CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family:
>         6, Model: 15, Stepping: 6)
>         CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
>         Compiled with runtime CPU detection.
>         mplayer: could not connect to socket
>         mplayer: No such file or directory
>         Failed to open LIRC support. You will not be able to use your
>         remote control.
>         
>         Playing -.
>         Reading from stdin...
>         Cannot seek backward in linear streams!
>         Seek failed
> Sorry for extensively testing your patience! I, too, wish it would
> have "just worked" :)

This "just worked" for me using mplayer with a digital video broadcast
from my HVR-1600 with the cx18 driver (I'm in ATSC country):

$ scandvb -A 1 -v -a 0  /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB \
	> channels.conf
$ cp channels.conf ~/.mplayer/channels.conf
$ mplayer dvb://WRC-1 -vf scale=960:540

The "scandvb" command name might be a rename by Fedora/Redhat of the
standard command name.

I had to use the '-vf scale=960:540' to display the 1080i content on my
1024 line display.  Also note that mplayer sometimes wrongly decodes a52
audio (at least from ATSC streams) so it'll gripe every so often.

For reference:

$ mplayer --help | head -1
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team

$ uname -rvi
2.6.23.15-80.fc7 #1 SMP Sun Feb 10 16:52:18 EST 2008 x86_64


Regards,
Andy

> Thank you,
> 
> Jelle De Loecker



_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [linux-dvb] Technotrend S2-3200 Scanning
  2008-05-18 19:44                 ` Andy Walls
@ 2008-05-18 20:53                   ` Jelle De Loecker
  0 siblings, 0 replies; 16+ messages in thread
From: Jelle De Loecker @ 2008-05-18 20:53 UTC (permalink / raw)
  To: Andy Walls, linux-dvb


Andy Walls schreef:
> On Sun, 2008-05-18 at 14:57 +0200, Jelle De Loecker wrote:
>   
> This "just worked" for me using mplayer with a digital video broadcast
> from my HVR-1600 with the cx18 driver (I'm in ATSC country):
>   
Apparently /dev/dvb/adapter0/dvr0 is a very sensitive "file" - when I 
directly open it using mplayer, or even cat, it won't output to anything 
else afterwards.

I'm using Faruk's solution to stream it like this:

dvbstream 8192 -i 192.168.1.2 -r 1234

and then opening that stream with VLC - which works rather well (even if I have to always manually change the frequency using szap)


By the way, I scribbled down my notes in a small tutorial on how to get 
the "old drivers" working again (using an older revision made the scan 
tool work again!) If any other beginner needs any help it can be found here:

http://skerit.kipdola.com/?p=5&language=en

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-05-18 20:53 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 23:02 [linux-dvb] Technotrend S2-3200 Scanning Jelle De Loecker
     [not found] ` <E1JwrWW-0006Ye-00.goga777-bk-ru@f139.mail.ru>
2008-05-16  5:25   ` Jelle De Loecker
2008-05-16  5:58     ` Igor
2008-05-16  6:30       ` Jens Krehbiel-Gräther
2008-05-16  7:10         ` Jelle De Loecker
2008-05-16  8:01           ` ChaosMedia > WebDev
2008-05-18  8:12     ` Igor Nikanov
2008-05-18  9:21       ` Jelle De Loecker
2008-05-18 11:24         ` Faruk A
2008-05-18 11:39           ` Jelle De Loecker
2008-05-18 12:07             ` Faruk A
2008-05-18 12:57               ` Jelle De Loecker
2008-05-18 15:19                 ` Faruk A
2008-05-18 19:44                 ` Andy Walls
2008-05-18 20:53                   ` Jelle De Loecker
2008-05-18  9:53       ` Jelle De Loecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox