Created
January 20, 2022 14:15
-
-
Save atcasanova/ef3f0537c5db62e0e8306e3463674c0b to your computer and use it in GitHub Desktop.
Disable integrated webcam on linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for device in $(ls /sys/bus/usb/devices/*/product); do | |
echo "$device: "| cut -f6 -d/ | tr '\n' ' '; cat $device; | |
done | |
locate the identifier for your device and: | |
echo '1-5' | sudo tee /sys/bus/usb/drivers/usb/unbind | |
where 1-5 is the identifier | |
to enable it again: | |
echo '1-5' | sudo tee /sys/bus/usb/drivers/usb/bind | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment