安装完 Ubuntu 16.04后,USB鼠标无法工作?

分享于 

4分钟阅读

ubuntu

  繁體

问题

我安装了Ubuntu 16.04,工作正常,但是登录后,鼠标不能移动,不能点击,我找到的唯一解决方案是:


sudo rmmod usbhid


sudo modprobe usbhid



但每次我想使用鼠标时,都必须运行这些命令,有没有另外的解决方案?

我也尝试在/etc/modules中添加usbhid

输出dmesg:


[ 88.343508] usb 2-1.2: Product: USB OPTICAL MOUSE


[ 88.346159] input: USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:15D9:0A4C.0002/input/input15


[ 88.402897] hid-generic 0003:15D9:0A4C.0002: input,hidraw0: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:1d.0-1.2/input0


[ 88.917503] usb 2-1.2: input irq status -75 received




答案1

Fedora用户也有同样的问题,https://bugzilla.redhat.com/show_bug.cgi?id=1277837

在上面的url中,开发人员建议通过在fwupd中设置EnableOptionROM =false。

或通过删除来阻止启动gnome软件 "/etc/xdg/autostart/gnome-software-service.desktop"


答案2

我也有同样的问题,当我断开,并重新连接鼠标后,问题返回,有相同的症状。

一些日志:

断开连接后dmesg:


[252703.806012] usb 2-1.2: USB disconnect, device number 9



重新连接后:


[252795.656346] usb 2-1.2: new low-speed USB device number 10 using ehci-pci


[252795.753417] usb 2-1.2: New USB device found, idVendor=15d9, idProduct=0a4c


[252795.753424] usb 2-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0


[252795.753428] usb 2-1.2: Product: USB OPTICAL MOUSE


[252795.756554] input: USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:15D9:0A4C.0012/input/input33


[252795.757510] hid-generic 0003:15D9:0A4C.0012: input,hidraw2: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:1d.0-1.2/input0



之后移动鼠标/单击鼠标时:


[252897.603985] usb 2-1.2: input irq status -75 received


[252897.683981] usb 2-1.2: input irq status -75 received



可能是几十条信息一样。

在rmmod之后:


[253044.509863] usbcore: deregistering interface driver usbhid



在modprobe之后:


[253070.755169] input: HID 1267:0103 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:1267:0103.0013/input/input34


[253070.811506] hid-generic 0003:1267:0103.0013: input,hidraw0: USB HID v1.10 Keyboard [HID 1267:0103] on usb-0000:00:1d.0-1.1/input0


[253070.816279] input: HID 1267:0103 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/0003:1267:0103.0014/input/input35


[253070.871361] hid-generic 0003:1267:0103.0014: input,hidraw1: USB HID v1.10 Device [HID 1267:0103] on usb-0000:00:1d.0-1.1/input1


[253070.874103] input: USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:15D9:0A4C.0015/input/input36


[253070.927229] hid-generic 0003:15D9:0A4C.0015: input,hidraw2: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:1d.0-1.2/input0


[253070.927285] usbcore: registered new interface driver usbhid


[253070.927288] usbhid: USB HID core driver



... 现在又有用了。



Ubuntu  FIX  USB  Persist  鼠标  installing  
相关文章