I have an integrated webcam in my laptop. I know that it works and that ubuntu recognized it because at installation it asked if I wanted a photo taken for some kind of image associated with my account. When I look in system settings, I do not see any webcam in the hardware section. I would like to disable the webcam like you can do in Windows, but as I can't find it in my hardware section, how can I disable it? I cannot even unplug it as it is integrated into the monitor. Am I looking in the wrong place?? I am using 12.04
Ubuntu – How to disable the webcam
webcam
Best Answer
Run:
Add
at the bottom. Save the file and quit the text editor.
Regarding the comment:
Find the vendor and device id for the webcam with
lsusb
:Next ...
Do a "grep" on the vendor id and product id:
and
1-1
is what you need.cd
into1-1
.The file
bConfigurationValue
in this directory needs to contain a0
to disable the device or a1
to enable it. But this file is owned by root so to alter it (change the 0 to a 1 to enable) ...to disable. You can check the camera and it will be disabled.
This is not permanent yet. A reboot will set it back to what is was before. To make it permanent:
(where
1-1
is the directory we used and use a1
to enable)