01-13-2020, 05:57 PM
I had serious wakeup problems when I inittially enabled suspend & hibernate on my newish desktop, (AMD x64). Turns out any key press or mouse action would cause the computer to wake up. That was not something I needed, so eventually figured out a startup script to disable this function.
It was this, (wrapped in a statup script);
It was this, (wrapped in a statup script);
Code:
echo -1 >/sys/module/usbcore/parameters/autosuspend
find /sys -type d -name power | grep -i usb | \
while read MY_PW
do
if [ -f ${MY_PW}/control ]; then
echo on >${MY_PW}/control 2>/dev/null
fi
done
--
Arwen Evenstar
Princess of Rivendale
Arwen Evenstar
Princess of Rivendale