I was having some IRQ lockups with the bttv driver, so I tried to upgrade to a newer version of bttv. KnoppMyth R4V4 has bttv-0.9.15, which at the moment is the latest release, so I had to grab a CVS snapshot.
Code:
cd
wget http://dl.bytesex.org/cvs-snapshots/video4linux-20040723-010612.tar.gz
tar -xzvf video4linux-20040723-010612.tar.gz
cd video4linux
Snapshots currently have the same version, so to make it obvious that the new version had loaded, I changed the version number before compiling:
Code:
vi bttvp.h
[find the line
#define BTTV_VERSION_CODE KERNEL_VERSION(0,9,15)
and change it to 0,9,99
]
make
Normally we would just do a "sudo make install", but this puts the modules in a different location to the exiistting old modules, so we have to do some manual steps. It is also a good opportunity to backup the old modules:
Code:
sudo mkdir /lib/modules/v4l2
cd /lib/modules/2.4.25-chw/kernel/drivers/media/video
sudo mv btcx-risc.o bttv.o cx8800.o cx88xx.o ir-common.o msp3400.o saa6752hs.o saa7134.o tda9887.o tuner.o tvaudio.o tvmixer.o v4l1-compat.o v4l2-common.o video-buf.o /lib/modules/v4l2
cd ~/video4linux
sudo cp btcx-risc.o bttv.o cx8800.o cx88xx.o ir-common.o msp3400.o saa6752hs.o saa7134.o tda9887.o tuner.o tvaudio.o tvmixer.o v4l1-compat.o v4l2-common.o video-buf.o /lib/modules/2.4.25-chw/kernel/drivers/media/video
sudo depmod -a
After a reboot, dmesg should show you that v0.9.99 of bttv loaded. Note that it didn't fix the lockups on my Compaq DeskPro
_________________
| Nigel Pearson,
nigel.pearson.au@gmail.com| "Things you own end up owning you" - Tyler, Fight Club