How to upgrade BTTV properly ?
Hello,
I run a Knoppix (Kernel version 2.4.20) and the embedded BTTV driver is 0.7.96 As my Pinnacle PCTV didn't work, I decided to upgrade my kernel and my BTTV drivers. Here is what I did : => download kernel source (2.4.21) => apply patch found on bytesex.org/v4l/build.html ("kernel patch" link) => compile && install the new kernel (not necessary for bttv I believe but it was quite funny) It worked perfectly. Then, I decided to really upgrade bttv by downloading the 0.9.x version I opened the tarball, untar it in my /home/~/files directory, ran make && make install : it worked perfectly BUT at the loading of the system, the old bttv is still loaded (I saw it in kern.log) I think that the latest bttv only creates a few .o that are in a particular directory... including bttv.o... but the kernel still loads the old one in /kernel/media.... Do you know a way to force the kernel to load the latest bttv at startup ? Thanks in advance... already spent a lot of hours without success :confused: Frank |
I think (not 100% sure) that you can tell it to use the newer bttv by passing 'v4l2=1' in the opitions when you load the bttv module.
|
I didn't work unfortunately
here is what I put in modules.conf : #### Begin BTTV Config #### alias char-major-81 bttv options bttv card=39 pll=1 v4l2=1 (as you told me) options tuner type=33 debug=1 options msp3400 once=1 simple=1 post-install bttv modprobe tuner; modprobe videodev #### End BTTV Config #### Maybe that is the wrong place ? |
try unloading the module 'modprobe -r bttv'
then reload it 'modprobe bttv card=39 pll=1 v4l2=1' and see what dmesg spits out at ya |
Here is the result :
Warning: ignoring v4l2=1, no such parameter in this module Module bttv loaded, with warnings Using /lib/modules/2.4.21/kernel/drivers/media/video/tuner.o insmod: a module named tuner already exists /lib/modules/2.4.21/kernel/drivers/media/video/bttv.o: post-install bttv failed The modules.conf seems to be the key... I tried to replace the 2 lines I mentioned in the previous post with something I found on the forum : #tv config start alias char-major-81 bttv options bttv card=39 pll=1 options tuner type=33 debug=1 options msp3400 once=1 simple=1 post-install bttv modprobe tuner; modprobe videodev #tv config end And now (without rebooting) the result of what you suggested is : Warning: ignoring v4l2=1, no such parameter in this module Module bttv loaded, with warnings ... but this still is the old version Moreover, in bttv path, there is a script called update which unloads the old version of the driver and loads the new one. Maybe I could adapt it to modules.conf ? #!/bin/sh source modules.sh set -e case "`hostname --short`" in eskarina) btopt="card=66" ;; esac xrmmod bttv xrmmod btcx-risc xrmmod video-buf v4l2basic xinsmod video-buf debug=0 xinsmod btcx-risc debug=0 xinsmod bttv bttv_debug=0 vbi_debug=0 irq_debug=0 \ fdsr=0 sloppy=1 chroma_agc=1 vbibufs=4 $btopt I think that v4l2=1 can be passed to xinsmod... which is defined in another script (modules.sh) !!! Frankly, it's pretty hard to configure... |
Yep. it is the old version.
Let's see if a new one got built. try 'locate bttv.o' and then do an 'ls -la /path/to/bttv.o' for each version you find. |
Locate and ls -la gave me back
******USEFUL I SUPPOSE************ -rw-r--r-- 1 root root 94364 2003-06-25 04:48 /lib/modules/2.4.21/kernel/drivers/media/video/bttv.o -rw-r--r-- 1 root root 103384 2003-06-25 05:00 /lib/modules/2.4.21/v4l2/bttv.o (this is the latest version i'm quite sure) ******USELESS I SUPPOSE********* /lib/modules/2.4.20-xfs/kernel/drivers/media/video/bttv.o /home/sky/files/bttv-0.9.10/bttv.o /usr/src/linux-2.4.21/drivers/media/video/bttv.o |
But I still don't guess what to do :confused:
|
Quote:
|
All times are GMT -5. The time now is 01:22 PM. |