I run the following command in the background constantly to check for camera access on Ubuntu Linux:
lsmod | grep ^uvcvideo
I noticed that every time I load into gmail my check is triggering my kernel's camera module. I assume this is just to test it, but I can't be sure. I want to block firefox (or any application of my choosing) from accessing the uvcvideo
module.
To clarify what my command returns normally:
uvcvideo 86016 0
and what happens when I load into gmail:
uvcvideo 86016 1
I think it's just google hangouts asking firefox if I have a camera. Firefox then check if I have one. It happens in any browser.
How can I block a browser/application from using uvcvideo
?
Here is a link to the source code for the tool I detected this with:
uvcvideo
module when I load the page. That is a good temporary fix, but I want a system level solution I can apply so I can still use chat.