Jump to content
Science Forums

Problems with webcam in linux


Recommended Posts

So, I got myself a spiffy new webcam, the Logitech Quickcam Pro for Notebooks

(http://www.logitech.com/index.cfm/38/3055&cl=us,en)

 

I plugged it into my Windows XP computer, and it recognized it, and within seconds was able to be used. I plugged it into my linux computer and nothing happened. I looked online to see if there was something simple I could do, and couldn't find anything. This is why I prefer Windows. Stuff works in windows the way I expect it to. But, since I'm stuck with Linux on this computer, I'd like to get my webcam working - any suggestions, ideas, instructions?

[url=http://www.logitech.com/index.cfm/38/3055&cl=us,en][/url]

Link to comment
Share on other sites

found this on the ubu forum, too

Logitech Pro for Notebooks works fine with Ekiga, excellent video and audio quality.

 

I got it running with the UVC driver and V4L2.

 

To check if UVC is on, type

 

Code:

 

lsmod | grep uvc

 

and you should get

 

Code:

 

uvcvideo 52104 0

compat_ioctl32 1408 1 uvcvideo

videodev 26304 1 uvcvideo

v4l1_compat 12580 2 uvcvideo,videodev

v4l2_common 16608 2 uvcvideo,videodev

usbcore 132940 7 uvcvideo,snd_usb_audio,snd_usb_lib,usbhid,ehci_hcd,ohci_hcd

 

You must have Video4Linux2 installed.

 

If you have uvc loaded, check to see if you have the camera recognized:

 

Type:

 

Code:

 

lsusb | grep Logitech

 

and you should see

 

Code:

 

Bus 003 Device 002: ID 046d:0991 Logitech, Inc.

 

As root, type:

 

Code:

 

ls /dev/vid*

 

and you should see:

 

Code:

 

/dev/video0

 

Then, to test the device, type as root:

 

Code:

 

aptitude install xawtv

xawtv -c /dev/video0

 

xawtv should display a video stream.

 

If the camera is connected and giving you footage as root, but Ekiga doesn't see it in the configuration wizard, you need to make sure you can access /dev/video0 as a non-root user. Do the following:

 

1. Select V4L2 as your video plugin in Ekiga

2. as root, type

 

Code:

 

chmod 777 /dev/video0

 

Make sure to click the camera icon in Ekiga, as under Linux it doesn't start displaying footage automatically.

 

That took awhile to figure out. Best of luck!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...