LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-03-2008, 02:47 PM   #1
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 313

Rep: Reputation: 34
unable to get my webcam working in fedora8


hi all,
I have a acer aspire 4720 with a built in CrystalEye web cam ( Manufacturer is Suyin). I am running fedora8 on it.I am unable to install and use my webcam in linux.I find my camera when I do a lsusb it shows up correctly
[root@localhost luvcview]# lsusb
Bus 002 Device 003: ID 064e:a101 Suyin Corp.
Bus 002 Device 001: ID 0000:0000
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a Optical Wheel Mouse
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000


I have installed the Linux UVC kernel driver from the berliOS site ( The webcam is listed as being supported by the driver)
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk

However, the lsmod command doesnot show any drivers uvcvideo.ko installed . I am quite confused.

I have downloaded the luvcview repository and successfully compiled and installed luvcview.When I run the following command I get the result :-
[root@localhost dev]# luvcview -y yuv
luvcview 0.2.4
SDL information:
Video driver: x11
A window manager is available
Device information:
Device path: /dev/video0
ERROR opening V4L interface: No such device or address

I have installed v4l2 and I have also got the SDL libraries in place.

Can someone help me out plz
nishith
 
Old 11-04-2008, 11:16 AM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Did you load the driver for the webcam ?
modprobe uvcvideo

I have an Acer netbook wiith the Crystal eye webcam, it's from a different manufacturer than yours, although apparently it uses the same driver, which in my case was already included with the kernel

Code:
lsusb
Bus 005 Device 004: ID 0c45:62c0 Microdia Pavilion Webcam


lennynetbookone:~# lsmod | grep video 
uvcvideo               45576  0 
compat_ioctl32          1312  1 uvcvideo
videodev               27520  1 uvcvideo
v4l1_compat            12260  2 uvcvideo,videodev


lennynetbookone:~# modinfo uvcvideo
filename:       /lib/modules/2.6.26-1-686/kernel/drivers/media/video/uvc/uvcvideo.ko
version:        v0.1.0
license:        GPL
description:    USB Video Class driver
author:         Laurent Pinchart <laurent.pinchart@skynet.be>
This is on Debian Lenny new install..
Hopefully something here might help.

cheese was loaded on this machine to capture video and puctures. It was all apparenlty detected during install I didn't have to do anything to get it working. I actually ran Cheese asking myself "what is this program for? " and next thing I know I was staring at myself.. That was pretty scarry.


when you modprobe the driver does it give you any errors ?
does it show as listed then ?


Did you install v4l2 and SDL using yum ?

Last edited by farslayer; 11-04-2008 at 11:21 AM.
 
Old 11-05-2008, 04:02 AM   #3
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 313

Original Poster
Rep: Reputation: 34
thanks for your response...I too figured that out today. My uvcvideo driver was missing.
So here is what I did for that :-
I went to the berliOS site and downloaded the svn repository for the uvcview driver.
I did a make , make install for it
I restarted the machine
When I did a dmesg | grep Crystal it showed my webcam correctly and then I checked out the driver too using lsmod | grep uvcview and it too showed up nicely.
Next I start up the luvcview utility and it showed my happy face

By the way what utility do you use to capture still images and video from your cam ? I could use some help on that !

Thanks again
nishith
 
Old 11-05-2008, 07:52 AM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Cheese. because it was automatically installed

http://www.gnome.org/projects/cheese/

it will capture stills and video and has effects to alter the image during capture.. it's cheesy but functional :P
 
Old 11-06-2008, 10:46 AM   #5
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 313

Original Poster
Rep: Reputation: 34
thanks for the cheese
I downloaded and installed it. However, it gives error that it couldnot find the webcam.
On the terminal window there are a lot of errors :-
Quote:
[root@localhost ~]# cheese
** Message: Probing the webcam, please ignore the following, not applicabable tries
** Message: Error running pipeline 'v4l2src ! fakesink': Could not get enough buffers from device '/dev/video0'. [v4l2src_calls.c(1034): gst_v4l2src_capture_init (): /pipeline0/v4l2src0:
we received 0 from device '/dev/video0', we want at least 2]
** Message: test pipeline for v4l2src failed:
[v4l2src ! fakesink]: Could not get enough buffers from device '/dev/video0'.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=640,height=480 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm (): /pipeline1/v4lsrc0:
Error setting the channel/norm settings: Invalid argument]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=640,height=480 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-yuv,width=640,height=480 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm (): /pipeline2/v4lsrc1:
Error setting the channel/norm settings: Invalid argument]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-yuv,width=640,height=480 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=320,height=240 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm (): /pipeline3/v4lsrc2:
Error setting the channel/norm settings: Invalid argument]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=320,height=240 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=1280,height=960 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm (): /pipeline4/v4lsrc3:
Error setting the channel/norm settings: Invalid argument]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=1280,height=960 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=174,height=144 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm (): /pipeline5/v4lsrc4:
Error setting the channel/norm settings: Invalid argument]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=174,height=144 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! video/x-raw-rgb,width=160,height=120 ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm (): /pipeline6/v4lsrc5:
Error setting the channel/norm settings: Invalid argument]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! video/x-raw-rgb,width=160,height=120 ! fakesink]: Could not get/set settings from/on resource.
** Message: Error running pipeline 'v4lsrc ! fakesink': Could not get/set settings from/on resource. [v4l_calls.c(409): gst_v4l_set_chan_norm (): /pipeline7/v4lsrc6:
Error setting the channel/norm settings: Invalid argument]
** Message: test pipeline for v4lsrc failed:
[v4lsrc ! fakesink]: Could not get/set settings from/on resource.
using photo source: videotestsrc
using video source: videotestsrc

BTW the luvcview program is working without any errors.So nothing wrong with the driver. But from the error it seems like lot of v4l issues!
Any clue about that ?
thanks
nishith
 
Old 11-06-2008, 09:12 PM   #6
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
no I do not know what all those errors are about..

the drivers, v4l, and cheese are all installed on my system straight from the Debian repositories and it all just works. not sure what it is not happy about on your system..
 
  


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
fedora8+wifi+dhcp not working suddenly frieza Linux - Wireless Networking 2 07-17-2008 12:36 PM
Broadcom BCM94311MCG not working with Fedora8 michael_ar Linux - Laptop and Netbook 0 03-12-2008 02:56 AM
problem in installing softwares in fedora8 .. unable to use "yum" shashank24 Linux - Software 1 02-14-2008 04:07 PM
Unable to use laptop's built in webcam Dark_Oppressor Linux - Laptop and Netbook 4 04-25-2007 01:40 AM
Unable to install driver for Creative PD1120 webcam on Redhat9 savior Linux - Hardware 0 12-08-2005 11:13 AM


All times are GMT -5. The time now is 07:29 PM.

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