ubuntu笔记本不插电时鼠标失灵

2019-04-13 13:11发布

开机忘插电,鼠标失灵,换鼠标也是。重新插上鼠标可以,几秒后又失灵
查看:http://blog.csdn.net/ibey0nd/article/details/31021769
1,查看鼠标id
$ lsusb -v |grep Mouse
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 003 Device 020: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Couldn't open device, some information will be missing
idProduct 0x2510 Optical Mouse
bInterfaceProtocol 2 Mouse

这么多missing,估计是以前用过的鼠标吧
找到鼠标:ID 093a:2510

2, $ sudo vi /etc/laptop-mode/conf.d/usb-autosuspend.conf
将其中的:AUTOSUSPEND_USBID_BLACKLIST=""
编辑为:AUTOSUSPEND_USBID_BLACKLIST="093a:2510"
保存退出