(Wireless) USB keyboard / mouse doesn't wake up device

wireless USB keyboard / mouse doesn’t wake up the device from sleep. I don’t think being wireless is the case as it uses USB dongle.

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ grep . /sys/bus/usb/devices/*/power/wakeup
/sys/bus/usb/devices/2-1/power/wakeup:enabled
/sys/bus/usb/devices/4-1/power/wakeup:disabled
/sys/bus/usb/devices/5-2/power/wakeup:disabled
/sys/bus/usb/devices/usb1/power/wakeup:disabled
/sys/bus/usb/devices/usb2/power/wakeup:disabled
/sys/bus/usb/devices/usb3/power/wakeup:disabled
/sys/bus/usb/devices/usb4/power/wakeup:disabled
/sys/bus/usb/devices/usb5/power/wakeup:disabled

below commands solve the problem (based an online guide):

# echo enabled > /sys/bus/usb/devices/5-1/power/wakeup
# echo enabled > /sys/bus/usb/devices/5-2/power/wakeup
# 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

Could be a setting in your bios, you should have a look in there.

i just have the same issue… suspending my machine and was not able to use the mouse or keyboard to wake up… just got my power bill and after seeing that we have over 1000kw/h more than last year… i was checking on power-savings all over the house :wink:

but afaik these settings will not survive reboots?