nogunix/usb-wakeup-blocker
Project ID: 193185
Description
A script and systemd service to precisely control which devices can wake a Linux system from sleep.
Installation Instructions
sudo dnf copr enable nogunix/usb-wakeup-blocker
sudo dnf install usb-wakeup-blocker
Quick Start (default: block only mice)
sudo systemctl enable --now usb-wakeup-blocker.service
Check that the service is running:
sudo systemctl status usb-wakeup-blocker.service
Example output:
● usb-wakeup-blocker.service - USB wakeup blocker
Loaded: loaded (/usr/lib/systemd/system/usb-wakeup-blocker.service; enabled; preset: enabled)
Active: active (exited) since Thu 2024-01-01 00:00:00 UTC; 1s ago
You're done ✅ — your mouse can no longer wake the system, but your keyboard still works as before.
Active Releases
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
| Release | Architectures | Repo Download |
|---|---|---|
Fedora 41
|
x86_64 (2)* | Fedora 41 (89 downloads) |
Fedora 42
|
x86_64 (15)* | Fedora 42 (100 downloads) |
Fedora 43
|
x86_64 (6)* | Fedora 43 (5 downloads) |
* Total number of downloaded packages.
Quick Enable
#> dnf copr enable nogunix/usb-wakeup-blocker
More info about enabling Copr repositories
Fedora 41