You are not logged in.
Pages: 1
looking for ways to disable my usb webcam. seems the most popular method i came across is to blacklist the uvcvideo module. but i dont want to have to reboot.
then i came across this suggestion and it looked promising.
echo 0 | sudo tee /sys/devices/pci0000:00/0000:00:14.0/usb2/2-9/2-9.2/2-9.2:1.2/authorizedthis does turn off the usb port the camera is connected to. however, it does not turn back on with
echo 1 | sudo tee /sys/devices/pci0000:00/0000:00:14.0/usb2/2-9/2-9.2/2-9.2:1.2/authorizedseems like it should work.
Last edited by callmejoe (2020-04-17 14:23:30)
Offline
You might have to re-bind the device, https://unix.stackexchange.com/question … usb-device
Offline
You might have to re-bind the device, https://unix.stackexchange.com/question … usb-device
yes that was it. thanks for the help!
To disconnect USB :
echo '1-1.2' | tee /sys/bus/usb/drivers/usb/unbind
To connect USB :
echo '1-1.2' | tee /sys/bus/usb/drivers/usb/bindOffline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline
Pages: 1