Created
March 26, 2025 21:06
-
-
Save lvnilesh/a29c613f28c08b386849dc9ad2f2ee07 to your computer and use it in GitHub Desktop.
wakeup rules to wake linux up when using keyboard or mouse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# touch /etc/udev/rules.d/10-wakeup.rules | |
``` | |
lsusb | |
Bus 001 Device 021: ID 046d:c548 Logitech, Inc. Logi Bolt Receiver | |
``` | |
046d:c548 | |
``` | |
cat 10-wakeup.rules | |
# /etc/udev/rules.d/10-wakeup.rules | |
ACTION=="add", \ | |
SUBSYSTEM=="usb", \ | |
ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c548", \ | |
ATTR{power/wakeup}="enabled" | |
``` | |
https://askubuntu.com/questions/848698/wake-up-from-suspend-using-usb-device/1027058#1027058 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment