Wake up from suspend using wireless USB keyboard or mouse (for any Linux Distro) - Ask Ubuntu


i looking hours, maybe more, solution , found it. want share everyone. way easier googling problem find solution faster. so, title says, below solution.

hit in terminal:

grep . /sys/bus/usb/devices/*/power/wakeup 

the result, me, find out usb disabled. now, type:

1.

sudo su 

we have root privillages.

2.i have 8 usb ports (you many usb ports have) ,so:

echo enabled > /sys/bus/usb/devices/usb1/power/wakeup echo enabled > /sys/bus/usb/devices/usb2/power/wakeup echo enabled > /sys/bus/usb/devices/usb3/power/wakeup echo enabled > /sys/bus/usb/devices/usb4/power/wakeup echo enabled > /sys/bus/usb/devices/usb5/power/wakeup echo enabled > /sys/bus/usb/devices/usb6/power/wakeup echo enabled > /sys/bus/usb/devices/usb7/power/wakeup echo enabled > /sys/bus/usb/devices/usb8/power/wakeup 

go ahead , test it. can wake wireless or wired usb keyboard , mouse.

so then, reason must enable of them, because in next step, write in rc.local execute command after every reboot, , after reboot linux distros (maybe all) change usb ports. we don't have worry going wrong enabling of them, since linux in suspend or hibernation, can't use wifi download anything, won't wake without wake on purpose.

next step:

3.

sudo nano /etc/rc.local 

and paste step 2. in there (before exit 0 of course).

that's it. on can use our wireless usb , mouse wake suspend.

i hope works of you. guide made after testing other possible solutions around internet.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User