I’m using Manjaro, and my system information is given below:
OS: Manjaro Linux x86_64
Host: HP Pavilion Notebook
Kernel: 5.10.42-1-MANJARO
Uptime: 18 hours, 2 mins
Packages: 1586 (pacman), 11 (snap)
Shell: zsh 5.8
Resolution: 1366x768
WM: Mutter
WM Theme: Matcha-dark-sea
Theme: Adwaita [GTK2], Matcha-sea [GTK3]
Icons: Adwaita [GTK2], Papirus-Dark-Maia [GTK3]
Terminal: gnome-terminal
CPU: Intel i7-7500U (4) @ 3.500GHz
GPU: NVIDIA GeForce 940MX
GPU: Intel HD Graphics 620
Memory: 3698MiB / 7844MiB
I had manually added an entry for a webcam that doesn’t actually exist. (I was trying to use my phone’s camera as the secondary webcam.) My device already has a webcam built-in. And you can see the output for the commands below:
[noob@laptop ~]$ ls -ltrh /dev/video*
crw-rw----+ 1 root video 81, 0 Jul 11 12:30 /dev/video0
crw-rw----+ 1 root video 81, 2 Jul 11 12:30 /dev/video2
crw-rw----+ 1 root video 81, 1 Jul 11 12:30 /dev/video1
[noob@laptop ~]$ v4l2-ctl --list-devices
Droidcam (platform:v4l2loopback_dc-000):
/dev/video0
HP Wide Vision HD: HP Wide Visi (usb-0000:00:14.0-3):
/dev/video1
/dev/video2
[noob@laptop ~]$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0aa7 Intel Corp. Wireless-AC 3168 Bluetooth
Bus 001 Device 003: ID 05c8:038e Cheng Uei Precision Industry Co., Ltd (Foxlink) HP Wide Vision HD integrated webcam
Bus 001 Device 005: ID 248a:8514 Maxxter Wireless Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The webcam, named Droidcam, does appear in every situation where I can choose a webcam, and it works fine. However, I want to remove the entry for that webcam I added and don’t want to see it anywhere either.
I don’t know if I’m right about this, but the built-in webcam seems to be denoted by 1 and Droidcam by 0. I want to make the built-in webcam denoted by 0 again, as it had been in the default state.
All in all, I want to reset the webcam related environment similar to stock and delete all manual entries added by me.