Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
My webcam is not working. On Windows 10 it works fine, no problems. lsusb shows no webcam. Cheese says there is an error. Guvcview also runs without luck.
I am running Ubuntu 20.04 LTS. I am new to Ubuntu so my webcam has never worked, as far as I know.
This is a laptop, model ThinkPad X1 Tablet G2. It is an integrated webcam (model Intel(R) AVStream Camera 2500)
Below are some outputs of various commands (I have asked for help elsewhere, but nobody has been able to fix my problem):
Output of ls -lah /dev/video*:
Code:
crw-rw----+ 1 root video 81, 0 nov. 1 21:00 /dev/video0
crw-rw----+ 1 root video 81, 1 nov. 1 21:00 /dev/video1
crw-rw----+ 1 root video 81, 14 nov. 1 21:00 /dev/video10
crw-rw----+ 1 root video 81, 15 nov. 1 21:00 /dev/video11
crw-rw----+ 1 root video 81, 16 nov. 1 21:00 /dev/video12
crw-rw----+ 1 root video 81, 17 nov. 1 21:00 /dev/video13
crw-rw----+ 1 root video 81, 2 nov. 1 21:00 /dev/video2
crw-rw----+ 1 root video 81, 3 nov. 1 21:00 /dev/video3
crw-rw----+ 1 root video 81, 8 nov. 1 21:00 /dev/video4
crw-rw----+ 1 root video 81, 9 nov. 1 21:00 /dev/video5
crw-rw----+ 1 root video 81, 10 nov. 1 21:00 /dev/video6
crw-rw----+ 1 root video 81, 11 nov. 1 21:00 /dev/video7
crw-rw----+ 1 root video 81, 12 nov. 1 21:00 /dev/video8
crw-rw----+ 1 root video 81, 13 nov. 1 21:00 /dev/video9
Output of lsusb:
Code:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0a2b Intel Corp.
Bus 001 Device 004: ID 17ef:60a3 Lenovo ThinkPad X1 Tablet Thin Keyboard Gen 2
Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 1199:9079 Sierra Wireless, Inc. Sierra Wireless EM7455 Qualcomm Snapdragon X7 LTE-A
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
(There is no function key on my keyboard showing a camera)
Thanks a lot!
Last edited by Knut07; 11-10-2021 at 07:05 AM.
Reason: added webcam model
I don't see a webcam in the output of lsusb. 8087:0a2b is Bluetooth interface. If the cam were indeed connected internally via USB bus, I'd expect the kernel driver uvcvideo to work with it.
I don't see a webcam in the output of lsusb. 8087:0a2b is Bluetooth interface. If the cam were indeed connected internally via USB bus, I'd expect the kernel driver uvcvideo to work with it.
But I don't think installing the driver will help you. As I said there's no webcam in the output of lsusb. Moreover, here is a hardware probe of Lenovo ThinkPad X1 2nd gen, and it's not obvious to me, what is a webcam there if any. And here is a similar thread @forum.manjaro.org. The advice there was to find a switch to activate the camera (like e.g. Fn+Space activates the keyboard backlight) or to load the firmware.
Besides USB webcams, there used to be parallel port webcams and FireWire webcams. Although it would be highly unusual if the internal webcam were connected over anything but USB. Anyway, try to locate your camera in the output of dmesg.
Actually, ThinkPad X1 2nd Gen specs list two cameras:
Quote:
Front camera: 2.0-megapixel, fixed focus
Rear camera: 8.0-megapixel, auto focus, flash LED
But I don't think installing the driver will help you. As I said there's no webcam in the output of lsusb. Moreover, here is a hardware probe of Lenovo ThinkPad X1 2nd gen, and it's not obvious to me, what is a webcam there if any. And here is a similar thread @forum.manjaro.org. The advice there was to find a switch to activate the camera (like e.g. Fn+Space activates the keyboard backlight) or to load the firmware.
Besides USB webcams, there used to be parallel port webcams and FireWire webcams. Although it would be highly unusual if the internal webcam were connected over anything but USB. Anyway, try to locate your camera in the output of dmesg.
Actually, ThinkPad X1 2nd Gen specs list two cameras:
Sadly, nothing here was able to help me, I do not have a function key with a camera symbol or anything on the keyboard. It's such a mystery, why does it not work... when it works on Windows ??!!
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
I've also got a couple of webcams which don't work with Linux. However, I DO have one which I picked up at the local Asda/Walmart (at the time!) store for about £6.00. USB, very cheap! It seems to work fine though the resolution's not too great. I use it so I can remotely monitor what my 3D printer is doing via my Smartphone. The camera is connected to a Raspberry Pi running Octoprint, the Pi and the phone being on the same LAN.
Maybe you should invest in a cheap USB camera? Don't pick one with a built in microphone though,as it might not work.
I've also got a couple of webcams which don't work with Linux. However, I DO have one which I picked up at the local Asda/Walmart (at the time!) store for about £6.00. USB, very cheap! It seems to work fine though the resolution's not too great. I use it so I can remotely monitor what my 3D printer is doing via my Smartphone. The camera is connected to a Raspberry Pi running Octoprint, the Pi and the phone being on the same LAN.
Maybe you should invest in a cheap USB camera? Don't pick one with a built in microphone though,as it might not work.
Hope this helps!
Play Bonny!
Thanks for the tips! Though I would like this to be last resort... but yeah it does seem like maybe my camera is not supported :/ My PC also only has ONE USB port, which I use for the bluetooth reciever of my mouse, so... it's not ideal with a USB camera
1. Only 1 USB? connect an USB port extension 1-> x(3..4?).
2. If you really dont see anything in DMESG (dmesg | grep "video"), boot under windows10 and let us know the model of your camera you will read from your system.
1. Only 1 USB? connect an USB port extension 1-> x(3..4?).
2. If you really dont see anything in DMESG (dmesg | grep "video"), boot under windows10 and let us know the model of your camera you will read from your system.
Edited the post to say my webcam model, its Intel(R) AVStream Camera 2500.
It's unfortunate that the manufacturers of some equipment just try to do as little as possible: they somehow get it to work on the then-latest version of Microsoft Windows® and they stop there. The packaging looks impressive, but, even to a Windows user, the device is nothing but trouble.
Look very carefully at the box to see what OSes, and what versions thereof, the device claims to be compatible with, and for any suggestion of what you'll have to do upon installation to get it to work with that OS. The "least expensive option" might just be a pain in the "*".
A well-engineered product should support all of the current cross-platform standards and should work with a variety of systems – specifically including Linux – with a minimum of fuss. As a Linux user, they might not tell you what drivers you need to install on your particular machine, but ... that's what LQ is for!
Last edited by sundialsvcs; 11-10-2021 at 08:16 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.