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 (0)* Fedora 41 (75 downloads)
Fedora 42 x86_64 (9)* Fedora 42 (83 downloads)

* Total number of downloaded packages.