Old Logitech webcam works fine in Windows 10 but not on Linux
by joeyx from LinuxQuestions.org on (#5NGN0)
Hi, im trying to make the webcam work. It doesn't power up when a program requests it. The only way I've made it work is if I run this command requested here:
https://community.jitsi.org/t/old-we...-drivers/38033
I ran this command:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so /usr/bin/firefox
Then opened a website to test the camera and it detected it and powered up. However, the default settings for the cam are so bad. Brightness and contrast is all over the place, I want to use Webcamoid to tweak and I also want to be able to have a blank image when I go afk in calls but it wouldn't work. When I open it, I get this error:
Code:Segmentation faultWith "sudo webcamoid" I get this:
Code:QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'I've found this link where someone had the same error:
https://github.com/webcamoid/webcamoid/issues/142
I think they point to deleting some line of code somewhere and recompiling but the link there doesn't work. Also that's from years ago so should be fixed by now.
I have no idea how to go about this. I just would like to get the camera working, adjust the settings like I can do on Windows, and use Webcamoid to have a static image when I need to. Would like to know if someone can come up with a solution. Before I found the "LD_PRELOAD" method I just assumed the drivers are ancient and it wouldn't work but it does work, so there should be a way to get this setup.
Details:
Distro: Elementary 5.1 stable
Camera: ID 046d:092f Logitech, Inc. QuickCam Express Plus
I've tried installing Webcamoid by "sudo apt install webcamoid" as well as using the installer, appimage, portable. The daily build as well. There's no way to open this program as it stands.
https://community.jitsi.org/t/old-we...-drivers/38033
I ran this command:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so /usr/bin/firefox
Then opened a website to test the camera and it detected it and powered up. However, the default settings for the cam are so bad. Brightness and contrast is all over the place, I want to use Webcamoid to tweak and I also want to be able to have a blank image when I go afk in calls but it wouldn't work. When I open it, I get this error:
Code:Segmentation faultWith "sudo webcamoid" I get this:
Code:QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'I've found this link where someone had the same error:
https://github.com/webcamoid/webcamoid/issues/142
I think they point to deleting some line of code somewhere and recompiling but the link there doesn't work. Also that's from years ago so should be fixed by now.
I have no idea how to go about this. I just would like to get the camera working, adjust the settings like I can do on Windows, and use Webcamoid to have a static image when I need to. Would like to know if someone can come up with a solution. Before I found the "LD_PRELOAD" method I just assumed the drivers are ancient and it wouldn't work but it does work, so there should be a way to get this setup.
Details:
Distro: Elementary 5.1 stable
Camera: ID 046d:092f Logitech, Inc. QuickCam Express Plus
I've tried installing Webcamoid by "sudo apt install webcamoid" as well as using the installer, appimage, portable. The daily build as well. There's no way to open this program as it stands.