我已经安装了 Ubuntu 16.04,在 live 中没有遇到任何问题。但登录后,鼠标无法移动和单击。我找到的唯一解决方案是:
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 中,开发人员建议尝试通过设置 EnableOptionROM=false 来停止 fwupd /etc/fwupd.conf
。
或者通过删除来阻止启动 gnome-software
"/etc/xdg/autostart/gnome-software-service.desktop"
。
答案2
我也遇到了同样的问题。当我在 modprobe 之后断开鼠标并重新连接时,问题再次出现,症状相同。
一些日志:
断开连接后的 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
...现在它又能正常工作了。