You are not logged in.
Pages: 1
on the mentioned machine sleep doesn't work out of the box.
to fix it add a custom sleep script to /etc/pm/sleep.d/
you can call it "20_custom-ehci" for example:
#!/bin/sh
# File: "/etc/pm/sleep.d/20_custom-ehci_hcd".
# Found matsching adresses using "lspci |grep USB":
#00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
#00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
#03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
case "${1}" in
hibernate|suspend)
# Unbind ehci_hcd/xhci_hcd devices
echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
echo -n "0000:03:00.0" | tee /sys/bus/pci/drivers/xhci_hcd/unbind
;;
resume|thaw)
# Bind ehci_hcd/xhci_hcd devices
echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
echo -n "0000:03:00.0" | tee /sys/bus/pci/drivers/xhci_hcd/bind
;;
esac
#EoF
source:
http://community.linuxmint.com/hardware/view/8922
i hope this will save somebody some time searching the web
best regards,
marijus
EDIT: typo
Last edited by marijus (2012-04-21 17:53:51)
Offline
probably better and more native way is to add:
SUSPEND_MODULES="ehci_hcd xhci_hcd"
to /etc/pm/config.d/module
source: https://wiki.archlinux.org/index.php/Pm … end_to_RAM
If the file doesn't exist you can just create it
regards, marijus
EDIT: typo
Last edited by marijus (2012-04-21 17:55:46)
Offline
Pages: 1