LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Need help - Install Driver for Video Capture Card (https://www.linuxquestions.org/questions/linux-hardware-18/need-help-install-driver-for-video-capture-card-505455/)

arw_opencv 11-28-2006 12:46 AM

Need help - Install Driver for Video Capture Card
 
Hi everybody,

I need help to install the driver for my video cards. I have physically installed two video capture cards on two different computers. Both running Linux CentOS release 4.4 (final), and kernel 2.6.9-42.0.3.ELsmp. The first computer is Pentium D 3.00 GHz, 1Gbyte RAM. The second computer is AMD Athlon 2800+, 1 Gbyte RAM. I successfully installed opencv-0.9.7 on both computers with gtk+ 2.x, libjpeg, zlib, libpng, libtiff, ffmpeg, dc1394, raw1394 and V4L pre-installed. Opencv running very well on both computers.

I installed Hauppauge ImpactVCB (model 558) on Pentium D machine, while on Athlon machine, I installed I-O Data GV-VCP2M/PCI.
After physically installing the cards, I installed the bttv-0.9.15 driver on both machine according to the instruction given by : BTTV.html, with exception that I did not recompile the kernel as instructed if the machine does not has the videodev.o, bttv.o, and tuner.o. Both machines do not have the files mentioned above.

After completed installation, I could capture videos through the cards on both machines. However, if i restarted the machines, I could not capture any video anymore. I have to repeat the process of loading the modules as follow:

- modprobe videodev
- modprove bttv

Would anyone help me solve this problems. I already write in the modprobe.conf file the following:

Pentium D machine:

alias char-major-89 i2c-dev
options i2c-core i2c=debug=1
options i2c-algo-bit bit=test=1
alias char-major-81 videodev
alias char-major-81-0 bttv
option bttv card=10

Athlon machine:

alias char -majorp-81
alias char-major-81 bttv
options bttv card=2


I really do not remember where I got the codes, and I also not very sure whether they are correct or not. I'm quite new in this.

Thank you in advance for your help.

regards,

arw_opencv

kilgoretrout 11-29-2006 12:42 PM

Try putting this:

Code:

modprobe videodev
modprove bttv

at the end of your /etc/rc.d/rc.local file. On RH based systems, rc.local is the last init script to run. Modprobing your video capture modules there avoids some timing issues that may occur when you attempt to load them through modprobe.conf.

arw_opencv 11-30-2006 07:52 AM

Quote:

Originally Posted by kilgoretrout
Try putting this:

Code:

modprobe videodev
modprove bttv

at the end of your /etc/rc.d/rc.local file. On RH based systems, rc.local is the last init script to run. Modprobing your video capture modules there avoids some timing issues that may occur when you attempt to load them through modprobe.conf.


Thanks kilgoretrout. I'll try it.

regards

arw_opencv

arw_opencv 12-02-2006 03:43 AM

Quote:

Originally Posted by arw_opencv
Thanks kilgoretrout. I'll try it.

regards

arw_opencv

I already tried it and it works. Thanks again kilgoretrout.


All times are GMT -5. The time now is 01:47 AM.