diff options
author | Vasudev Kamath <vasudev@copyninja.info> | 2018-03-03 20:53:44 +0530 |
---|---|---|
committer | Vasudev Kamath <vasudev@copyninja.info> | 2018-03-03 20:53:44 +0530 |
commit | 0bb6fcbcb28d4e1e5a71b1122cb4c0f07cb8a0f5 (patch) | |
tree | 8aca6f3e5987c832569e1a701e865632796ea50c | |
parent | bc197fc82aaad1f384ece28447a0391662de8025 (diff) |
A bug observed before which was disabling xhci devices.
-rwxr-xr-x | reenable_xhci_hcd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/reenable_xhci_hcd b/reenable_xhci_hcd new file mode 100755 index 0000000..e0e1c6f --- /dev/null +++ b/reenable_xhci_hcd @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e +if [ $(id -u) -ne 0 ]; then + echo "You need to be root to execute this script" + exit 1 +fi + +modprobe -r xhci_pci +modprobe -r xhci_hcd +modprobe xhci_hcd +modprobe xhci_pci |