[linux-dvb] Johannes' idea of simple zap (szap)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Attached is my current channels.conf and a hacked version of scan which
> prints out the service_id at the very end. It is not a big problem to
> add in to parse the VDR format too, as i had a parser for the Metzler's
> libdvb format also, but temporarily removed of all those bells and
> whistles to make testing and debugging easier..

I'd be interested in helping with parsing the file formats to start with - if 
they were to be exported into a seperate library that is. 



Looking at VDR 1.26 there are three config files:

sources.conf. This contains a description of the source of the transmission - 
the satellite/Dvbt/dvbc transmitter:

S19.2E  Astra 1B/C/E/F/G/H/2C
S21.5E  Eutelsat II F3
S23.5E  Astra 3A
S24.2E  Astra 1D

(you use T and C prefixes for terrestial, and cable respectively)


This is referred to from diseqc.conf, which lets the user specify how to tune 
to a signal to that source:

S19.2E  11700 V  9750  t v W15 [E0 10 38 F0] W15 A W15 t
S19.2E  99999 V 10600  t v W15 [E0 10 38 F1] W15 A W15 T
S19.2E  11700 H  9750  t V W15 [E0 10 38 F2] W15 A W15 t
S19.2E  99999 H 10600  t V W15 [E0 10 38 F3] W15 A W15 T

The above specifies how/what diseqc/tone/voltage commands to send for the four 
"bands" for Astra 1B/C/E/F/G/H/2C.. the format is as follows:

# satellite:      one of the 'S' codes defined in sources.conf
# slof:           switch frequency of LNB; the first entry with
#                 an slof greater than the actual transponder
#                 frequency will be used
# polarization:   V = vertical, H = horizontal
# lof:            the local oscillator frequency to subtract from
#                 the actual transponder frequency
# command:
#   t         tone off
#   T         tone on
#   v         voltage low (13V)
#   V         voltage high (18V)
#   A         mini A
#   B         mini B
#   Wnn       wait nn milliseconds (nn may be any positive integer number)
#   [xx ...]  hex code sequence (max. 6)


Finally, channels, conf refers to sources.conf directly, and looks up the 
appropriate entry in diseqc.conf to know what diseqc stuff to use:

RTL:12188:h:S19.2E:27500:163:104:105:0:12003:0:0:0

So RTL is at freq 12188, h polarization on source S192.E... you can guess the 
rest.



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux