![]() What is the simplest and most reliable way to enable wakeup for a specific USB keyboard or mouse, on a modern systemd-based Linux distribution? As of 2020, GNOME seems to lack user-friendly configuration for wake-on-USB on Windows, this is accessible from the Power Management tab of the device's hardware properties. Researching this problem turns up lots of outdated advice (systemd became Debian's default init system in 2015), as well as questions about suspend itself being broken over the years. Using /etc/rc.local is discouraged on systemd-based distributions like Debian, Ubuntu, Arch and Fedora. ![]() I found the question Wake up from suspend using wireless USB keyboard or mouse (for any Linux Distro) on the Ubuntu Stack Exchange, which explains how to identify the correct device in /sys/bus/usb/devices and use /etc/rc.local to apply the correct configuration on boot.Īll of this seems pretty complicated, difficult to remember, and error-prone. sys/bus/usb/devices/*/power/wakeup, I can see that wakeup is disabled for all USB devices. ![]() ![]() The initial value in the power/wakeup file is “disabled” for the majority of devices the major exceptions are power buttons, keyboards, and Ethernet adapters whose WoL (wake-on-LAN) feature has been set up with ethtool. The Linux kernel documentation describes how /sys/devices/./power/wakeup files control whether or not a device is supposed to signal system wakeup. I want to use my USB keyboard, which works by default on Windows. ![]() However, I have to press the power button to wake the computer from suspend. By default, GNOME's automatic suspend option is enabled and it works as expected. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |