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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
12-04-2019, 09:25 PM
|
#1
|
LQ Newbie
Registered: Mar 2019
Posts: 20
Rep: 
|
New webcam, black screen on Skype, works on Cheese but is very dark, says only Windows compatible on the box
Hello.
Mint Sylvia 64
gives: ID 093a:2460 Pixart Imaging, Inc. Q-TEC WEBCAM 100
Got Cheese to work after running:
Code:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so fswebcam
but it is very dark. Cheese didn't start out working at all, so... progress?! Not really sure what that did, tbh. Think I needed to upgrade to v4l2 anyhow. Skype still doesn't display anything but black despite finding "CIF Single Chip" for a webcam. Don't really know what's installed and what's been removed as I have tried several fixes.
Quite lost, perpetual newbie here... be gentle. Any help would be inundated with praise and good cheer... and LARGE cash rewards!!! ( <-- Not really.)
Always used my phone to Skype but have lost it (actually, it was stolen - not relevant but GRRRRR anyway) so am trying to do it on my desktop. Never done it here.
ADVthanksANCE!
|
|
|
12-05-2019, 02:49 AM
|
#2
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
|
philwhite,
You may need to install the 32bit libv4l-0 package first and then use the LD_PRELOAD command.
You can edit the
Code:
/usr/share/applications/skype.desktop
file to avoid typing this every time you launch Skype.
https://askubuntu.com/questions/5281...rrible-at-best
https://askubuntu.com/questions/3156...ils-with-skype
Last edited by beachboy2; 12-05-2019 at 02:50 AM.
|
|
|
12-05-2019, 06:57 AM
|
#3
|
LQ Newbie
Registered: Mar 2019
Posts: 20
Original Poster
Rep: 
|
Thanks, that looks promising but I got this as an output:
Code:
~ $ env LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/usr/local/bin/skype: line 2: /usr/bin/skype: No such file or directory
I don't know what an ELF class is. I'm assuming it has nothing to do with learning magic or archery.
|
|
|
12-05-2019, 07:49 AM
|
#4
|
Member
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62
Rep: 
|
Quote:
Originally Posted by beachboy2
|
This guide applies to the old 32-bit Qt version of Skype. It's officially unsupported for a few years, and even patched builds that mimick newer versions seem to actually stop working this April.
Modern Skype is a 64-bit app, a simple Electron wrapper for web.skype.com.
Electron is based on the engine from Chromium browser configured in a special way, so things that work in plain Chromium may not work in Electron. Try to open web.skype.com in Chromium or other Chromium-based browsers (Chrome, Opera, Vivaldi, Yandex.Browser, Falkon, etc.), with and without the hack used for Cheese. web.skype.com also works in Firefox, but requires an add-on that mimicks the user-agent to the one from Chrome.
|
|
|
12-05-2019, 08:02 AM
|
#5
|
LQ Newbie
Registered: Mar 2019
Posts: 20
Original Poster
Rep: 
|
I have Skype installed on my computer so I need not open it from any browser.
It still finds the camera as "CIF Single Chip".
The camera doesn't work on Cheese anymore, either.

|
|
|
12-05-2019, 08:35 AM
|
#6
|
Member
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62
Rep: 
|
Quote:
Originally Posted by philwhite
I have Skype installed on my computer so I need not open it from any browser.
|
Electron apps already have a built-in browser (that's why they're so large). You just have an option to use this all-in-one solution or a separate general-purpose browser.
The binary of Electron Skype should reside in /usr/share/skypeforlinux/skypeforlinux instead of /usr/bin/skype. Did you try to run LD_PRELOAD=/usr/local/lib/libv4l/v4l2convert.so /usr/share/skypeforlinux/skypeforlinux?
|
|
|
12-05-2019, 08:39 AM
|
#7
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
|
philwhite,
If you have no joy with this, have a look at the supported webcams in the Linux UVC drivers list:
http://www.ideasonboard.org/uvc/
I used to have a Logitech E 3500 which worked perfectly in Linux and Skype.
A cheap used one here:
https://www.ebay.co.uk/itm/Logitech-...4AAOSw1mZd480b
Last edited by beachboy2; 12-05-2019 at 08:57 AM.
|
|
|
12-05-2019, 08:47 AM
|
#8
|
LQ Newbie
Registered: Mar 2019
Posts: 20
Original Poster
Rep: 
|
bod,
Quote:
The binary of Electron Skype should reside in /usr/share/skypeforlinux/skypeforlinux instead of /usr/bin/skype
|
I'm getting an unknown file type in here.
Code:
LD_PRELOAD=/usr/local/lib/libv4l/v4l2convert.so /usr/share/skypeforlinux/skypeforlinux
gives me
Code:
ERROR: ld.so: object '/usr/local/lib/libv4l/v4l2convert.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
|
|
|
12-05-2019, 08:52 AM
|
#9
|
LQ Newbie
Registered: Mar 2019
Posts: 20
Original Poster
Rep: 
|
beach,
Yeah, the thing is that I needed something right away, necessity being the mother of wasted resources. If I can't get a workaround, I will get a refund instead and find something better, but if I can get this sorted and it works, maybe somebody else might benefit.
I'll keep looking for a couple more days, but thanks for the recommendation; I will keep it in mind if all else fails.
|
|
|
12-05-2019, 08:55 AM
|
#10
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
|
Some more 3500s here with Buy It Now:
https://www.ebay.co.uk/sch/i.html?_f...fLoc=1&_sop=15
Correct link for supported webcams in the Linux UVC drivers list:
http://www.ideasonboard.org/uvc/
In my experience, webcams and USB wifi adapters in Linux are generally a pain in the backside.
If you find one that works, jump for joy.
Last edited by beachboy2; 12-05-2019 at 09:09 AM.
|
|
|
12-05-2019, 09:13 AM
|
#11
|
Member
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62
Rep: 
|
Quote:
Originally Posted by philwhite
/usr/local/lib/libv4l/v4l2convert.so
|
Oh, sorry; your path is /usr/lib/libv4l/v4l2convert.so, right?
|
|
|
12-05-2019, 09:30 AM
|
#12
|
LQ Newbie
Registered: Mar 2019
Posts: 20
Original Poster
Rep: 
|
I found this list of drivers and my cam appears on it. It recommends I install the spca5xx (experimental) driver:
http://mxhaard.free.fr/spca5xx.html
I found this page with instructions on how to do it:
https://help.ubuntu.com/community/Spca5xx
It mentions the gspca which I did install on a previous attempt.
Does anyone think that this could be useful? It seems rather involved and I don't want to mess anything up. I'm also not sure if this applies to my system. Any advice here would be appreciated.
__________________________________________________
bod,
no, libv41 does not appear in my lib directory.
|
|
|
12-05-2019, 11:09 AM
|
#13
|
Member
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62
Rep: 
|
Quote:
Originally Posted by philwhite
It recommends I install the spca5xx (experimental) driver:
|
The spca5xx driver was included in the upstream kernel a long time ago, so you don't need any actions to make it work if you're running a modern distribution. But it's possible that the wrong driver is used instead. What does lspci|grep spca print?
Quote:
Originally Posted by philwhite
no, libv41 does not appear in my lib directory.
|
Then the libv4l-0 package should be installed first.
|
|
|
12-05-2019, 11:27 AM
|
#14
|
LQ Newbie
Registered: Mar 2019
Posts: 20
Original Poster
Rep: 
|
lspci|grep spca prints nothing.
Is it possible that I uninstalled spca5xx by installing other drivers, or at least moved it down the priority tree?
I installed gspca at one point.
libv4l-0 first, ok.
|
|
|
12-05-2019, 11:42 AM
|
#15
|
Member
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62
Rep: 
|
Quote:
Originally Posted by philwhite
lspci|grep spca prints nothing.
|
So the driver is not even loaded automatically. Try sudo modprobe gspca_pac207
Quote:
Originally Posted by philwhite
libv4l-0 first, ok.
|
Does LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so /usr/share/skypeforlinux/skypeforlinux work now?
|
|
|
All times are GMT -5. The time now is 12:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|