This is related to the issue discussed in Wireless mouse temporarily freezes (sleeps) on battery power.
Summary: the mouse freezes when operating on battery since it is autosuspended after a certain time and needs more time to wake up.
Disabling USB autosuspend for the mouse's receiver in PowerTOP is a temporary solution, but it does not survive a reboot.
How can I permanently disable the USB autosuspend for only one specific device?
A solution that does not involve installing additional packages is preferred (after all, I want to disable something), but it is not required. Removing PowerTOP (which seems to be a solution for some) is not what I want - I like PowerTOP...
And installing laptop-mode-tools
to disable USB autosuspend altogether is not what I want, either, thus the new question.
Also: Will this affect the battery of my notebook? The Logitech unifying receiver for the mouse stays connected all the time, so if that prevents the autosuspend from happening for all devices that would probably be bad.
.conf
file this is exactly the kind of thing I was hoping for :) – black_puppydog Nov 03 '13 at 11:36AUTOSUSPEND_RUNTIME_DEVID_BLACKLIST
now (Ubuntu 17.04) – partofthething Oct 01 '17 at 01:46tlp
installed rather thanlaptop-mode-tools
, so if you want to blacklist USB devices from being put into autosuspend mode on these laptops, set theUSB_BLACKLIST
setting in the file/etc/default/tlp
- the changes take place immediately – Stuart Caie Jan 01 '18 at 23:51Note: input devices (usbhid) are excluded automatically (see below)
#USB_BLACKLIST="045e:07a5"
– Tom Jun 21 '18 at 16:31USB_DENYLIST="1111:2222 3333:4444"
– chriscz Apr 13 '23 at 04:46