[Solved] Looking for the USB Controls to prevent USB sleep mode

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
madricodex

[Solved] Looking for the USB Controls to prevent USB sleep mode

Post by madricodex »

In Linux Mint 18.3 my USB wireless mouse and keyboard fall asleep after a while.
I have found the post of the gentleman who had the same problem and he wrote that he disconnects the wireless dongle and reconnect it.

What I want is to find is where are the USB controls in Linux Mint 18.3 and how to prevent the USB ports from falling asleep.
Is there something in LM 18.3 that permits that?
Does anyone knows an incantation that starts with sudo or bash that could do the trick?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Lord Boltar

Re: Looking for the USB Controls to prevent USB sleep mode

Post by Lord Boltar »

Just copy paste the following command in terminal and it will Disable USB autosuspend

echo on | sudo tee /sys/bus/usb/devices/*/power/level >/dev/null

hope that helps
madricodex

Re: Looking for the USB Controls to prevent USB sleep mode

Post by madricodex »

Thank you very much!
The terminal command line you prescribed works very well.
My mouse and keyboard are no longuer sedated any more.

Thank you Lord Boltar
madricodex

Re: Looking for the USB Controls to prevent USB sleep mode

Post by madricodex »

Lord Boltar wrote: Mon Jul 16, 2018 8:54 pm Just copy paste the following command in terminal and it will Disable USB autosuspend

echo on | sudo tee /sys/bus/usb/devices/*/power/level >/dev/null

hope that helps
BTW Lord Boltar, is the above terminal command something to be done only once and the fix is permanent, or do I have to execute it in terminal each time I boot?
Lord Boltar

Re: Looking for the USB Controls to prevent USB sleep mode

Post by Lord Boltar »

madricodex wrote: Sat Aug 04, 2018 7:27 am
Lord Boltar wrote: Mon Jul 16, 2018 8:54 pm Just copy paste the following command in terminal and it will Disable USB autosuspend

echo on | sudo tee /sys/bus/usb/devices/*/power/level >/dev/null

hope that helps
BTW Lord Boltar, is the above terminal command something to be done only once and the fix is permanent, or do I have to execute it in terminal each time I boot?
should be good only once
madricodex

Re: [Solved] Looking for the USB Controls to prevent USB sleep mode

Post by madricodex »

Thank you very much Lord Boltar.
Your help is very appreciated.
Locked

Return to “Beginner Questions”