version 1.8, 2004/01/25 17:31:28
|
version 1.9, 2004/01/25 17:47:32
|
Line 1
|
Line 1
|
Instructions for building the standalone driver: |
Instructions for building the standalone driver: |
------------------------------------------------ |
------------------------------------------------ |
|
|
You must have the kernel sources for the kernel you are actually using |
You must have the kernel sources for the kernel you are currently using |
installed, and symlinked to /lib/modules/$(KERNEL_VERSION)/build. This should |
installed, and symlinked to /lib/modules/$(KERNEL_VERSION)/build. This should |
be the default in proper installations with installed kernel source package. |
be the default in proper installations with installed kernel source package. |
|
|
If you are in doubt please get a fresh and clean kernel source tarball from |
If you are in doubt please get a fresh and clean kernel source tarball from |
http://www.kernel.org/, unpack, configure, install and boot this one before |
http://www.kernel.org/, unpack, configure, install and boot this one before |
building the DVB driver. 80% of the bug reports on the linux-dvb mailing list |
building the DVB driver. 80% of the bug reports on the linux-dvb mailing list |
have been related to not properly installed kernels in the past. |
have been related to not properly installed kernel source trees in the past. |
|
|
For cards with MPEG decoder onboard make sure that CONFIG_VIDEO_DEV is enabled |
For cards with MPEG decoder onboard make sure that CONFIG_VIDEO_DEV is enabled |
in the config of your running kernel. If you get unresolved symbols named |
in the config of your running kernel. If you get unresolved symbols named |
video_XXXX then you missed this option. |
video_XXXX when loading the driver then you missed this option. |
|
|
For some cards you need Input and Event Device Support enabled to get the |
For some cards you need Input and Event Device Support enabled to get the |
IR receiver on the card running. Be sure to enable CONFIG_INPUT and |
IR receiver on the card running. Be sure to enable CONFIG_INPUT and |
Line 27 notified in the build process or when lo
|
Line 27 notified in the build process or when lo
|
instructions there if you own one of the cards that need a firmware to run. |
instructions there if you own one of the cards that need a firmware to run. |
|
|
Now execute the ./MAKEDEV-DVB.sh script to create the DVB API device nodes. |
Now execute the ./MAKEDEV-DVB.sh script to create the DVB API device nodes. |
|
In ./build-2.4/ or ./build-2.6/ you find the insmod script. |
|
Use './insmod.sh load' to load the driver modules, './insmod.sh unload' to |
|
remove them. './insmod debug' loads the drivers with debugging enabled. |
|
These scripts load all drivers for all cards, if you check what hardware you |
|
actually own you can accelerate the initialisation by loading only the driver |
|
modules you need. |
|
|
When you reached this point successfully you probably want to start some |
When you reached this point successfully you probably want to start some |
test applications, download the linuxtv-dvb-apps-1.1.tar.gz package, unpack |
test applications, download the linuxtv-dvb-apps-1.1.tar.gz package, unpack |
it and compile it. This package contains some tools to test and debug the |
it and compile it. This package contains some tools to test and debug the |
driver: |
driver: |
|
|
apps/szap/ contains three simple applications for zapping with DVB-S, DVB-C |
linuxtv-dvb-apps-1.1/apps/szap/ contains three simple applications called |
or DVB-T cards (szap/czap/tzap); read the comments in apps/szap/szap.c for |
szap, czap and tzap for zapping with DVB-S, DVB-C or DVB-T cards. |
instructions. |
Read linuxtv-dvb-apps-1.1/apps/szap/ README for usage instructions. |
|
|
Note 1: tuning succeeded if you see the FE_HAS_LOCK flag and "status 1f"; a |
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). |
good signal has a low bit error rate (ber) and zero uncorrectable packets (unc). |
Line 57 Examples:
|
Line 64 Examples:
|
xine stdin://mpeg2 < /dev/dvb/adapter0/dvr0 |
xine stdin://mpeg2 < /dev/dvb/adapter0/dvr0 |
|
|
Note: Newest mplayer and xine versions are reported to have builtin DVB support |
Note: Newest mplayer and xine versions are reported to have builtin DVB support |
(see FAQ for more info). |
(see ./linux/Documentation/dvb/faq.txt for more info). |
|
|
For 'real' everyday use you probably don't want to use these test applications |
For 'real' everyday use you probably don't want to use these test applications |
but install a program like VDR or MythTV. Read the FAQ for some links. |
but install a program like VDR or MythTV. |
|
(Read ./linux/Documentation/dvb/faq.txt for some links) |
|
|
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
|
|