scan-s2

From LinuxTVWiki
Jump to navigation Jump to search

scan-s2 is a command line frequency scanning utility very similar to scan. It is not included in LinuxTV dvb-apps but complements the two frequency scanning utilities available through LinuxTV dvb-apps, dvbscan and scan. Comparison of the scanning utilities.

When using scan-s2, one indirectly instructs it to search for programs streams that can be received from specified frequencies and generates a resultant channel list.

Note: scan-s2 requires Linux DVB driver API version 5.

Documentation

scan-s2 does not have a man page. However, if you run it with the -h parameter, the output provides a summary of its command options. For example, running scan -h produces:

usage: scan-s2 [options...] [-c | initial-tuning-data-file]
        scan-s2 doesn't do frequency scans, hence it needs initial
        tuning data for at least one transponder/channel.
 	-c	scan on currently tuned transponder only
	-v 	verbose (repeat for more)
	-q 	quiet (repeat for less)
	-a N	use DVB /dev/dvb/adapterN/
	-f N	use DVB /dev/dvb/adapter?/frontendN
	-d N	use DVB /dev/dvb/adapter?/demuxN
        -D id   disable S1 mode or S2 mode
                id = S1 disable S1 mode
                id = S2 disable S2 mode
	-s N	use DiSEqC switch position N (DVB-S only)
	-S N    use DiSEqC uncommitted switch position N (DVB-S only)
	-r sat  move DiSEqC rotor to satellite location, e.g. '13.0E' or '1.0W'
	-R N    move DiSEqC rotor to position number N
	-i N	spectral inversion setting (0: off, 1: on, 2: auto [default])
	-n	evaluate NIT messages for full network scan (slow!)
	-5	multiply all filter timeouts by factor 5
		for non-DVB-compliant section repitition rates
	-O pos	Orbital position override 'S4W', 'S19.2E' - good for VDR output
	-k cnt	Skip count, will skip every first specified
		messages for every message type (default 0)
	-I cnt	Scan iterations count (default 10).
		Larger number will make scan longer on every channel
	-o fmt	output format: 'vdr' (default) or 'zap'
	-x N	Conditional Access, (default -1)
		N=-2  gets all channels (FTA and encrypted),
		      output received CAID :CAID:
		N=-1  gets all channels (FTA and encrypted),
		      output CA is set to :0:
		N=0   gets only FTA channels
		N=xxx  sets ca field in vdr output to :xxx:
	-t N  Service select, Combined bitfield parameter.
		1 = TV, 2 = Radio, 4 = Other, (default 7)
	-p	for vdr output format: dump provider name
	-e N  VDR version, default 2 for VDR-1.2.x
		ANYTHING ELSE GIVES NONZERO NIT and TID
		Vdr version 1.3.x and up implies -p.
	-l lnb-type (DVB-S Only) (use -l help to print types) or 
	-l low[,high[,switch]] in Mhz
	-u UK DVB-T Freeview channel numbering for VDR

	-P do not use ATSC PSIP tables for scanning
	    (but only PAT and PMT) (applies for ATSC only)
	-A N	check for ATSC 1=Terrestrial [default], 2=Cable or 3=both
	-U	Uniquely name unknown services
	-D s	Disable specified scan mode (by default all modes are enabled)
		s=S1  Disable DVB-S scan
		s=S2  Disable DVB-S2 scan (good for owners of cards that do not
		      support DVB-S2 systems)
	-X	Disable AUTOs for initial transponders (esp. for hardware which
		not support it). Instead try each value of any free parameters.

Initial-tuning-data format

Note: The file format is slightly different from dvbscan/scan (DVB-S/DVB-S2 only).

DVB-S/DVB-S2

  • S S1/S2
  • S1 DVB-S mode only
  • S2 DVB-S2 mode only
S <frequency> <polarity> <symbol rate> [fec] [rolloff] [modulation]
S1 <frequency> <polarity> <symbol rate> [fec] [rolloff] [modulation]
S2 <frequency> <polarity> <symbol rate> [fec] [rolloff] [modulation]

DVB-C

C <frequency> <symbol rate> [fec] [modulation]

DVB-T

T <frequency> [bandwidth] [HP fec] [LP fec] [modulation] [transmission mode] [guard] [hierarchy]

ATSC

A <frequency> [modulation]

Also See

Links