A while ago, in order to solve the problem of not saving the brightness of the boot, the laptop mode management system was installed
But recently, I happened to find that the mouse can’t be used after the power is off. Because I have no time and seldom use the notebook in battery mode, I never care about it.
If you are free today, try the online method. Solve this problem. The method is as follows
First, input lsusb in the terminal, and the display is as follows:
$lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 058f:a014 Alcor Micro Corp.
Bus 001 Device 004: ID 0bda:0139 Realtek Semiconductor Corp.
Bus 002 Device 003: ID 093a:2521 Pixart Imaging, Inc.
Bus 002 Device 004: ID 1a2c:0002
If you find multiple devices. But I don’t know which is the USB mouse. Don’t worry. I don’t know. Then look down.
Enter the following command:
0
lsusb -xv
It shows a lot of detailed information. What can we do.
Can’t you read it?
Of course not. We export the result with the following command.
lsusb -xv > ~/mouse.txt
And then do it
gedit ~/mouse.txt
We went to the “mouse” editor, and we went up there. Just look for the ID of the mouse.
Bus 002 device 003: ID 093A: 2521 pixart imaging, Inc.
this is what I found. Remember 093A: 2521
Then open the configuration with the following command.
sudo gedit /etc/laptop-mode/conf.d/usb-autosuspend.conf
Search again for “autosuspend”_ USBID_ BLACKLIST=”
I found it. Under my picture
In the double quotation marks at the end of the second line of yellow, fill in the ID of the mouse. That’s 093a:2521
. Is the mouse still working normally after saving and unplugging?
PS: my current computer is ubuntu12.04
reference resources: http://forum.ubuntu.org.cn/viewtopic.php?t=391117
Read More:
- Solve the problem of “wireless network activation failure” in Ubuntu 18, and repeatedly pop up the password input interface
- Windows Realtek USB wireless network card boot failure Rtlihvs. DLL module stop problem
- Ubuntu cannot access USB device, failed to create a proxy device for the USB device
- Virtualbox failed to attach usb, VERR_PDM_NO_USB_PORTS problem solved
- Solve the problem of available for offline mode in Android studio compilation
- Running Ubuntu 16.04 in VMware to solve the full screen problem
- Solve the problem of failure in installation of golang plug-in dependency in vscode
- Solve the problem of “bash. / don’t have that file or directory” in Ubuntu 64 bit
- failed to open usb interface: 0, error: RS2_USB_STATUS_ACCESS
- Ubuntu 20.04: How to create shortcut startup mode in IntelliJ idea
- Solve the problem of permission after flutter package_ Handler failure
- Remember once to solve the problem that Ubuntu 18.04 can’t enter GUI
- Solve the problem that the local flow of the nifi node is inconsistent with the cluster flow, resulting in the failure to join the cluster
- Compiler problem, error: ‘for’ loop initial declarations are only allowed in C99 mode
- Package pdftex.def Error: PDF mode expected, but DVI mode detected!_ mdpi_ Templatex compilation error in winedt
- Successfully solved the problem that visual studio code could not go to the definition, and there was no mouse prompt
- Error: unrecognized command line option “-std=c++11”, to solve the problem that ubuntu does not support c++11
- Solutions to the problem of vulnerable missing firmware in Ubuntu
- An error is reported when the laptop is turned on: image failed to verify with * access denied* press any key to continue
- Solve the problem of using in tensoft 2. X tf.contrib.slim No module named appears in the package: tensorflow.contrib problem