In short;
1.) Enable it in your bios
2.) echo DEVNAME > /proc/acpi/wakeup
3.) Correct DEVNAME is found using the following script:
grep "USB.*pci" /proc/acpi/wakeup | cut -d ':' -f 2- | while read aaa; do find /dev/.udev -name "*$aaa*" -print -exec grep "$aaa" /proc/acpi/wakeup \; -exec echo \; ; done
4.) Add cmd(2.)) to /etc/init.d/wakeup
Your wakeup file should look something like this:
5.) Enable wakeup to boot at startup:
update-rc.d wakeup defaults
6.) Done...
Your wakeup file should look something like this:
#!/bin/sh
# Set /proc/acpi/wakeup to allow devices to wake system
# sudo sh -c "echo USBX > /proc/acpi/wakeup"
echo USB4 > /proc/acpi/wakeup5.) Enable wakeup to boot at startup:
update-rc.d wakeup defaults
6.) Done...
Thank you for this guide, it's working perfect :-)
ReplyDeleteThanks for this tip
ReplyDeleteI've tried many a trick but so far
none have resolved this annoying
phenomenon