Skip to content

Instantly share code, notes, and snippets.

@ugovaretto
Created March 17, 2020 11:22
Show Gist options
  • Save ugovaretto/37cbd8c6e99dec4aa44d9c7e0cbd6ce8 to your computer and use it in GitHub Desktop.
Save ugovaretto/37cbd8c6e99dec4aa44d9c7e0cbd6ce8 to your computer and use it in GitHub Desktop.
Disable builtin camera
  1. find the Camera entry in dmesg output, use e.g. grep <your camera brand/type> BisonCam in my case Bus 001 Device 002: ID 5986:9102 Acer, Inc BisonCam,NB Pro
  2. use vendor:productid to create entry in script e.g. /etc/udev/rules.d/40-disable-internal-webcam.rules ATTRS{idVendor}=="5986", ATTRS{idProduct}=="9102", RUN="/bin/sh -c 'echo 0 >/sys/$devpath/authorized'"
  3. reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment