[vdr] + DVB-S2 + reelchannelscan 0.6.1 patch for vdr-1.7.0 + h264
Vangelis Nonas
vnonas at otenet.gr
Sat May 31 23:30:49 CEST 2008
Hello Goga,
I tested it with automatic scan (dont know if manual scan works).
Moreover, I had selected TV+Radio (not HDTV) and the scanner pick up
both DVB-S AND DVB-S2 channels. I haven't done any more testing with
other parameters. I have Hotbird in my installation and it picked up
in total 1626 services (TV+Radio). Maybe it missed a few (my satellite
box gets about 2050, but this number includes data services). Moreover I
dont know whether the file with the transponders for Hotbird (
(vdr-video-dir)/plugins/transponders/S13.0E.tpl ) is updated (maybe it
is missing a few transponders.
During compilation, I get the warning as well.
Can you try again with default parameters and post back pls?
Thanks
Vagelis
Goga777 wrote:
>> I attach a new patch that will scan both DVB-S and DVB-S2 channels.
>>
>> If anybody tries it please post back.
>>
>
> Unfortunately I and other vdr-user couldn't lock the dvb-s2 channels with this patch.
> there's new warning during of compilation
>
> =============================================
> ../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definition
> scan.c: In member function ‘void cScan::ScanServices()’:
> scan.c:248: warning: unused variable ‘tt’
> scan.c: In member function ‘void cScan::ScanDVB_S(cTransponder*, cChannel*)’:
> scan.c:412: warning: unused variable ‘tt’
> ============================================
>
> ======================================================
> May 31 22:08:20 localhost vdr: [4645] INFO [channelscan]: Please update Transponder lists
> May 31 22:08:20 localhost vdr: [4645] INFO [channelscan]: Please update Transponder lists
> May 31 22:08:20 localhost vdr: [4645] ERROR: [channelscan] in : no values for "S19.2E"
> May 31 22:08:20 localhost vdr: [4645] ERROR: [channelscan] can`t open LoadSatTpls /etc/vdr//plugins/transponders/S19.2E.tpl.
> bz2 --- try uncompressed
> =======================================================
>
>
> hereafter is my steps
>
>
> goga:/usr/src/VDR/PLUGINS/src/channelscan-0.6.1# svn revert -R ./
> Reverted 'channelscan.c'
> Reverted 'transponders.c'
> Reverted 'scan.c'
> Reverted 'filter.c'
> Reverted 'csmenu.c'
>
>
> goga:/usr/src/VDR/PLUGINS/src/channelscan-0.6.1# svn up
> At revision 6236.
>
> make clean-plugins
> make plugins
>
> Plugin reelchannelscan:
> make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/channelscan-0.6.1'
> make[1]: Leaving directory `/usr/src/vdr-1.7.0/PLUGINS/src/channelscan-0.6.1'
> make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/channelscan-0.6.1'
> g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include channelscan.c
> In file included from scan.h:34,
> from csmenu.h:42,
> from channelscan.c:31:
> filter.h:193:1: warning: "MAXNETWORKNAME" redefined
> In file included from ../../../include/vdr/device.h:18,
> from scan.h:31,
> from csmenu.h:42,
> from channelscan.c:31:
> ../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definition
> g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include csmenu.c
> In file included from scan.h:34,
> from csmenu.h:42,
> from csmenu.c:43:
> filter.h:193:1: warning: "MAXNETWORKNAME" redefined
> In file included from ../../../include/vdr/device.h:18,
> from ../../../include/vdr/menu.h:14,
> from csmenu.c:40:
> ../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definition
> g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include filter.c
> In file included from scan.h:34,
> from csmenu.h:42,
> from filter.c:35:
> filter.h:193:1: warning: "MAXNETWORKNAME" redefined
> In file included from ../../../include/vdr/device.h:18,
> from scan.h:31,
> from csmenu.h:42,
> from filter.c:35:
> ../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definition
> g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include i18n.c
> g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include scan.c
> In file included from scan.h:34,
> from csmenu.h:42,
> from scan.c:36:
> filter.h:193:1: warning: "MAXNETWORKNAME" redefined
> In file included from ../../../include/vdr/device.h:18,
> from scan.c:32:
> ../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definition
> scan.c: In member function ‘void cScan::ScanServices()’:
> scan.c:248: warning: unused variable ‘tt’
> scan.c: In member function ‘void cScan::ScanDVB_S(cTransponder*, cChannel*)’:
> scan.c:412: warning: unused variable ‘tt’
> g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include transponders.c
> g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include bzip2.c
> g++ -fPIC -O2 -Wall -Woverloaded-virtual -lbz2 -lz -shared channelscan.o csmenu.o filter.o i18n.o scan.o transponders.o bzip2.o -o libvdr-reelchannelscan.so
> make[1]: Leaving directory `/usr/src/vdr-1.7.0/PLUGINS/src/channelscan-0.6.1'
>
> I tried to make auto & manual scan
>
> debug [scan] Stop Replay Card Number 0 SET DEBUG [scan.c] scanning_on_receiving
> _device TRUE
> DEBUG [channelscan]: loop through transponders ++++ size 1 ++++++++
>
> DEBUG [channelscan]: loop through transponders ++++ size 1 ++++++++
> DEBUG [channelscan]: scan f: 11914
> DEBUG [cs]: ScanDVB_S2
> DEBUG [DVB_S]; trying QPSK: freq: 11914 srate:27500 mod: 4
> 44m DEBUG [DVB_S] - channel: freq: 11914 pol: H srate:27500 mod: -2147483648
> debug [scan] -- NO LOCK @ transponder 111914 mod -2147483648 fec -2147483648 ----------
> DEBUG [DVB_S]; trying PSK8: freq: 11914 srate:27500 mod: 8
> 44m DEBUG [DVB_S] - channel: freq: 11914 pol: H srate:27500 mod: -2147483648
> debug [scan] -- NO LOCK @ transponder 111914 mod -2147483648 fec -2147483648 ----------
> DEBUG [DVB_S]; trying QPSK_S2: freq: 11914 srate:27500 mod: 4
> 44m DEBUG [DVB_S] - channel: freq: 11914 pol: H srate:27500 mod: -2147483648
> debug [scan] -- NO LOCK @ transponder 111914 mod -2147483648 fec -2147483648 ----------
> DEBUG [cs]: ScanDVB_S2
> DEBUG [DVB_S]; trying QPSK: freq: 11914 srate:27500 mod: 4
> 44m DEBUG [DVB_S] - channel: freq: 11914 pol: H srate:27500 mod: -2147483648
> debug [scan] -- NO LOCK @ transponder 111914 mod -2147483648 fec -2147483648 ----------
> DEBUG [DVB_S]; trying PSK8: freq: 11914 srate:27500 mod: 8
> 44m DEBUG [DVB_S] - channel: freq: 11914 pol: H srate:27500 mod: -2147483648
> debug [scan] -- NO LOCK @ transponder 111914 mod -2147483648 fec -2147483648 ----------
> DEBUG [DVB_S]; trying QPSK_S2: freq: 11914 srate:27500 mod: 4
> 44m DEBUG [DVB_S] - channel: freq: 11914 pol: H srate:27500 mod: -2147483648
> debug [scan] -- NO LOCK @ transponder 111914 mod -2147483648 fec -2147483648 ----------
> --- End of transponderlist. End of scan! Duratation 12 ---
> Assumed HD Transponders
>
>
> I use etc/vdr/plugins/transponders/S19.2E.tpl
> [SATTYPE]
> 1=S19.2E
> 2=Astra 1F/1G/1H/1KR/1L [Ku DVB-S2]
> 3=East
> 4=19.2
>
> [DVB]
> 0=3
> 1=11914,H,27500,910,S2
> 2=12522,V,22000,23,S2
> 3=12581,V,22000,23,S2
>
>
> BUT in syslog I can see
>
>
> May 31 22:08:20 localhost vdr: [4645] INFO [channelscan]: Please update Transponder lists
> May 31 22:08:20 localhost vdr: [4645] INFO [channelscan]: Please update Transponder lists
> May 31 22:08:20 localhost vdr: [4645] ERROR: [channelscan] in : no values for "S19.2E"
> May 31 22:08:20 localhost vdr: [4645] ERROR: [channelscan] can`t open LoadSatTpls /etc/vdr//plugins/transponders/S19.2E.tpl.
> bz2 --- try uncompressed
> May 31 22:08:20 localhost vdr: [4645] virtual eOSState cMenuChannelscan::ProcessKey(eKeys) freq=1 scanMode=1
> May 31 22:08:20 localhost vdr: [4645] virtual eOSState cMenuChannelscan::ProcessKey(eKeys) ssGetChannels?=0
> May 31 22:08:20 localhost vdr: [4645] cMenuScanActive::cMenuScanActive(cScanParameters*) ssGetChannels?=0
> May 31 22:08:20 localhost last message repeated 2 times
> May 31 22:08:20 localhost vdr: [4645] start Scanning @ Card 0 ---
> May 31 22:08:20 localhost vdr: [5644] transfer thread ended (pid=4645, tid=5644)
> May 31 22:08:20 localhost vdr: [4645] buffer stats: 98324 (4%) used
> May 31 22:08:20 localhost vdr: [4645] cMenuScanActive::cMenuScanActive(cScanParameters*) ssGetChannels?=1
> May 31 22:08:20 localhost vdr: [5655] maxmods = 3
> May 31 22:08:20 localhost vdr: [4645] cMenuScanActive::cMenuScanActive(cScanParameters*) ssGetChannels?=1
> May 31 22:08:20 localhost kernel: dvb_frontend_ioctl: FESTATE_RETUNE: fepriv->state=2
> May 31 22:08:20 localhost vdr: [5646] TS buffer on device 1 thread ended (pid=4645, tid=5646)
> May 31 22:08:20 localhost vdr: [5645] buffer stats: 97948 (4%) used
> May 31 22:08:21 localhost vdr: [5645] receiver on device 1 thread ended (pid=4645, tid=5645)
> May 31 22:08:22 localhost vdr: [5655] debug [channelscan] ------ NO LOCK after 2000ms @ transponder 111914 -------------
> May 31 22:08:26 localhost last message repeated 2 times
> May 31 22:08:26 localhost vdr: [5655] maxmods = 3
> May 31 22:08:28 localhost vdr: [4654] ERROR (dvbdevice.c,302): Invalid argument
> May 31 22:08:28 localhost kernel: dvb_frontend_ioctl: FESTATE_RETUNE: fepriv->state=2
> May 31 22:08:28 localhost vdr: [5655] debug [channelscan] ------ NO LOCK after 2000ms @ transponder 111914 -------------
> May 31 22:08:32 localhost last message repeated 2 times
> May 31 22:08:32 localhost vdr: [5655] maxmods = 3
> May 31 22:08:32 localhost kernel: dvb_frontend_ioctl: FESTATE_RETUNE: fepriv->state=2
> May 31 22:08:34 localhost vdr: [5655] debug [channelscan] ------ NO LOCK after 2000ms @ transponder 212522 -------------
> May 31 22:08:38 localhost last message repeated 2 times
> May 31 22:08:38 localhost vdr: [5655] maxmods = 3
> May 31 22:08:40 localhost vdr: [4654] ERROR (dvbdevice.c,302): Invalid argument
> May 31 22:08:40 localhost kernel: dvb_frontend_ioctl: FESTATE_RETUNE: fepriv->state=2
> May 31 22:08:40 localhost vdr: [5655] debug [channelscan] ------ NO LOCK after 2000ms @ transponder 212522 -------------
> May 31 22:08:44 localhost last message repeated 2 times
> May 31 22:08:44 localhost vdr: [5655] maxmods = 3
> May 31 22:08:44 localhost kernel: dvb_frontend_ioctl: FESTATE_RETUNE: fepriv->state=2
> May 31 22:08:46 localhost vdr: [5655] debug [channelscan] ------ NO LOCK after 2000ms @ transponder 212581 -------------
> May 31 22:08:50 localhost last message repeated 2 times
> May 31 22:08:50 localhost vdr: [5655] maxmods = 3
> May 31 22:08:52 localhost vdr: [4654] ERROR (dvbdevice.c,302): Invalid argument
> May 31 22:08:52 localhost kernel: dvb_frontend_ioctl: FESTATE_RETUNE: fepriv->state=2
> May 31 22:08:52 localhost vdr: [5655] debug [channelscan] ------ NO LOCK after 2000ms @ transponder 212581 -------------
> May 31 22:08:56 localhost last message repeated 2 times
> May 31 22:09:01 localhost vdr: [4654] frontend 0 timed out while tuning to channel 0, tp 212581
>
>
>
>
>
>
> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>
>
>
More information about the vdr
mailing list