Package
Name |
Selected |
X Window System |
31/33 |
GNOME |
35/35 |
KDE |
14/16 |
Editors |
2/4 |
Graphical Internet |
8/14 |
Sound and Video |
14/19 |
Graphics |
10/13 |
Server Configuration Tools |
9/13 |
Web Server |
12/17 |
Development Tools |
35/46 |
Kernel Development |
4/4 |
X Software Development |
18/18 |
GNOME Software Development |
42/48 |
Administration Tools |
11/11 |
su -
cd /usr/src/linux-2.4
make mrproper
cp config/kernel-2.4.20-i686.config .config
make xconfig
make clean
make bzImage
make modules
make modules_install
make install
/boot/initrd-2.4.20-8custom.img
existsreboot
You should read the directions from the V4L2 web site - they only apply for the
versions that we've specified.
v4l2-20030717.tar.gz
to the home directorytar xvfz v4l2-20030717.tar.gz
cd v4l2
mv
/usr/include/linux/videodev.h /usr/include/linux/videodev.h.orig
cp videodev.h /usr/include/linux
cp videodev2.h /usr/include/linux
Makefile
and change depmod
to /sbin/depmod
make
make install
bttv9-20030717.tar.gz
to the home directorytar xvfz bttv9-20030717.tar.gz
cd bttv-0.9.12
Makefile
and change depmod
to /sbin/depmod
make
make install
-rw-r--r-- 1 root
root 4936 Aug 4
18:54 btcx-risc.o
-rw-r--r-- 1 root
root 113484 Aug 4 18:54 bttv.o
-rw-r--r-- 1 root
root 15616 Jul 18 10:48
v4l1-compat.o
-rw-r--r-- 1 root y
root 8084 Jul 18 10:48
v4l2-common.o
-rw-r--r-- 1 root
root 19544 Aug 4 18:54
video-buf.o
modprobe -c
' command. modprobe also uses
/lib/modules/2.4.20-8custom/modules.dep for resolving module
dependencies.find . -name bttv.o -print
and make sure all copies of bttv.o are purged.
The following steps do that:cd /lib/modules/2.4.20-8custom/kernel/drivers/media/video
mv bttv.o bttv.o.orig
  (We recommend rm bttv.o
)cd /lib/modules/2.4.20-8custom
modules.dep
and delete /lib/modules/2.4.20-8custom/kernel/drivers/media/video/bttv.o
and its dependencies.su -
modprobe bttv
modinfo bttv
should display something likefilename:
/lib/modules/2.4.20-8custom/v4l2/bttv.o
description: "bttv - v4l/v4l2 driver module for bt848/878 based cards"
author: "Ralph Metzler & Marcus
Metzler & Gerd Knorr"
license: "GPL"
...
modinfo v4l2-common
should display something likefilename:
/lib/modules/2.4.20-8custom/v4l2/v4l2-common.o
description: "misc helper functions for v4l2 device drivers"
author: "Bill Dirks, Justin Schoeman,
Gerd Knorr"
license: "GPL"