Page 1 of 1

Logitech HD C510 Webcam

Posted: Sat Mar 02, 2013 8:43 am
by egotist
Hi all,

I have a problem getting my webcam to work. Video works on neither cheese nor skype. However, the microphone works fine once configured. This is on linux-mint 14 Nadia, almost-fresh install. According to most posts and comments I've seen on the web, this is one of those models that should "just work".

lsusb shows this:

Code: Select all

Bus 002 Device 002: ID 046d:081d Logitech, Inc. HD Webcam C510
I run gstreamer-properties, and try to to test the video

Code: Select all

Error starting streaming on device '/dev/video0'. [gstv4l2object.c(2230): gst_v4l2_object_start_streaming (): /GstPipeline:pipeline1/GstV4l2Src:v4l2src2:
system error: Input/output error]
Cheese crashes when trying to record video after logging the following:

Code: Select all

libv4l2: error turning on stream: Input/output error

(cheese:3346): cheese-WARNING **: Internal data flow error.

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started

(cheese:3346): cheese-WARNING **: Jack server not found


(cheese:3346): cheese-WARNING **: Could not initialize supporting library.
Any idea what might be wrong?

Re: Logitech HD C510 Webcam

Posted: Mon Mar 04, 2013 6:14 pm
by homerscousin
I have a C310. I installed guvcview, or something like that, and it worked first time, no configuring. The webcam is still new to me, I since upgraded my kernel and KDE to 4.10. I have to reinstall guvcview, so at the moment it isn't available, but it did work.

Re: Logitech HD C510 Webcam

Posted: Mon Mar 04, 2013 6:35 pm
by eanfrid
Yep. Install guvcview, it should install the missing dependancies like V4L. I have this webcam and another C525 which worked instantly fine out-of-the-box. guvcview is one of the best tools to check if your video really works.

Re: Logitech HD C510 Webcam

Posted: Tue Mar 05, 2013 3:41 am
by egotist
Brilliant! It does indeed work with guvcview.

However, I still cannot get it to work with Skype, even with the

Code: Select all

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so /usr/bin/skype
trick. Any suggestions on what I can tweak? The message I get is that the so cannot be preloaded.

Re: Logitech HD C510 Webcam

Posted: Tue Mar 05, 2013 3:53 am
by eanfrid
Which version of Skype ? The tricks you are using tell me that you might have installed an outdated version.

Re: Logitech HD C510 Webcam

Posted: Tue Mar 05, 2013 4:00 am
by egotist
Probably so. I am on Skype 4.1.0.20. I only get a black screen. My entire Linux-Mint install is only a couple of days old, so everything should be fresh! Cheese still crashes out on it, but I'm not so concerned about that.

Re: Logitech HD C510 Webcam

Posted: Tue Mar 05, 2013 4:24 am
by eanfrid
Indeed you have the lastest version of Skype and the trick you try is useless. Did you download the "Ubuntu multiarch" version or installed from the Mint repo ?

Re: Logitech HD C510 Webcam

Posted: Tue Mar 05, 2013 4:44 am
by egotist
I got it straight off http://www.linuxmint.com/download.php, Cinnamon 64 bit.

Installed all the updates and:
Kupfer
Skype
Cheese, after skype didn't work
X11, GL, and GLU dev packages.
guvcview, on your advice

Tweaked fstab a little bit to suit my SSD.

That's about all I've done. Don't think any of that would have caused the problem. Do you?

Re: Logitech HD C510 Webcam

Posted: Tue Mar 05, 2013 5:29 am
by eanfrid
I don't think so either. Maybe is it related to your GPU and drivers. I only use AMD GPU and O/S drivers on my 64bit desktops. The webcams work fine either on Debian 7 with 3.8 kernel (and before on older kernels) or on LM13 with kernel 3.5 (~LM14 for that matter).

Re: Logitech HD C510 Webcam

Posted: Tue Mar 05, 2013 5:49 am
by egotist
Hmm, interesting thought. I have an Nvidia 660. Installed Steam, and that upgraded my mesa drivers, but no dice. Perhaps I'll have to regress to an earlier version of Skype if I can.