How to Obtain, Build and Install V4L-DVB Device Drivers

From LinuxTVWiki
Revision as of 21:19, 19 June 2005 by Liontooth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

An outline of the procedure used to successfully build the drivers in video4linux CVS. If you want the drivers already working properly in the kernel these are not the instructions to follow.

I did this on linux-2.6.11-gentoo-r10 and tested the lgdt3302 driver for a card I own. It should be applicable to the other drivers in CVS as well. CVS is usually only going to work on recent linux kernels.

1) Configure your kernel. If multimedia drivers in addition to those specified here are selected, you may end up loading an old copy of a module compiled by the kernel rather than the new version just compiled from CVS.


   make menuconfig

in the Linux source directory and set things like this:

   Device Driver --->
       Multimedia Devices --->
           <*> Video for Linux
               Digital Video Broadcasting Devices --->
                   [*] DVB for Linux
                   <*> DVB Core

No other drivers or options should be selected under Multimedia Devices ---> or any lower level.

2) Check out the CVS files following the instructions at [Repeated here].

   cvs -d login
   cvs -d co video4linx

You can later update your sources by running:

   cvs -z3 up -dP

3) As root in the video4linux directory from CVS do:

   make DVB=1

If you don't need any of the digital drivers just do:


4) After they compile you can make them available to the OS with:

   make install

5) Now you can install the driver you need into the OS. All of them in CVS were built.

My particular driver needs:

   modprobe -v cx8800
   modprobe -v cx88-dvb

The -v option is handy for checking where the driver module actually was found.