How to turn off and on the power to the usb port on ubuntu 16?
How to turn off and on the power to the usb port on ubuntu 16? at the same time, the port is empty (the LED lamp is connected there and it is not detected)
the kernel must be built with the CONFIG_USB_SUSPEND option
echo suspend > /sys/bus/usb /devices/device number/power/level
echo on > /sys/bus/usb /devices/device number/power/level