Skip to content

Instantly share code, notes, and snippets.

@defel
Created October 30, 2015 18:31
Show Gist options
  • Save defel/3d2c68a1696a43b8d4eb to your computer and use it in GitHub Desktop.
Save defel/3d2c68a1696a43b8d4eb to your computer and use it in GitHub Desktop.
#!/bin/bash
# see http://www.linux.org/threads/resetting-the-usb-subsystem.6256/
cd /sys/bus/pci/drivers/xhci_hcd/
echo "0000:00:14.0" > unbind
echo "0000:00:14.0" > bind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment