[linux-dvb] patched dvbstream for multiproto api

Igor Nikanov goga777 at bk.ru
Tue May 6 19:40:54 CEST 2008


Hi

I try to use the patched dvbstream with multiproto api support with my hvr4000 card
But I can't tune on any dvb-s/dvs channels with it
For example - the channel Deluxe Music from Astra 19,2E

$ ./dvbstream -f 12244000 -p V -s 27500 -ds DVBS
Attempting to enable RT scheduling.
dvbstream v0.6 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Using DVB card "Conexant CX24116/CX24118"
tuning DVB-S/S2 to Freq: 3654065408, Pol: Srate=27500000, 22kHz tone=off, LNB: 0
Setting only tone ON and voltage 18V
DISEQC SETTING SUCCEDED
setting new frontend params
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
status 00 | signal c040 | snr 0000 | ber 00000000 | unc 00000000 |
dvbstream will stop after -1 seconds (71582788 minutes)
Using 224.0.1.2:5004:2
version=2
Streaming 0 streams
Caught signal 2 - closing cleanly.

in the syslog I can see


May  6 21:25:51 localhost kernel: cx24116_firmware_ondemand: Waiting for firmware upload (dvb-fe-cx24116.fw)...
May  6 21:25:51 localhost kernel: cx24116_firmware_ondemand: Waiting for firmware upload(2)...
May  6 21:25:54 localhost kernel: cx24116_load_firmware: FW version 1.20.79.0
May  6 21:25:54 localhost kernel: cx24116_firmware_ondemand: Firmware upload complete
May  6 21:25:54 localhost kernel: newfec_to_oldfec: Unsupported FEC 9
May  6 21:25:54 localhost kernel: dvb_frontend_ioctl: FESTATE_RETUNE: fepriv->state=2
May  6 21:32:11 localhost kernel: newfec_to_oldfec: Unsupported FEC 9
May  6 21:32:11 localhost kernel: dvb_frontend_ioctl: FESTATE_RETUNE: fepriv->state=2
May  6 21:32:29 localhost kernel: cx8802_start_dma() Failed. Unsupported value in .mpeg (0x00000001)
May  6 21:32:31 localhost last message repeated 4 times
May  6 21:32:56 localhost kernel: newfec_to_oldfec: Unsupported FEC 9
May  6 21:32:56 localhost kernel: dvb_frontend_ioctl: FESTATE_RETUNE: fepriv->state=2


I have some warning during compilation

goga at goga:/usr/src/dvbstream.multiproto$ make
gcc -I ../DVB/include -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o rtp.o rtp.c
gcc -I ../DVB/include -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/src/linux-2.6.24.4/include -c -o dvbdate.o dvbdate.c
dvbdate.c: In function ‘scan_date’:
dvbdate.c:115: warning: implicit declaration of function ‘memset’
dvbdate.c:115: warning: incompatible implicit declaration of built-in function ‘memset’
dvbdate.c:137: warning: ‘return’ with no value, in function returning non-void
dvbdate.c:145: warning: pointer targets in passing argument 1 of ‘convert_date’ differ in signedness
dvbdate.c:106: warning: unused variable ‘i’
dvbdate.c: In function ‘dvbdate’:
dvbdate.c:202: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘time_t’
dvbdate.c: In function ‘set_time’:
dvbdate.c:168: warning: control reaches end of non-void function
gcc -I ../DVB/include -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o tune.o tune.c
In file included from tune.h:6,
                 from tune.c:37:
dvb_defaults.h:83:2: warning: #warning No DVB-T country defined in dvb_defaults.h
dvb_defaults.h:84:2: warning: #warning defaulting to UK
dvb_defaults.h:85:2: warning: #warning Ignore this if using Satellite or Cable
tune.c: In function ‘diseqc_send_msg’:
tune.c:62: warning: unused variable ‘i’
tune.c: In function ‘do_diseqc’:
tune.c:120: warning: unused variable ‘voltage’
tune.c: In function ‘check_status’:
tune.c:196: warning: ‘status’ is used uninitialized in this function
tune.c: In function ‘tune_it’:
tune.c:287: warning: ‘hi_lo’ may be used uninitialized in this function
gcc -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -c -o mpegtools/ctools.o mpegtools/ctools.c
mpegtools/ctools.c: In function ‘write_mpg’:
mpegtools/ctools.c:2010: warning: pointer targets in assignment differ in signedness
mpegtools/ctools.c: In function ‘url2host’:
mpegtools/ctools.c:2235: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mpegtools/ctools.c:2235: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mpegtools/ctools.c:2235: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mpegtools/ctools.c:2235: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mpegtools/ctools.c:2235: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mpegtools/ctools.c:2235: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mpegtools/ctools.c:2235: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
mpegtools/ctools.c:2235: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
mpegtools/ctools.c:2238: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
mpegtools/ctools.c:2238: warning: pointer targets in passing argument 1 of ‘__strdup’ differ in signedness
mpegtools/ctools.c:2264: warning: pointer targets in return differ in signedness
mpegtools/ctools.c:2266: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
mpegtools/ctools.c:2270: warning: pointer targets in return differ in signedness
mpegtools/ctools.c: In function ‘http_open’:
mpegtools/ctools.c:2291: warning: pointer targets in passing argument 1 of ‘url2host’ differ in signedness
mpegtools/ctools.c:2323: warning: pointer targets in passing argument 2 of ‘write_all’ differ in signedness
mpegtools/ctools.c:2330: warning: pointer targets in passing argument 2 of ‘read_all’ differ in signedness
mpegtools/ctools.c:2344: warning: pointer targets in passing argument 2 of ‘read_all’ differ in signedness
gcc -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -c -o mpegtools/remux.o mpegtools/remux.c
gcc -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -c -o mpegtools/transform.o mpegtools/transform.c
gcc -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -c -o mpegtools/ringbuffy.o mpegtools/ringbuffy.c
mpegtools/ringbuffy.c: In function ‘ring_write’:
mpegtools/ringbuffy.c:62: warning: implicit declaration of function ‘memcpy’
mpegtools/ringbuffy.c:62: warning: incompatible implicit declaration of built-in function ‘memcpy’
mpegtools/ringbuffy.c:67: warning: incompatible implicit declaration of built-in function ‘memcpy’
mpegtools/ringbuffy.c: In function ‘ring_peek’:
mpegtools/ringbuffy.c:92: warning: incompatible implicit declaration of built-in function ‘memcpy’
mpegtools/ringbuffy.c:94: warning: incompatible implicit declaration of built-in function ‘memcpy’
mpegtools/ringbuffy.c: In function ‘ring_read’:
mpegtools/ringbuffy.c:117: warning: incompatible implicit declaration of built-in function ‘memcpy’
mpegtools/ringbuffy.c:120: warning: incompatible implicit declaration of built-in function ‘memcpy’
gcc -I ../DVB/include -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o scan.o scan.c
scan.c: In function ‘parse_service_descriptor’:
scan.c:525: warning: pointer targets in assignment differ in signedness
scan.c:549: warning: pointer targets in assignment differ in signedness
scan.c: In function ‘scanmain’:
scan.c:1736: warning: unused variable ‘initial’
scan.c:1735: warning: unused variable ‘fe_open_mode’
scan.c:1734: warning: unused variable ‘opt’
scan.c:1733: warning: unused variable ‘demux’
scan.c:1733: warning: unused variable ‘frontend’
scan.c:1733: warning: unused variable ‘adapter’
scan.c: At top level:
scan.c:48: warning: ‘vdr_dump_provider’ defined but not used
scan.c:52: warning: ‘vdr_version’ defined but not used
scan.c:1561: warning: ‘scan_network’ defined but not used
scan.c:1574: warning: ‘pids_dump_service_parameter_set’ defined but not used
scan.c:1611: warning: ‘sat_polarisation’ defined but not used
scan.c:1616: warning: ‘sat_number’ defined but not used
gcc -I ../DVB/include -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o diseqc.o diseqc.c
gcc -I ../DVB/include -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o lnb.o lnb.c
gcc -I ../DVB/include -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o dvbstream dvbstream.c rtp.o dvbdate.o tune.o mpegtools/ctools.o mpegtools/remux.o mpegtools/transform.o mpegtools/ringbuffy.o scan.o lnb.o diseqc.o
In file included from tune.h:6,
                 from dvbstream.c:55:
dvb_defaults.h:83:2: warning: #warning No DVB-T country defined in dvb_defaults.h
dvb_defaults.h:84:2: warning: #warning defaulting to UK
dvb_defaults.h:85:2: warning: #warning Ignore this if using Satellite or Cable
dvbstream.c: In function ‘find_card_num’:
dvbstream.c:148: warning: unused variable ‘fe_num’
dvbstream.c: In function ‘process_telnet’:
dvbstream.c:317: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness
dvbstream.c: In function ‘my_write_out’:
dvbstream.c:465: warning: pointer targets in passing argument 4 of ‘sendrtp2’ differ in signedness
dvbstream.c: In function ‘main’:
dvbstream.c:913: warning: implicit declaration of function ‘scanmain’
dvbstream.c:968: warning: implicit declaration of function ‘dvbdate’
dvbstream.c:1003:2: warning: #warning WHAT SHOULD THE PAYLOAD TYPE BE FOR "MPEG-2 PS" ?
dvbstream.c:1083: warning: pointer targets in passing argument 4 of ‘sendrtp2’ differ in signedness
gcc -I ../DVB/include -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o dumprtp dumprtp.c rtp.o
gcc -I ../DVB/include -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o ts_filter ts_filter.c
ts_filter.c: In function ‘main’:
ts_filter.c:37: warning: statement with no effect
ts_filter.c:52: warning: statement with no effect
gcc -I ../DVB/include -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o rtpfeed rtpfeed.c rtp.o



Igor







More information about the linux-dvb mailing list