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

The command above is used to keep USB power on (Turns off USB power-saving). I execute the command every time I log in to Ubuntu because I have a USB audio device and it makes an annoying sound every time USB turns on/off.

The question is, how to keep the configurations which this command produce without the need to execute it every time?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.