For plug-unplug a USB device without phisically connect-disconnect the USB device ( the first command unplug while the last reconnect the device ):
echo 0 > /sys/bus/usb/devices/2-2/authorized
echo 1 > /sys/bus/usb/devices/2-2/authorized
For plug-unplug a USB device without phisically connect-disconnect the USB device ( the first command unplug while the last reconnect the device ):
echo 0 > /sys/bus/usb/devices/2-2/authorized
echo 1 > /sys/bus/usb/devices/2-2/authorized