![如果直接连接到 USB,空中鼠标将无法工作,但使用集线器连接时可以工作](https://linux22.com/image/1006762/%E5%A6%82%E6%9E%9C%E7%9B%B4%E6%8E%A5%E8%BF%9E%E6%8E%A5%E5%88%B0%20USB%EF%BC%8C%E7%A9%BA%E4%B8%AD%E9%BC%A0%E6%A0%87%E5%B0%86%E6%97%A0%E6%B3%95%E5%B7%A5%E4%BD%9C%EF%BC%8C%E4%BD%86%E4%BD%BF%E7%94%A8%E9%9B%86%E7%BA%BF%E5%99%A8%E8%BF%9E%E6%8E%A5%E6%97%B6%E5%8F%AF%E4%BB%A5%E5%B7%A5%E4%BD%9C.png)
我在 Ubuntu 16.04 上使用 FREEWAY TECHNOLOGY 的空中鼠标时遇到了这个奇怪的问题。
如果我使用 USB 集线器连接 USB 密钥,设备可以正常工作,如果我尝试将其直接连接到计算机 USB 端口,则会收到一些错误并且设备无法工作。
使用 USB 集线器提取系统日志
Mar 29 11:42:58 platform kernel: [ 1344.911671] usb 1-1.2.3: USB disconnect, device number 27
Mar 29 11:43:03 patform kernel: [ 1349.496675] usb 1-1.2.1: new full-speed USB device number 28 using xhci_hcd
Mar 29 11:43:03 platform kernel: [ 1349.612652] usb 1-1.2.1: New USB device found, idVendor=0c45, idProduct=5012
Mar 29 11:43:03 platform kernel: [ 1349.612656] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 29 11:43:03 platform kernel: [ 1349.612658] usb 1-1.2.1: Product: RFIC-MOUSE
Mar 29 11:43:03 platform kernel: [ 1349.612660] usb 1-1.2.1: Manufacturer: FREEWAY TECHNOLOGY
Mar 29 11:43:03 platform kernel: [ 1349.617590] input: FREEWAY TECHNOLOGY RFIC-MOUSE as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:0C45:5012.000B/input/input21
Mar 29 11:43:03 platform kernel: [ 1349.677578] hid-generic 0003:0C45:5012.000B: input,hiddev0,hidraw1: USB HID v1.01 Keyboard [FREEWAY TECHNOLOGY RFIC-MOUSE] on usb-0000:00:14.0-1.2.1/input0
Mar 29 11:43:03 platform kernel: [ 1349.679602] input: FREEWAY TECHNOLOGY RFIC-MOUSE as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.1/0003:0C45:5012.000C/input/input22
Mar 29 11:43:03 platform kernel: [ 1349.679914] hid-generic 0003:0C45:5012.000C: input,hidraw2: USB HID v1.01 Mouse [FREEWAY TECHNOLOGY RFIC-MOUSE] on usb-0000:00:14.0-1.2.1/input1
不使用 USB 集线器时的系统日志摘录
Mar 29 11:44:49 platform kernel: [ 1455.249788] usb 1-1.2.1: USB disconnect, device number 28
Mar 29 11:44:53 platform kernel: [ 1459.716449] usb 1-2: new full-speed USB device number 29 using xhci_hcd
Mar 29 11:44:53 platform kernel: [ 1459.836614] usb 1-2: device descriptor read/64, error -71
Mar 29 11:44:53 platform kernel: [ 1460.180018] usb 1-2: New USB device found, idVendor=0c45, idProduct=5012
Mar 29 11:44:53 platform kernel: [ 1460.180022] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 29 11:44:53 platform kernel: [ 1460.180024] usb 1-2: Product: RFIC-MOUSE
Mar 29 11:44:53 platform kernel: [ 1460.180027] usb 1-2: Manufacturer: FREEWAY TECHNOLOGY
Mar 29 11:44:53 platform kernel: [ 1460.185398] input: FREEWAY TECHNOLOGY RFIC-MOUSE as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:0C45:5012.000D/input/input23
Mar 29 11:44:53 platform kernel: [ 1460.245606] hid-generic 0003:0C45:5012.000D: input,hiddev0,hidraw1: USB HID v1.01 Keyboard [FREEWAY TECHNOLOGY RFIC-MOUSE] on usb-0000:00:14.0-2/input0
Mar 29 11:45:29 platform kernel: [ 1496.140349] usbhid 1-2:1.1: can't add hid device: -110
Mar 29 11:45:29 platform kernel: [ 1496.140374] usbhid: probe of 1-2:1.1 failed with error -110
Mar 29 11:45:29 platform kernel: [ 1496.140513] usb usb1-port2: disabled by hub (EMI?), re-enabling...
Mar 29 11:45:29 platform kernel: [ 1496.140520] usb 1-2: USB disconnect, device number 29
Mar 29 11:45:30 platform kernel: [ 1496.664363] usb 1-2: new full-speed USB device number 30 using xhci_hcd
Mar 29 11:45:35 platform kernel: [ 1501.988411] usb 1-2: device descriptor read/64, error -110
Mar 29 11:45:51 platform kernel: [ 1517.724146] usb 1-2: new low-speed USB device number 31 using xhci_hcd
Mar 29 11:45:51 platform kernel: [ 1517.844190] usb 1-2: device descriptor read/64, error -71
Mar 29 11:45:51 platform kernel: [ 1518.072205] usb 1-2: device descriptor read/64, error -71
Mar 29 11:45:52 platform kernel: [ 1518.300203] usb 1-2: new full-speed USB device number 32 using xhci_hcd
Mar 29 11:45:57 platform kernel: [ 1523.532343] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
Mar 29 11:46:02 platform kernel: [ 1528.908189] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
Mar 29 11:46:02 platform kernel: [ 1529.116165] usb 1-2: device not accepting address 32, error -62
Mar 29 11:46:02 platform kernel: [ 1529.236316] usb 1-2: new full-speed USB device number 33 using xhci_hcd
Mar 29 11:46:08 platform kernel: [ 1534.284170] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
Mar 29 11:46:13 platform kernel: [ 1539.660238] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
Mar 29 11:46:13 platform kernel: [ 1539.868078] usb 1-2: device not accepting address 33, error -62
Mar 29 11:46:13 platform kernel: [ 1539.868160] usb usb1-port2: unable to enumerate USB device
uname -a
Linux platform 4.10.14-041014-generic #201705031501 SMP Wed May 3 19:03:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
任何帮助表示感谢
谢谢
答案1
我对其他 USB 设备也有类似的体验。这些设备与计算机中的系统(硬件和/或软件)不太兼容,但集线器可以提供一个接口,可与 USB 设备和计算机中的 USB 系统配合使用。
我的解决方案(也许你会称之为解决方法)是使用集线器并感到高兴。
如果它是一个非常新的设备,并且是一个软件问题,也许更新或未来版本的 Ubuntu 将使其在没有集线器的情况下工作。
你可以试试居住, '尝试 Ubuntu', 从 USB 驱动器或 DVD 磁盘启动Ubuntu 17.10.1和Ubuntu Bionic即将(2018 年 4 月)作为 Ubuntu 18.04 LTS 发布。
USB 闪存盘可能需要也可能不需要计算机从其启动的集线器 ;-)