LinuxQuestions.org
Help answer threads with 0 replies.
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 01-07-2004, 05:11 PM   #1
Goeland86
Member
 
Registered: Sep 2003
Location: california - but I'm in school in Maine
Distribution: Gentoo Linux
Posts: 36

Rep: Reputation: 15
Angry USB Webcam Howto? Problems with OV511 module...


Hey everyone
I recently installed Mandrake 9.2, and I'm very happy with it. I got a 2.6.0 kernel up and going with all the bells and whistles, EXCEPT for the webcam.
It's a USB D-Link VGA DSB-C310 webcam. I found out it uses the OV511 module, even though it's an OV518+ chip. I can get the OV511 module to load, and the led on the webcam turns on when I do so. But when I try and run xawtv, I get the following errors :

This is xawtv-3.88, running on Linux/i686 (2.6.0-1mdkcustom)
can't open /dev/v4l/video0: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/v4l/video0: No such device
v4l2: open /dev/v4l/video0: No such device
v4l: open /dev/v4l/video0: No such device
no video grabber device available

I tried looking for webcam howtos, but somehow I can't find them. Am I just dumb and unlucky, or are there very few?
If anybody would please explain step by step the things to do, I'd appreciate it.
The other little thing to notice is that the webcam doesn't only have a video chip on it, but also a microphone. I've read of people getting it to work, but again no step-by-step instructions anywhere.
Can someone help me out?
Thanks
 
Old 01-08-2004, 02:00 AM   #2
lorenzo111
LQ Newbie
 
Registered: Dec 2003
Distribution: REDHAT9,MANDRAKE 9.2,LIBRANET 2.8.1,ELX
Posts: 9

Rep: Reputation: 0
take a peek at this it might help some
http://www.isthe.com/chongo/tech/comp/pwc/rh7.3.html
 
Old 01-08-2004, 04:32 PM   #3
Goeland86
Member
 
Registered: Sep 2003
Location: california - but I'm in school in Maine
Distribution: Gentoo Linux
Posts: 36

Original Poster
Rep: Reputation: 15
alright, this seem to be fine... for philips webcams. I'll try and use the tools anyway, but I doubt it'll work. I tried something similar before, when I still used redhat 9.0... didn't work. I'll give it a try and keep you posted whether it worked or not.
 
Old 01-09-2004, 08:45 PM   #4
Goeland86
Member
 
Registered: Sep 2003
Location: california - but I'm in school in Maine
Distribution: Gentoo Linux
Posts: 36

Original Poster
Rep: Reputation: 15
ok, I tried to compile camstream, and I get funky errors... no matter what, there's nothing I can do. Besides, I seem to have a problem with my /dev/video0, it's a symlink to "v4l/video0", and there is no such folder as v4l on my system... I'm certain, I just did updatedb and locate v4l. The only thing it finds are files located in my kernel source directory. And I am certain I added the v4l support in the kernel, as I do have the ov511 module compiled with the kernel. So, are there any other tools for webcams, and has anybody ever used a webcam that uses the ov511 module? Because I think I have a very peculiar problem here... or maybe not. Thanks for wanting to help, but it didn't work.
 
Old 01-09-2004, 09:11 PM   #5
Goeland86
Member
 
Registered: Sep 2003
Location: california - but I'm in school in Maine
Distribution: Gentoo Linux
Posts: 36

Original Poster
Rep: Reputation: 15
here's the content of my /proc/bus/usb/devices :
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 4
B: Alloc= 11/900 us ( 1%), #Int= 2, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.0-1mdkcustom ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:02.0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 4
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0416 ProdID=5518 Rev= 0.08
S: Product=USB HUB
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms

T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=05a9 ProdID=a518 Rev= 1.02
S: Manufacturer=OmniVision Technologies, Inc.
S: Product=USB Camera
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 129 Ivl=1ms
I: If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 257 Ivl=1ms
I: If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 385 Ivl=1ms
I: If#= 0 Alt= 4 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 513 Ivl=1ms
I: If#= 0 Alt= 5 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 641 Ivl=1ms
I: If#= 0 Alt= 6 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 769 Ivl=1ms
I: If#= 0 Alt= 7 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 897 Ivl=1ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=audio
I: If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=audio
I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E: Ad=82(I) Atr=05(Isoc) MxPS= 32 Ivl=1ms

T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0d7d ProdID=1300 Rev= 0.50
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=045e ProdID=0024 Rev= 1.21
S: Manufacturer=Microsoft
S: Product=Microsoft Trackball Explorer®
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms

I don't know how to interpret most of this... Yes, I know, it's a microsoft trackball... so what? I don't like windows, but I like the MS hardware.
I hope this will help you gurus out there determine whether I just have a configuration problem or if my webcam is not supported under linux yet.
Please help me out on this one, it's a real pain... it's the major reason for why I still have dual boot. If I didn't have that webcam problem, chances are I'd get rid of my windows directory altogether.
 
Old 01-21-2004, 11:26 AM   #6
mkaman
Member
 
Registered: Oct 2003
Location: spain
Distribution: fc2, fc3
Posts: 54

Rep: Reputation: 16
I have the same webcam chipset like you and the same problem.
But i use rh9 and when kudzu configured the webcam i lost the hability to play sounds througth the sound card.
It's due a conflict between the soundcard and the microphone that comes whith the webcam :S.
Did this happened to you? You solved the souncard problem?

Thanx
 
Old 01-21-2004, 02:10 PM   #7
Goeland86
Member
 
Registered: Sep 2003
Location: california - but I'm in school in Maine
Distribution: Gentoo Linux
Posts: 36

Original Poster
Rep: Reputation: 15
Yes, I remember having the problem with the soundcard under redhat 9.0. I can't remember how I solved it... I think it was not letting kudzu configure it. For some reason or other, kudzu thinks it's an Output usb device, whereas it's an input only, thus the no output on the soundcard as it gives priority to the usb device...
Try cancelling the configuration from kudzu, and then manually loading the ov511 module, or the last version you have to load the ovcamchip module before that.
Good luck, and tell me if you ever get it working, even without the sound!
 
Old 01-25-2004, 10:05 PM   #8
Goeland86
Member
 
Registered: Sep 2003
Location: california - but I'm in school in Maine
Distribution: Gentoo Linux
Posts: 36

Original Poster
Rep: Reputation: 15
oh, by the way, the problem is solved. For the module to work, and xawtv to use the webcam, all you have to do is enter the line
above ov511 ovcamchip
in the file /etc/modules.conf
Add that, and next time you boot the webcam'll work just fine.
Hope this post helps people out there.
 
Old 02-15-2004, 05:49 PM   #9
stuzuk
LQ Newbie
 
Registered: Feb 2004
Distribution: Fedora
Posts: 17

Rep: Reputation: 0
camstream compile errors

[root@localhost camstream-0.26.3]# ./configure
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in lib/ccvt
configure: running /bin/sh './configure' --prefix=/usr/local --cache-file=/dev/null --srcdir=.
loading cache /dev/null
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
configure: error: /bin/sh './configure' failed for lib/ccvt

anyone have any ideas I am compatible other than them cc, gcc whatever that is.
 
Old 02-15-2004, 06:06 PM   #10
Goeland86
Member
 
Registered: Sep 2003
Location: california - but I'm in school in Maine
Distribution: Gentoo Linux
Posts: 36

Original Poster
Rep: Reputation: 15
gcc and cc are c and c++ program compilers.
Either one of these programs is required to compile a program from source. The file you have downloaded is a bunch of text files, which are the source of the modules and/or program you are trying to build.
What you need to do, and I would strongly suggest you use apt4rpm in your case, is install gcc-c++. You will probably have other dependencies to fill before the configure script runs ok.
Have you installed the development package from Fedora? if not, that's a start, it contains many things you will need. Try that and run your script again.
If you want to use apt4rpm, go to [url]http://apt.freshrpms.net[\url] and follow the instructions.
If you need more help, try looking for some source compilation tutorials, I don't have the time to type one here.
 
Old 02-15-2004, 06:32 PM   #11
stuzuk
LQ Newbie
 
Registered: Feb 2004
Distribution: Fedora
Posts: 17

Rep: Reputation: 0
cool I figured that much ie gcc was the gnu compiler, Fedora does have gcc246 not sure if that is why as the version is wrong.

Im trying to get this by reading and learning as I am linux neewbie atm.

Installing packages and will try again.

Do you know what the package is called in Fedora at all thanks.

Just QT to go now as I have checked that I have everything else =)

Last edited by stuzuk; 02-15-2004 at 06:42 PM.
 
Old 02-15-2004, 08:40 PM   #12
Goeland86
Member
 
Registered: Sep 2003
Location: california - but I'm in school in Maine
Distribution: Gentoo Linux
Posts: 36

Original Poster
Rep: Reputation: 15
I don't know what the package is called in fedora, but I guess you can find out by going to http://rpmfind.net
Type in gcc, and look for the fedora version. But if you use the Fedora package selector (like during the installation process) install the development tools group. That should contain everything, and a recent enough version for it to work too. You will find out that linux is a complex but very powerful and flexible OS. Most of what I do is done by text commands, from a terminal. I'm no guru, but I sometimes regret the GUI interface for most of the configuration options, as sometimes it's not as clearly presented as the text configuration file itself.
Just keep learning man, and from my experience, there's nothing better than getting a good linux book as a reference. Personally I used "The Linux Textbook" as I took the Linux Workshop class in high-school this fall trimester.
 
Old 02-16-2004, 11:10 AM   #13
stuzuk
LQ Newbie
 
Registered: Feb 2004
Distribution: Fedora
Posts: 17

Rep: Reputation: 0
Getting closer lol...

Anyway now I have more errors when compiling QT (required for camstream) then the terminal will take hmm.

most of them say that the code is incorrect syntax???? - Looks like Ill go without cam for now my head hurts.

Back to uni till next weekend then Ill give a bash from scratch.

At least I have the compilers in now and have just compiled xscrabble for the misses...
 
Old 02-16-2004, 11:50 AM   #14
Goeland86
Member
 
Registered: Sep 2003
Location: california - but I'm in school in Maine
Distribution: Gentoo Linux
Posts: 36

Original Poster
Rep: Reputation: 15
alright... well I don't understand why you don't install the binairies for qt, the famous binairies... Do you have kde installed? if not, install kde, it should install qt I think. If not, I'm certain there were qt rpms for redhat 9, so chances are they exist for fedora.
 
Old 02-16-2004, 12:17 PM   #15
stuzuk
LQ Newbie
 
Registered: Feb 2004
Distribution: Fedora
Posts: 17

Rep: Reputation: 0
Sweet, I dident find the bin files Ill look on there website again to see if they have RPM files.

Most redhat bins/rpms work on fedora I have found. I am using gnome but do have KDE as well.
 
  


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
module-assistant auto-install ov511 ... make: *** [build-stamp] Error 2 brynjarh Linux - Hardware 1 11-13-2005 03:31 PM
Problems with webcam -- ov511 Adrohak Linux - Hardware 0 10-16-2004 11:30 AM
Creative Webcam USB - HOWTO get it work? sbogus Linux - Software 2 06-08-2004 09:27 AM
ov511 webcam options LinFreak! Linux - Hardware 1 03-20-2004 04:46 PM
ov511 webcam and v4l twofeet Linux - Hardware 2 08-07-2003 12:45 PM


All times are GMT -5. The time now is 07:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration