Linux
pages by ndrix
|
||||
|
Linux
projects
|
dvbd |
DVB daemon
|
Fsync | Not sure what this is. PLEASE FILL |
Freq |
Frequency set on the tuner. WARNING, this is not the same as
you specified in dvbd.conf, but the tuning frequency after the
LNB has made a down-convertion. |
Sync |
Indicates lock on transponder. Possible values: 0, 31, 63,
95, 127. |
Afc | Tuner's Automatic Frequency Control. PLEASE FILL |
Agc | Tuner's Automatic Gain Control. The lower the signal, the higher the value. When signal is too low, AGC will be high and too much noise will also be amplified, to no avail. |
Nest | Noise level Estimation. PLEASE FILL |
Vber |
Bit Error Rate discovered by error detection codes. |
SECURITY CONSIDERATIONS :
While running, dvbd will open UDP port 1060 which will be used by the modified mrouted to dynamically set and release filters required for multicast routing, multicast group join/part.
COMMAND LINE OPTIONS :
-a | 1 or 0 | AFC on=1/off=0 |
-t | 1 or 0 | 22 kHz signal on=1/off=0 Unless dvbd2 is patched, this should always be on |
-v | 1 or 0 | polarisation H=1/V=0 |
-d | 1 or 0 | diseqc on=1/off=0 |
-p | 1 or 0 | LNB power on=1/off=0 |
-s |
integer |
Symbol Rate |
-f | integer > 10600000 < 14500000 |
Transponder frequency (Ku band) Unless dvbd2 is patched, frequencies < 11800000 are not usable. Usually, transponders go up to 12750000 |
-q | Detach from console and become a daemon | |
-w | Watchdog Timer support | |
-c | path/to/file | Use custom configuration file instead of default /etc/dvbd.conf |
SAMPLE CONFIGURATION FILE
Copy the sample config file below and paste it into /etc/dvbd.conf
# DVB receiver configuration file, (c) 2000 data planet international # # standard location is /etc/dvbd.conf # # LNB power on=1/off=0 # power 1 # # symbol rate [symbol/sec] # # ASTRA 1E/1F # # symbolrate 27500000 # # ASTRA 1G/1H # symbolrate 22000000 # # frequency [kHz] # # ASTRA TR 103 # # frequency 12461000 # # ASTRA TR 115 # frequency 12662750 # # ASTRA TR 114 # # frequency 12640000 # # ASTRA TR 113 # # frequency 12632250 # # 22 kHz signal on=1/off=0 # ttk 1 # # diseqc on=1/off=0 # diseqc 0 # # AFC on=1/off=0 # AFC 1 # # polarisation H=1/V=0 # polarisation 1 # # settings for MPE filter, PID and MAC filtering, valid MAC bytes(?) # filter_name PID [MAC addr] [valid MAC bits] # Only 10 filters can be configured. # filter_0 512 # # filter_1 785 # # filter_2 786 01:00:5E:01:0A:01 31 # # filter_3 xxx # # filter_4 xxx # # filter_5 xxx # # filter_6 xxx # # filter_7 xxx # # filter_8 xxx # # filter_9 xxx #
dvbd3 is a revised version of dvbd2 with some additional features added.
Most of what has been said about dvbd above is still valid for dvbd3.
However, command line options and configuration file have changed.
These are described settings below are valid for dvbd3a version
0.03.2a,b by Rolf Siebrecht as it is the implementation that has the most
features to date.
dvbd3a runs only on the patched
0.8.2 driver. See notes on the new dvbd3a
COMMAND LINE OPTIONS :
Command line options are handled by the GNU getopt_long() function. That
means, you may write a cmdline option as :
-d1
or
-d 1
or
--ducktales=1
-a --afc |
1 or 0 | AFC on=1/off=0 |
-b --dvb_ifname |
ifname | Name of DVB device to use (network interface created
for DVB device). default = dvb0 |
-c --config |
path/to/file | Use custom configuration file. Default = /etc/dvbd.conf |
-d
--diseqc |
1 or 0 | diseqc on=1/off=0 |
-i |
ifname | Set network iface name resp. IP address for filter_0
(unicast) Example = ppp0 |
-f
--frequency |
integer 10700..12750 [MHz] for DVB-S 110000..870000 [kHz] for DVB-C, DVB-T) |
Transponder frequency (Ku band) for DVB-S, cable or
terrestrial transmitter frequency for DVB-T, DVB-C For older variants of dvbd3, see notes |
-h --help |
Show help overview | |
-o --power |
1 or 0 | LNB power on=1/off=0 |
-q | Detach from console and become a daemon (don't output status messages ) |
|
-s
--symbolrate |
integer |
Symbol Rate |
-p --polarization |
1 or 0 | Select transponder polarization H=1/V=0 |
-w --watchdog |
Use /dev/watchdog as time schedule | |
-e --fec |
0, 1, 2, 3, 4, 5, 6, 7 or 8 | FEC (forward error correction) code. 0=1/2, 1=2/3, 2=3/4, 3=4/5, 4=5/6, 5=6/7, 6=7/8, 7=8/9, 8=auto Default: 4 (=5/6) |
-m --simple |
Just execute frontend and filter settings - and exit | |
-n --do_nothing |
Don't execute any control action, but just display all settings that would be effective if started really and exit | |
-v --v4l_ifname |
/path/to/dev | select V4L device (/dev/video0, /dev/video1, ...) |
Specifying following pairs of cmdline options at the same time is
obviously nonsense:
--quiet plus --simple
--quiet plus --do_nothing
--simple plus --do_nothing
Notes on dvbd3 (original) command line options :
SECURITY CONSIDERATIONS :
While running, dvbd will open UDP port 1060 which will be used by the modified mrouted to dynamically set and release filters required for multicast routing, multicast group join/part.
SAMPLE CONFIGURATION FILE
Copy the sample config file below and paste it into /etc/dvbd.conf
# DVB receiver configuration file, (c) 2000 data planet international
# Please see README + README.1st for further informations.
# This file is looked up in /etc # (unless you invoke dvbd with -c flag).
#
# Uncomment those lines where you need other settings than the # default.
# The default settings are realized by the main program itself and # are chosen for Astra 1G (19.2E) transponder 115 "EON,
# Internet-via-the-Sky".
# The alternative settings shown here are suited for Eutelsat W3 (7E)
# transponder C3 "Open Sky".
#
#
# name of existing dvb net interface to use
# (default: dvb0)
#
#dvb_ifname dvb0
#
#
# name of Video4Linux device assigned to DVB driver
# (default: /dev/video)
#
#v4l_ifname /dev/video
#
#
# power to LNB. on=1/off=0
# (default: on)
#
#power 1
#
#
# symbol rate [symbols/sec]
# (default: 22000000)
#
#symbolrate 27500000
#
#
# frequency [MHz] (DVB-S) resp. [kHz] (DVB-C, DVB-T)
# (default: 12663)
#
#frequency 11262
#
#
# FEC (forward error correction) code.
# 0=1/2, 1=2/3, 2=3/4, 3=4/5, 4=5/6, 5=6/7, 6=7/8, 7=8/9, 8=auto
# (default: 4 (=5/6))
#
#fec 1
#
#
# DiSEqC control. on=1/off=0
# (default: off)
#
#diseqc 0
#
#
# AFC. on=1/off=0
# (default: on)
#
#afc 1
#
#
# transponder polarization. H=1/V=0
# (default: H)
#
#polarization 1
#
#
# filter_0 is intended as unicast IP filter. Its first argument is
# PID (for example EON uses 512 to carry unicast traffic). The # second argument here is either the IP address (or IP network with # /bitmask in CIDR notation), that will be set as pass-through # filter for the packets that are only to be received, or a name # of existing network interface - in such case, the corresponding # filter value will be calculated from the IP of that interface # (useful for use with Europe OnLine, for example). The second # argument can be also completely omitted - in this case, the # filter will correspond to the real MAC address of your DVB # card => only packets with this MAC address will be received.
# BUT PLEASE, NEVER EVER SET THIS TO ANY IP ADDRESS OR IP-NET, # UNLESS YOU KNOW PERFECTLY WHAT YOU ARE DOING. THE NAME OF THE # NETWORK INTERFACE OR COMPLETELY OMITTING THE SECOND FIELD IS # THE SAFE BET.
#
# syntax: filter_0 <PID> [<netdevice | IP[/bitmask]>]
#
filter_0 512 eth0
#
# other MPE filters (these are intended to filter multicast # traffic).
#
# syntax: filter_x <PID> <MAC> [valid_MAC_bytes]
#
#filter_1 785
#
#filter_2 786 01:00:5E:01:0A:01 31
#
#filter_3 xxx
#
#filter_4 xxx
#
#filter_5 xxx
#
#filter_6 xxx
#
#filter_7 xxx
#
#filter_8 xxx
#
#filter_9 xxx
#
Notes on dvbd3 (original) configuration file options :
Notes on dvbd3a features :
For additional information check the README
file and the source.