I do have an inbuiltwebcam in my laptop, but I ve bought one Logitech c270 for my college project purpose. Everytime I m trying to open my externally added webcam, it starts the inbuilt webcam. How to enable my external webcam in my laptop having ubuntu 18.04?? plse help
22 Answers
It depends on your program.
I am like cheese f.ex. just install with:sudo apt install cheese
Than take a look how it works with:cheese --help
[...]-d, --device=DEVICE Device to use as a camera
[...]
(--help or -h should work with any program. If you're in any GUI search for 'Help' in the menu bar)
All possible devices can be seen with ls -ltrh /dev/video* and it starts with 0 (your internal cam). The external cam should be available with:cheese -d /dev/video1 (of course depending on the other system configurations)
- If this is too much, just disable the internal cam in your Laptop BIOS (the steps depends on your device).
- If you'd like to have a cool solution, may you'd like to write an
udev-rule for the permanent reorder. - Something in between is to find and unload the kernel driver ... but this needs to have two different camera chips/drivers. And when you'll start to write in
/etc/modprobe.d/(for example inblacklist), it could be easier for us to support theudev-thing.
You can confirm with lsusb that it doesn't need to be installed.
On Ubuntu 21.04 I plugged the c270 Logitech camera in. Then checked that it was mounted:
$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 007: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 003 Device 005: ID 04f2:b724 Chicony Electronics Co., Ltd Integrated
...Then, in Zoom and Slack, in preferences and video set up it allows you to choose which camera from a pull down. In both programs, my camera was one of the choices.