File:  [DVB] / dvb-kernel / README
Revision 1.5: download - view: text, annotated - select for diffs
Thu Jan 9 10:27:22 2003 UTC (21 years, 4 months ago) by hunold
Branches: MAIN
CVS tags: experimental-dvb-devfs-fake, HEAD
Fixes for 2.5.55 all over the place:

- removed the patches, they are not needed any more. you can now
  use a vanilla 2.5.55 kernel
- created a new backport for video-buf and videodev from the 2.5.55
  sources
- necessary fixes to the saa7146 driver due to changes in 2.5.55
- the core budget functions are now provided by a module called
  "budget-core.o". (otherwise static compilation is not possible...)
- removed #ifdef MODULE crap from all files

Misc.
- "xawtv" (using xv extension) resulted in wrong colors. the problem
  is within "xawtv". Gerd Knorr told me, that it'll be fixed in the
  next release.

I tested this version with 2.4.20, 2.5.55 (modules) and 2.5.55
(static).

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.55.

1) Call "./makelinks <your-kernel-directory>. This will copy and link the
driver files to your kernel, remove some old files, move some files around.

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>