SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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?
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.
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?
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.