Adding the following to `/etc/pm/sleep.d/20_custom-xhci_hcd` worked for me:
``` #!/bin/sh # File: "/etc/pm/sleep.d/20_custom-xhci_hcd".
case "${1}" in hibernate|suspend) # Unbind xhci_hcd devices echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/unbind ;; resume|thaw) # Bind xhci_hcd devices echo -n "0000:00:14.0" | tee /sys/bus/pci/drivers/xhci_hcd/bind ;; esac ```
Adding the following to `/etc/pm/ sleep.d/ 20_custom- xhci_hcd` worked for me:
``` sleep.d/ 20_custom- xhci_hcd" .
#!/bin/sh
# File: "/etc/pm/
case "${1}" in suspend) pci/drivers/ xhci_hcd/ unbind pci/drivers/ xhci_hcd/ bind
hibernate|
# Unbind xhci_hcd devices
echo -n "0000:00:14.0" | tee /sys/bus/
;;
resume|thaw)
# Bind xhci_hcd devices
echo -n "0000:00:14.0" | tee /sys/bus/
;;
esac
```