[linux-dvb] scan & szap for new multiproto api (was - How to get a PCTV Sat HDTC Pro USB (452e) running?)

Goga777 goga777 at bk.ru
Mon Jun 9 21:11:07 CEST 2008


> > 
> > > >> I'm glad everything worked out for you :).
> > > >> with szap to tune to DVB-S2 channels use this option "-t 2" default is
> > > >> "- t 0" which is for DVB-S
> > > >> to tune to 'Astra HD Promo 2' you do:
> > > >> szap -r -c 19 -t 2 "Astra HD Promo 2"
> > > >>     
> > > >
> > > > I will try so. It will be fine if new dvb-s2 option will include in szap --help output
> > > >   
> > > 
> > > jens at midas-phalanx:/usr/src/dvb-apps-patched/util/szap# ./szap -h
> > > 
> > > usage: szap -q
> > >          list known channels
> > >        szap [options] {-n channel-number|channel_name}
> > >          zap to channel via number or full name (case insensitive)
> > >      -a number : use given adapter (default 0)
> > >      -f number : use given frontend (default 0)
> > >      -d number : use given demux (default 0)
> > >      -c file   : read channels list from 'file'
> > >      -b        : enable Audio Bypass (default no)
> > >      -x        : exit after tuning
> > >      -r        : set up /dev/dvb/adapterX/dvr0 for TS recording
> > >      -l lnb-type (DVB-S Only) (use -l help to print types) or
> > >      -l low[,high[,switch]] in Mhz
> > >      -i        : run interactively, allowing you to type in channel names
> > >      -p        : add pat and pmt to TS recording (implies -r)
> > >                  or -n numbers for zapping
> > >           -t        : delivery system type DVB-S=0, DSS=1, DVB-S2=2
> > > 
> > > 
> > > You see the last line? The Information is included!! ;-)
> > 
> > yes, I see. But in my patched szap I don't see this information. I don't know why :(
> > 
> > /usr/src/dvb-apps# cat patch_scan_szap_jens.diff | patch -p1 --dry-run
> Why do you use the --dry-run option here? 
> man patch 
> shows:
>  - -dry-run 
>  Print the results of applying the patches without actually changing any files.

yes, it was my foolish mistake , sorry 

but after real patching and making 

goga:/usr/src/dvb-apps/util/scan# make
perl section_generate.pl atsc_psip_section.pl
CC scan.o
scan.c:414: warning: unused parameter ‘buf’
scan.c:415: warning: unused parameter ‘t’
scan.c:449: warning: unused parameter ‘buf’
scan.c:518: warning: unused parameter ‘buf’
scan.c:519: warning: unused parameter ‘t’
scan.c: In function ‘tune_initial’:
scan.c:1892: warning: unused variable ‘hier’
scan.c:1892: warning: unused variable ‘guard’
scan.c:1892: warning: unused variable ‘mode’
scan.c:1892: warning: unused variable ‘fec2’
scan.c:1892: warning: unused variable ‘bw’
scan.c:1892: warning: unused variable ‘qam’
scan.c: At top level:
scan.c:1809: warning: ‘str2qam’ defined but not used
scan.c:1826: warning: ‘str2bandwidth’ defined but not used
scan.c:1838: warning: ‘str2mode’ defined but not used
scan.c:1849: warning: ‘str2guard’ defined but not used
scan.c:1862: warning: ‘str2hier’ defined but not used
scan.c:2081: warning: ‘pids_dump_service_parameter_set’ defined but not used
CC atsc_psip_section.o
CC diseqc.o
CC dump-vdr.o
CC dump-zap.o
dump-zap.c:6: warning: ‘inv_name’ defined but not used
dump-zap.c:12: warning: ‘fec_name’ defined but not used
dump-zap.c:26: warning: ‘qam_name’ defined but not used
dump-zap.c:39: warning: ‘bw_name’ defined but not used
dump-zap.c:47: warning: ‘mode_name’ defined but not used
dump-zap.c:53: warning: ‘guard_name’ defined but not used
dump-zap.c:62: warning: ‘hierarchy_name’ defined but not used
CC lnb.o
CC section.o
CC scan

I have these errors


goga:/usr/src/dvb-apps/util/scan# ./scan 13e
scanning 13e
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 12398000 H 27500000 27500000
initial transponder 11258000 H 27500000 27500000
initial transponder 11449000 H 27500000 27500000
initial transponder 11996000 V 27500000 27500000
initial transponder 12265000 V 27500000 27500000
initial transponder 10719000 V 27500000 27500000

[skip}

ioctl DVBFE_GET_INFO failed: Operation not supported
ioctl DVBFE_GET_INFO failed: Operation not supported
ioctl DVBFE_GET_INFO failed: Operation not supported
ioctl DVBFE_GET_INFO failed: Operation not supported
ioctl DVBFE_GET_INFO failed: Operation not supported
ERROR: initial tuning failed
dumping lists (0 services)
Done.

the same - for szap

goga:/usr/src/dvb-apps/util/szap# ./szap -c13 -n1
reading channels from file '13'
zapping to 1 'ZDF':
sat 0, frequency = 11258 MHz H, symbolrate 27500000, vpid = 0x023a, apid = 0x023b sid = 0x1f4b
Querying info .. Delivery system=DVB-S
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
ioctl DVBFE_GET_INFO failed: Operation not supported











More information about the linux-dvb mailing list