Disabling integrated laptop camera

Operating System: Manjaro Linux 
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.7
Kernel Version: 6.1.0-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070/PCIe/SSE2
Manufacturer: HP
Product Name: OMEN by HP Laptop 17-cb1xxx

I want to disable the laptop integrated camerand mic, but at the same time be able to use a USB webcam as the default.plus allow me to also use a plugin mic.
I do know there is a way of disabling cam through modprobe, but that seems to disable all cams from what is said. I cannot find anything in system settings that seems to do the job.
I want to be able to plug in or remove the USB cam as I want without activating the laptop cam if the USB option is not available.

I haven’t tested myself, but these are what I found:

$ echo <webcam bus id> | sudo tee /sys/bus/usb/drivers/uvcvideo/unbind

you can get the bus id (roughly) from:

$ v4l2-ctl --list-devices

Alternatively, try chmod 000-ing /dev/video*, whichever corresponds to your webcam.


See section 2.4

You might be able to blacklist the device:

#Disabling the webcam device.
blacklist uvcvideo

That will likewise blacklist any uvcvideo device.

disable it in bios/uefi