You are not logged in.
I'm having a hell of a time getting my computer to suspend properly.
The ubuntu forums led me to the following script...
http://ubuntuforums.org/showthread.php?t=1460790
#!/bin/sh
# File: "/etc/pm/sleep.d/20_custom-ehci_hcd".
case "${1}" in
hibernate|suspend)
# Unbind ehci_hcd for first device 0000:00:1a.0:
echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
# Unbind ehci_hcd for second device 0000:00:1d.0:
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
;;
resume|thaw)
# Bind ehci_hcd for first device 0000:00:1a.0:
echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
# Bind ehci_hcd for second device 0000:00:1d.0:
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
;;
esac
Unfortunately I still fail to susend, even with this. The problem is that the file isn't being run properly. Running the unbinds/rebinds manually as root will cause susend to work quickly and flawlessly, but if I try to automate it, it breaks. Anyone have any tips?
Offline
Did you make it executable?
Also have a look at: https://wiki.archlinux.org/index.php/ASUS_N53JN#Suspend
Offline