sudo gedit /etc/udev/rules.d/90-keyboardwakeup.rules

#idVendor and idProduct taken from 'lsusb'
SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52e" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"

Leave a Reply

Your email address will not be published. Required fields are marked *