LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 12-04-2019, 09:25 PM   #1
philwhite
LQ Newbie
 
Registered: Mar 2019
Posts: 20

Rep: Reputation: Disabled
New webcam, black screen on Skype, works on Cheese but is very dark, says only Windows compatible on the box


Hello.
Mint Sylvia 64
Code:
lsusb
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!
 
Old 12-05-2019, 02:49 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,012
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
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.
 
Old 12-05-2019, 06:57 AM   #3
philwhite
LQ Newbie
 
Registered: Mar 2019
Posts: 20

Original Poster
Rep: Reputation: Disabled
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.
 
Old 12-05-2019, 07:49 AM   #4
bodqhrohro
Member
 
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62

Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
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
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.
 
Old 12-05-2019, 08:02 AM   #5
philwhite
LQ Newbie
 
Registered: Mar 2019
Posts: 20

Original Poster
Rep: Reputation: Disabled
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.
 
Old 12-05-2019, 08:35 AM   #6
bodqhrohro
Member
 
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62

Rep: Reputation: Disabled
Quote:
Originally Posted by philwhite View Post
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?
 
Old 12-05-2019, 08:39 AM   #7
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,012
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
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.
 
Old 12-05-2019, 08:47 AM   #8
philwhite
LQ Newbie
 
Registered: Mar 2019
Posts: 20

Original Poster
Rep: Reputation: Disabled
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.
 
Old 12-05-2019, 08:52 AM   #9
philwhite
LQ Newbie
 
Registered: Mar 2019
Posts: 20

Original Poster
Rep: Reputation: Disabled
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.
 
Old 12-05-2019, 08:55 AM   #10
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,012
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
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.
 
Old 12-05-2019, 09:13 AM   #11
bodqhrohro
Member
 
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62

Rep: Reputation: Disabled
Quote:
Originally Posted by philwhite View Post
/usr/local/lib/libv4l/v4l2convert.so
Oh, sorry; your path is /usr/lib/libv4l/v4l2convert.so, right?
 
Old 12-05-2019, 09:30 AM   #12
philwhite
LQ Newbie
 
Registered: Mar 2019
Posts: 20

Original Poster
Rep: Reputation: Disabled
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.
 
Old 12-05-2019, 11:09 AM   #13
bodqhrohro
Member
 
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62

Rep: Reputation: Disabled
Quote:
Originally Posted by philwhite View Post
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 View Post
no, libv41 does not appear in my lib directory.
Then the libv4l-0 package should be installed first.
 
Old 12-05-2019, 11:27 AM   #14
philwhite
LQ Newbie
 
Registered: Mar 2019
Posts: 20

Original Poster
Rep: Reputation: Disabled
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.
 
Old 12-05-2019, 11:42 AM   #15
bodqhrohro
Member
 
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62

Rep: Reputation: Disabled
Quote:
Originally Posted by philwhite View Post
lspci|grep spca prints nothing.
So the driver is not even loaded automatically. Try sudo modprobe gspca_pac207

Quote:
Originally Posted by philwhite View Post
libv4l-0 first, ok.
Does LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so /usr/share/skypeforlinux/skypeforlinux work now?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Webcam is working with Cheese but not with Skype MrsOnOct3 Linux - Newbie 13 02-08-2013 05:57 AM
[SOLVED] My webcam works with UCView but does not work with Cheese or Skype rmknox Linux - Newbie 6 09-29-2012 08:00 PM
Webcam Works under Cheese but not under Skype, help!!!! mstjohn1974 Linux - Hardware 4 08-07-2009 07:59 AM
WEBCAM: Stickam shows black screen when Cheese shows cam 449 Linux - Software 16 08-04-2009 03:23 AM
Help? Ubuntu dmesg seems to see my PD1030 but Cheese and Skype do not: dude439 Linux - Newbie 3 08-03-2009 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:47 AM.

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