summaryrefslogtreecommitdiffstats
path: root/util/szap/README
blob: 5c83c67461d6afc1280cf6105315559eec4849cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Hi,

this are some trivial zapping applications explaining how to use the frontend
and demux API. They are also pretty useful to test your hardware.

For DVB-S, Astra Channel config file:

$ ./szap -c channels.conf-dvbs-astra n24

will tune to N24. For DVB-C, Berlin Cable channel config:

$ ./czap -c channels.conf-dvbc-berlin Arte

For DVB-T, Berlin Config:

$ ./czap -c channels.conf-dvbt-berlin phoenix

By default the MPEG stream is routed to a hardware decoder. If you want to 
record the stream to disk you will route it to the DVR device by using the 
'-r' option:

$ ./czap -c channels.conf-dvbt-berlin phoenix -r
[keep it running in one console]
$ cat /dev/dvr/adapter0/dvr0 > /tmp/recording.ts
[in a second console, will dump the MPEG transport stream to /tmp/recording.ts]

The status messages have the following meaning:

status 0x1f              --- The demodulator status bits.
			      0x1f means all bits set, everything ok.

signal [0x0000...0xffff] --- Signal Strength. Values above 0x8000 should be ok.

snr [0x0000...0xffff]    --- Signal/Noise Ratio. Values above 0x8000 are ok.

ber [0...0xffffffff]     --- Bit Error Rate. The less the better.

unc [0...0xffffffff]     --- Number of Uncorrectable Blocks.
			     Small numbers are Preferable.

If everything is alright and all frontend circuits are working stable 
(are locked) you should see a FE_HAS_LOCK in the rightmost line.

Good luck,

Holger
{ color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# $Id$
# $URL$

# Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = gnu
CLEANFILES = *~
DRIVERS=@DRIVERS@
PLUGINS=@PLUGINS@

bin_PROGRAMS = lcd4linux

# Fixme: -W should be renamed to -Wextra someday...
AM_CFLAGS = -D_GNU_SOURCE -Wall -W -fno-strict-aliasing

# use this for lots of warnings
#AM_CFLAGS = -D_GNU_SOURCE -std=c99 -m64 -Wall -W -pedantic -Wno-variadic-macros -fno-strict-aliasing

lcd4linux_LDFLAGS =
lcd4linux_LDADD   = @DRIVERS@ @PLUGINS@ @DRVLIBS@ @PLUGINLIBS@
lcd4linux_DEPENDENCIES = @DRIVERS@ @PLUGINS@

lcd4linux_SOURCES =           \
lcd4linux.c   svn_version.h   \
cfg.c         cfg.h           \
debug.c       debug.h         \
drv.c         drv.h           \
drv_generic.c drv_generic.h   \
evaluator.c   evaluator.h     \
property.c    property.h      \
hash.c        hash.h          \
layout.c      layout.h        \
pid.c         pid.h           \
timer.c       timer.h         \
thread.c      thread.h        \
udelay.c      udelay.h        \
qprintf.c     qprintf.h       \
rgb.c         rgb.h           \
                              \
widget.c      widget.h        \
widget_text.c widget_text.h   \
widget_bar.c  widget_bar.h    \
widget_icon.c widget_icon.h   \
widget_keypad.c widget_keypad.h \
widget_timer.c widget_timer.h \
widget_gpo.c  widget_gpo.h    \
                              \
plugin.c      plugin.h        \
plugin_cfg.c                  \
plugin_math.c                 \
plugin_string.c               \
plugin_test.c                 \
plugin_time.c

EXTRA_lcd4linux_SOURCES=      \
drv_generic_text.c            \
drv_generic_text.h            \
drv_generic_graphic.c         \
drv_generic_graphic.h         \
drv_generic_gpio.c            \
drv_generic_gpio.h            \
drv_generic_serial.c          \
drv_generic_serial.h          \
drv_generic_parport.c         \
drv_generic_parport.h         \
drv_generic_i2c.c             \
drv_generic_i2c.h             \
drv_generic_keypad.c          \
drv_generic_keypad.h          \
drv_BeckmannEgle.c            \
drv_BWCT.c                    \
drv_Crystalfontz.c            \
drv_Curses.c                  \
drv_Cwlinux.c                 \
drv_D4D.c                     \
drv_EA232graphic.c            \
drv_G15.c                     \
drv_HD44780.c                 \
drv_Image.c                   \
drv_IRLCD.c                   \
drv_LCD2USB.c                 \
drv_LCDLinux.c                \
drv_LCDTerm.c                 \
drv_LEDMatrix.c               \
drv_LPH7508.c                 \
drv_LUIse.c                   \
drv_M50530.c                  \
drv_MatrixOrbital.c           \
drv_MilfordInstruments.c      \
drv_Noritake.c                \
drv_NULL.c                    \
drv_Pertelian.c               \
drv_PHAnderson.c              \
drv_picoLCD.c                 \
drv_picoLCDGraphic.c          \
drv_RouterBoard.c             \
drv_Sample.c                  \
drv_st2205.c                  \
drv_serdisplib.c              \
drv_SimpleLCD.c               \
drv_T6963.c                   \
drv_Trefon.c                  \
drv_ula200.c                  \
drv_USBHUB.c                  \
drv_USBLCD.c                  \
drv_WincorNixdorf.c           \
drv_X11.c                     \
                              \
font_6x8.h                    \
font_6x8_bold.h               \
widget_image.c widget_image.h \
                              \
lcd4linux_i2c.h               \
                              \
plugin_apm.c                  \
plugin_asterisk.c             \
plugin_button_exec.c          \
plugin_cpuinfo.c              \
plugin_diskstats.c            \
plugin_dvb.c                  \
plugin_exec.c                 \
plugin_fifo.c                 \
plugin_file.c                 \
plugin_gps.c                  \
plugin_hddtemp.c              \
plugin_i2c_sensors.c          \
plugin_iconv.c                \
plugin_imon.c                 \
plugin_isdn.c                 \
plugin_kvv.c                  \
plugin_loadavg.c              \
plugin_meminfo.c              \
plugin_mpd.c		      \
plugin_mysql.c                \
plugin_netdev.c               \
plugin_netinfo.c              \
plugin_pop3.c                 \
plugin_ppp.c                  \
plugin_proc_stat.c            \
plugin_python.c               \
plugin_sample.c               \
plugin_seti.c                 \
plugin_statfs.c               \
plugin_uname.c                \
plugin_uptime.c               \
plugin_w1retap.c	      \
plugin_wireless.c             \
plugin_xmms.c


EXTRA_DIST =                  \
svn_version.sh                \
lcd4linux.conf.sample         \
lcd4kde.conf                  \
lcd4linux.kdelnk              \
lcd4linux.xpm                 \
lcd4linux.lsm                 \
ac_python_devel.m4            \
curses.m4                     \
drivers.m4                    \
plugins.m4                    \
AUTHORS                       \
CREDITS                       \
NEWS                          \
TODO                          \
README                        \
plugin_sample.c



# create subversion version

.PHONY: svn_version

svn_version:
	svn_version.sh