LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-28-2006, 12:46 AM   #1
arw_opencv
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Rep: Reputation: 0
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
 
Old 11-29-2006, 12:42 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,983

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
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.
 
Old 11-30-2006, 07:52 AM   #3
arw_opencv
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Smile

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
 
Old 12-02-2006, 03:43 AM   #4
arw_opencv
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The best video capture card? quick1234 Linux - Hardware 2 06-05-2006 06:45 AM
Using the Zoran Driver for Video Capture Baryonic Being Linux - Hardware 3 01-18-2006 06:36 AM
re-install or recompile the video card module driver ejbest Fedora 0 11-06-2005 08:15 AM
Video capture card? Darwin *BSD 0 09-21-2003 03:12 PM
Problems with DC10Plus video capture card install pelyon68 Linux - Hardware 0 08-22-2003 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration