File:  [DVB] / dvb-kernel / README
Revision 1.4: download - view: text, annotated - select for diffs
Mon Jan 6 08:05:27 2003 UTC (21 years, 5 months ago) by hunold
Branches: MAIN
CVS tags: HEAD
Added some notes about the ".config" problems reported
by Gregoire Favre <greg@ulima.unil.ch>.

This might happen to others, too, but now we can say
RTFM... ;-)

Cleaned up the TODO list.

Instructions for building the "new" driver under 2.5.x:
-------------------------------------------------------

(This won't work with *2.4.x*, so don't even try, have a look
at the build-2.4 directory instead)

You need a kernel >= 2.5.53.

0) Some changes are already disucussed with Gerd Knorr, but have
not been applied to the main kernel tree.

Because of this, you need to apply the following patches to your
kernel tree before configuring and building it:

- 00_knorr_v4l1_compat.patch	: adds the v4l1-compat module to the kernel
- 01_video-buf.patch		: moves video-buf to another location

1) Call "./makelinks <your-kernel-directory>. This will copy and link the
driver files to your kernel.

2) Next, use "make menuconfig" or whatever and select the av7110 driver.
If you have problems with modules and 2.5.x you can also compile the driver
statically into the kernel.

Build and install the new kernel as usual.

If you copy an old ".config" from an older kernel version where you already
selected the av7110 driver, some dependencies are not set up correctly and the 
driver won't be build completely. 

You need to delete everything between the 
> # Supported SAA7146 based PCI Adapters
and
> # File systems
line in your ".config", then run "make oldconfig". You will be asked about
these devices again, and the dependencies are set correctly.

3) For your convenience, a script called "driver.av7110" is available
to load and unload the driver easily. (Of course this is only valid if you
compiled the driver as a module...)

Use "./driver.av7110 start" to start the driver, "./driver.av7110 stop" to
stop and unload it. ("./driver.av7110 restart" unloads the driver and loads 
the driver with all debugging options enabled)

4) Try your favourite programs, the behaviour should be exactly the same.
Good luck!

If you have problems or questions:

1) Look at the TODO file. If the problem is mentionend there,
it will be fixed asap.

2) Ask on the mailing list. If you choose to do so, please include the
following informations:

- Do you really use the "dvb-kernel" driver?
- When did you check out the driver?
- Which kernel version are using?
- Which card do you have? (Name, board revision, frontend type, ...)
- What are the problems exactly?

Michael Hunold.

LinuxTV legacy CVS <linuxtv.org/cvs>