Solved the intermittent mouse failure problem when Linux laptop-mode battery is powered.
/* This article address http://www.cnblogs.com/go2bed/p/4298689.html */
This issue has been discussed by many people on the Internet. For example, the article "solving mouse power failure or intermittent failure after ubuntu uses its own laptop battery. Http://blog.csdn.net/odaynot/article/details/8162490 ).
---- PS __________________________----__------------------________
Recently I found that a newbie, a blog, was "reproduced ". For example, my previous article:
UEFI installs Kali Linux 1.1.0. Shows the plagiarism:
Not to mention copyright issues. I am in a very complicated mood to see this phenomenon.
In addition, the article "solving mouse power failure or intermittent failure after ubuntu uses its own battery" also has some plagiarism.
-- PS is complete. _______------_______----------------
My goal is relatively simple, and the usb-autosuspend function is completely disabled. You don't have to be so complicated.
First,
Sudo vim/etc/laptop-mode/conf. d/usb-autosuspend.conf
Locate the position close to the end.
Set
BATT_SUSPEND_USB
LM_AC_SUSPEND_USB
NOLM_AC_SUSPEND_USB
To 0.
/* This article address http://www.cnblogs.com/go2bed/p/4298689.html */
You can also change the value of AUTOSUSPEND_TIMEOUT to a greater value. After all, 2 seconds is too short.