This guide outlines a safe, Ubuntu-only approach for physically powering off a USB camera by
switching power at the USB port. The most reliable method is to use a hub that supports per-port
power control and the uhubctl utility.
uhubctl talks to compatible USB hubs and root hubs that support port power switching.
When supported, it cuts power to the specific USB port.