XHCI (USB 3.0) kernel Module Prevents Suspend SL6

I have a HP Elitebook 8460p , and the following works flawlessly for me:

1) As root create /etc/pm/sleep.d/20_custom-xhci_hcd with the following contents:

#!/bin/sh
# File: “/etc/pm/sleep.d/20_custom-xhci_hcd”.
TMPLIST=/tmp/xhci-dev-list

case “${1}” in
 hibernate|suspend)
    echo -n ” > $TMPLIST
          for i in `ls /sys/bus/pci/drivers/xhci_hcd/ | egrep ‘[0-9a-z]+:[0-9a-z]+:.*$’`; do
              # Unbind xhci_hcd for first device XXXX:XX:XX.X:
               echo -n “$i” | tee /sys/bus/pci/drivers/xhci_hcd/unbind
           echo “$i” >> $TMPLIST
          done
        ;;
 resume|thaw)
    for i in `cat $TMPLIST`; do
              # Bind xhci_hcd for first device XXXX:XX:XX.X:
              echo -n “$i” | tee /sys/bus/pci/drivers/xhci_hcd/bind
    done
    rm $TMPLIST
        ;;
esac

2) chmod 755 /etc/pm/sleep.d/20_custom-xhci_hcd

Powered by Dale Lukas Peterson (hazelnusse) at bugs

Leave a Reply

Your email address will not be published. Required fields are marked *