--- DVB/INSTALL 2003/06/23 06:48:57 1.12 +++ DVB/INSTALL 2003/07/23 17:23:26 1.13 @@ -1,40 +1,56 @@ Configuration: -- Make sure that the kernel sources of the kernel you are using be reachable - through the directory symlink in /lib/modules/$(KERNEL_VERSION)/build/. +- You must have the kernel sources for the kernel you are actually using + installed, and symlinked to /lib/modules/$(KERNEL_VERSION)/build. Otherwise, change the path for KERNEL_LOCATION in DVB/driver/Makefile. - Note that the configuration of the driver sources also has to match that - of the kernel you are running. - You have to have the videodev core driver enabled in your kernel - to use the DVB driver. - Make sure that your kernel has enabled: - Video4Linux Support (CONFIG_VIDEODEV), - Input Core Support (CONFIG_INPUT) and + Video4Linux Support (CONFIG_VIDEO_DEV) + needed by cards with integrated MPEG decoder to display video on screen + + Input Core Support (CONFIG_INPUT) Event Device Support (CONFIG_INPUT_EVDEV) + needed by the DVB remote control driver -- Login as root, change to the directory DVB/driver and type "make". +- Login as root, change to the directory DVB and type "make". + This will build the drivers and all utility and test programs. -- If everything compiled without errors, type "make insmod" to install - the modules. - During the installation of the modules your PC can "hang" for one or - two seconds. This happens during the loading of the ARM application - ("firmware") into the DRAM of the AV7110 and is normal. - -- if you don't use devfs, execute DVB/driver/makedev.napi to create - the device nodes +- If everything compiled without errors, cd to DVB/drivers and + type "make insmod" to load the modules. Depending on your hardware + you may append a "CARDS=av7110" or "CARDS=b2c2" to the "make insmod" + command line to avoid loading unnecessary drivers (optional). + During the installation of the modules your PC can "hang" for a + few seconds. This happens during the loading of the ARM application + ("firmware") into the DRAM of the AV7110 and is "normal". + + If the drivers work you can install them permanently using "make install". + See drivers/modules.conf for some hints how to enable autoloading. + +- If you don't use devfs, execute DVB/driver/makedev.napi to create + the device nodes; if you use devfsd, copy drivers/devfsd.conf to + /etc/devfs/conf.d/dvb (exeact location might depend on you distribution). - apps/szap/ contains three simple applications for zapping with DVB-S, DVB-C or DVB-T cards (szap/czap/tzap); read the comments in - apps/szap/szap.c for instructions - -- if your card has a hardware MPEG2 decoder you can watch TV - with e.g. xawtv (together with e.g. szap for DVB tuning); otherwise - you need a software MPEG2 decoder like mplayer or vlc - - -Now you're ready to watch out for some real applications for your card. -Search the net for dvbtune, dvbstream, VDR, Enigma, Neutrino, tuxzap, -mplayer (incl. the DVB plugin), dvbsnoop... + apps/szap/szap.c for instructions. + Note 1: tuning succeeded if you see the FE_HAS_LOCK flag and "status 1f"; + a good signal has a low bit error rate (ber) and zero + uncorrectable packets (unc). + Note 2: you must keep ?zap running, or the frontend will go to sleep + (unless you load dvb-core.o with dvb_shutdown_timeout=0) + +- If your card has a hardware MPEG decoder you can watch TV + with xawtv (together with e.g. szap for DVB tuning); + Note: xawtv cannot control the DVB tuner, you must use ?zap + +- For cards without hardware MPEG decoder you need a software + MPEG decoder, e.g. mplayer or xine (you need *very* recent versions + which understand MPEG2 transport streams; xine v0.9.21 and + mplayer dev-CVS-030723-16:39-3.3.1 seem to work); + Note: You must run ?zap with the -r flag to enable stream output to + the dvr device, and keep it running while watching tv. + Examples: + mplayer - < /dev/dvb/adapter0/dvr0 + xine stdin://mpeg2 < /dev/dvb/adapter0/dvr0