LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-20-2011, 07:00 PM   #1
nenpa8lo
Member
 
Registered: Oct 2008
Location: Ireland
Distribution: Slackware 13.0, Slackware 13.37
Posts: 68
Blog Entries: 2

Rep: Reputation: 18
Angry Logitech Webcam C510 fails with skype


Hi All,

lsusb finds my camera, and /dev/video0 is created. Because skype did not work with this webcam, I've decided to use
Code:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
but this complained that the lib does not exist... however lsmod tells me that this module is already loaded and used by uvcvideo and videodev. Because I could not find v4l1compat.so in the entire system I've decided to install it again at different location and point LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so to that location. Fail! skype (2.1.x and 2.2.x) still does not see the camera. Any other ideas?
 
Old 10-21-2011, 02:12 AM   #2
BashTin
Member
 
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278

Rep: Reputation: 32
Hi, I see you have no reply and I might not be much help but will try. I had this problem too and at the time I was running Slack 64 bit (using multi lib) and like you tried reinstalling the module but to no avail. You also need to realise there are two possible modules depending on if you are running 32 bit or 64 bit. (google). In the end I must confess I gave up trying to get it to work and this together with some other issues I was having made me reinstall 32 bit. Bit of a sledgehammer to crack a nut but that's what I ended up doing. My advice, make sure you are loading the correct module for your distro.

Code:
You have to use the following command to open any application that uses webcam

    LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so application_name

If you use 64 bit system, use the following command

    LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so application_name
 
Old 10-21-2011, 08:20 AM   #3
nenpa8lo
Member
 
Registered: Oct 2008
Location: Ireland
Distribution: Slackware 13.0, Slackware 13.37
Posts: 68

Original Poster
Blog Entries: 2

Rep: Reputation: 18
Thanks for your reply.

Reinstalling is not an option, as I have to many apps/crosstools etc for development on this machine.
I do not think that
Code:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
is a must to run skype with webcam. I'm pritty sure is must be v4l1compat.so lib but where it lies is not as important.
I had similar issue with Ubuntu on different machine and LD_PRELOAD did the trick, but slackware seems to be more resistant

Any other points/ideas?

Any app (other than skype) that would test my webcam?
 
Old 10-21-2011, 09:25 AM   #4
octoberblu3
Member
 
Registered: Oct 2005
Distribution: Slackware64-current
Posts: 67

Rep: Reputation: 22
You should not need the v4l1compat.so library for this web camera. It is a UVC device which should works just fine with V4L2 and skype. I have the 310C and it works just fine without the compatibility library.

Try installing guvcview from slackbuilds.org to make sure your camera is working properly before worrying about the skype configuration.
 
Old 10-21-2011, 08:08 PM   #5
nenpa8lo
Member
 
Registered: Oct 2008
Location: Ireland
Distribution: Slackware 13.0, Slackware 13.37
Posts: 68

Original Poster
Blog Entries: 2

Rep: Reputation: 18
Wanted to install guvcview, but this required v4l-dvb... Installed v4l-dvb and now uvc module is not loaded and /dev/video0 is missing! I've decided to complete with guvcview, complained about missing portaudio and ffmpeg. Did that went back to guvcview to continue installation process... now libudev.h complains - from what I've found I need to install libudev-dev but there does not seem to be native Slackware package out there.
Any links, source etc?
And why is my video0 now missing?
 
Old 10-21-2011, 09:58 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
If you need build scripts and source for those packages check out SlackBuilds.org. Those packages should be there.

As far as /dev/video0 not registering, I have no idea. Most webcam's I've had just work out of box using V4L2 and whatever capture program I'm running at the time.
 
Old 10-22-2011, 12:06 AM   #7
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
Any app (other than skype) that would test my webcam?
I don't run your webcam or Slackware. I gave up on Skype though and went with Jitsi
 
Old 10-23-2011, 07:09 AM   #8
nenpa8lo
Member
 
Registered: Oct 2008
Location: Ireland
Distribution: Slackware 13.0, Slackware 13.37
Posts: 68

Original Poster
Blog Entries: 2

Rep: Reputation: 18
Updated kernel to 2.6.39.4... still nothing, installed v4l but can't see it when lsmod - why?
guvcview fails big time, constantly requires some other packages - gave up after installing other 5 that it depends on.
 
Old 10-25-2011, 05:03 AM   #9
nenpa8lo
Member
 
Registered: Oct 2008
Location: Ireland
Distribution: Slackware 13.0, Slackware 13.37
Posts: 68

Original Poster
Blog Entries: 2

Rep: Reputation: 18
Installed S13.37 (was going to do that anyway) and Logitech Webcam C510 worked out of the box!
 
Old 10-25-2011, 06:54 AM   #10
anscal
Member
 
Registered: Apr 2011
Distribution: Slackware, RHEL
Posts: 31

Rep: Reputation: 15
I seem to remember having to preload libv4l2convert.so, with skype, the same webcam and slackware 13.0. I will check in a few hours if you are still interested

Last edited by anscal; 10-25-2011 at 06:55 AM.
 
Old 10-25-2011, 06:05 PM   #11
nenpa8lo
Member
 
Registered: Oct 2008
Location: Ireland
Distribution: Slackware 13.0, Slackware 13.37
Posts: 68

Original Poster
Blog Entries: 2

Rep: Reputation: 18
Sure I want to be able to run webcam in both distros
 
Old 10-27-2011, 03:08 AM   #12
anscal
Member
 
Registered: Apr 2011
Distribution: Slackware, RHEL
Posts: 31

Rep: Reputation: 15
FWIW, I checked my old Aspire One + C510, slackware 13.0 + skype 2.1.x and libv4l2convert.so preloaded, it works fine.

However, I remeber having once to wipe out my .Skype dir (warning: it includes personal data which one may want to backup) because otherwise no webcam would be detected. But it occurred only once. Somehow something got corrupted there.

Also, I had problems powering on the netbook with the cam already plugged in (no uvcvideo loaded). But powering on on and *then* plugging it in always worked.

Last edited by anscal; 10-27-2011 at 03:11 AM.
 
  


Reply



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
[SOLVED] Logitech webcam not working with Skype in laptop in HP compaq nx9010, distro UNR teboil12 Linux - Hardware 7 11-24-2011 02:14 PM
Getting a logitech webcam working with newest Skype Client shadogamon Linux - Hardware 2 05-06-2011 04:26 AM
Logitech C200 webcam + Skype High-gain Mandriva 3 10-30-2010 05:33 AM
Skype with webcam Logitech Quickcam Pro for Notebooks setup instructions becki Slackware 1 09-05-2008 04:39 PM
Skype/Logitech USB Headseat cirehawk Linux - Hardware 1 05-01-2005 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:52 PM.

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