How can I disable usb-autosuspend for a specific device?

Posted by black_puppydog on Ask Ubuntu See other posts from Ask Ubuntu or by black_puppydog
Published on 2012-09-07T21:35:46Z Indexed on 2012/09/07 21:50 UTC
Read the original article Hit count: 340

Filed under:
|
|

This is related to the issue discussed in this question. 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 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 not required. Removing powertop (which seems to be a solution for some) is not what I want - I like poertop... And installing laptop-mode-tools to disable usb_autosuspend alltogether 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.

© Ask Ubuntu or respective owner

Related posts about usb

Related posts about power-management