View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: How to upgrade bttv
PostPosted: Tue Jul 27, 2004 5:51 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu