Hello, The reason this does not work is because the Pi does not actually cut the power from the USB port, it cuts the data signal. You can only cut the power from all USB ports including the Ethernet port. This is the way exactly as I found it elsewhere:
To shut off power on USB ports (this shuts power on ethernet as well): echo '1-1' |sudo tee /sys/bus/usb/drivers/usb/unbind To turn power back on echo '1-1' |sudo tee /sys/bus/usb/drivers/usb/bind Network functions and USB drivers appear to recover just fine after turning power back on. Alex. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.