这是一个与操作系统无关的问题,但我有来自 Ubuntu 14.10 的日志。
我有这个Perixx PERIMICE-710R USB 无线鼠标:
无法通过特定 USB 端口使用联想 Y510p 笔记本电脑:
该鼠标可在该笔记本电脑另一侧的两个 USB 端口上使用。
这就是为什么 Linux 说鼠标不能使用的原因(来自/var/log/syslog
):
Feb 12 19:53:10 Deltique kernel: [ 165.657532] usb 3-2: new full-speed USB device number 15 using xhci_hcd
Feb 12 19:53:10 Deltique kernel: [ 165.825757] usb 3-2: device descriptor read/64, error -71
Feb 12 19:53:10 Deltique kernel: [ 165.929804] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 15.
Feb 12 19:53:10 Deltique kernel: [ 165.929816] usb 3-2: hub failed to enable device, error -22
Feb 12 19:53:10 Deltique kernel: [ 166.041952] usb 3-2: new full-speed USB device number 16 using xhci_hcd
Feb 12 19:53:10 Deltique kernel: [ 166.210149] usb 3-2: device descriptor read/64, error -71
Feb 12 19:53:10 Deltique kernel: [ 166.314214] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 16.
Feb 12 19:53:10 Deltique kernel: [ 166.314227] usb 3-2: hub failed to enable device, error -22
Feb 12 19:53:10 Deltique kernel: [ 166.426300] usb 3-2: new full-speed USB device number 17 using xhci_hcd
Feb 12 19:53:10 Deltique kernel: [ 166.426598] usb 3-2: Device not responding to setup address.
Feb 12 19:53:11 Deltique kernel: [ 166.630703] usb 3-2: Device not responding to setup address.
Feb 12 19:53:11 Deltique kernel: [ 166.834618] usb 3-2: device not accepting address 17, error -71
Feb 12 19:53:11 Deltique kernel: [ 166.946822] usb 3-2: new full-speed USB device number 18 using xhci_hcd
Feb 12 19:53:11 Deltique kernel: [ 166.947120] usb 3-2: Device not responding to setup address.
Feb 12 19:53:11 Deltique kernel: [ 167.151232] usb 3-2: Device not responding to setup address.
Feb 12 19:53:11 Deltique kernel: [ 167.355159] usb 3-2: device not accepting address 18, error -71
Feb 12 19:53:11 Deltique kernel: [ 167.355257] usb usb3-port2: unable to enumerate USB device
按照建议modprobe
设置后options usbcore old_scheme_first=y
这封电子邮件,此行显示:
Feb 12 20:09:10 Deltique kernel: [ 470.466364] usb 3-2: new low-speed USB device number 29 using xhci_hcd
五秒钟后,大概是usbcore
尝试恢复到其“新方案”,并且再次记录了上述相同的错误。
以下是 Linux 成功识别同一台计算机上不同 USB 端口上的 USB 设备的情况:
Feb 12 20:03:49 Deltique kernel: [ 148.210664] usb 3-4: new full-speed USB device number 26 using xhci_hcd
Feb 12 20:03:49 Deltique kernel: [ 148.341256] usb 3-4: New USB device found, idVendor=062a, idProduct=4101
Feb 12 20:03:49 Deltique kernel: [ 148.341264] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 12 20:03:49 Deltique kernel: [ 148.341268] usb 3-4: Product: 2.4G Keyboard Mouse
Feb 12 20:03:49 Deltique kernel: [ 148.341272] usb 3-4: Manufacturer: MOSART Semi.
Feb 12 20:03:49 Deltique kernel: [ 148.341556] usb 3-4: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
Feb 12 20:03:49 Deltique kernel: [ 148.343354] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/0003:062A:4101.0007/input/input19
Feb 12 20:03:49 Deltique kernel: [ 148.343614] hid-generic 0003:062A:4101.0007: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-0000:00:14.0-4/input0
Feb 12 20:03:49 Deltique kernel: [ 148.346032] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.1/0003:062A:4101.0008/input/input20
Feb 12 20:03:49 Deltique kernel: [ 148.346454] hid-generic 0003:062A:4101.0008: input,hiddev0,hidraw1: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-0000:00:14.0-4/input1
Feb 12 20:03:49 Deltique mtp-probe: checking bus 3, device 26: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4"
Feb 12 20:03:49 Deltique mtp-probe: bus: 3, device: 26 was not an MTP device
我可以在正确的 USB 端口上安装 USB 大容量存储设备,那么为什么我不能在这个端口上使用鼠标?
答案1
将鼠标插入 USB 3.0 端口,
Feb 12 19:53:11 Deltique kernel: [ 167.355257] usb usb3-port2: unable to enumerate USB device
您的外部驱动器具有 3.0 USB 支持功能,因此它可以工作。如果您的鼠标需要与 USB 3 端口一起使用,则需要安装 USB 3 的驱动程序。
答案2
我也曾经遇到过类似类型的错误,这可能是因为您尝试通过低速设备连接到高速 USB 端口。
从系统信息中输入您的 USB 端口信息。
usb 3-4: new full-speed USB device number 26 using xhci_hcd
通过此链接了解更多详细信息
http://www.linux-usb.org/FAQ.html#ts6
http://ubuntuforums.org/showthread.php?t=1731989
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/54273
答案3
问题可能是因为 Windows 8.1 使用 USB 3 端口的通用驱动程序。尝试在制造商的网站上找到更好的驱动程序。
您可以在设备管理器的通用串行总线控制器下找到制造商和驱动程序的详细信息。例如,如果这是英特尔 USB 集线器,请使用英特尔驱动程序更新实用程序 自动识别并查找计算机上所有英特尔硬件的驱动程序。
如果非通用驱动程序没有帮助,则问题可能是由于联想对 USB 3 端口的硬件实现不佳造成的。
简单谷歌搜索联想 Y510p“USB 3”第一页结果中有此内容:
USB 3.0 端口不适用于金士顿 32 GB USB 3.0 记忆棒
Y510p Usb 3.0 退出
联想 IdeaPad Y510P USB 3.0 硬盘连接到 USB 3.0 端口后卸载后无法关闭
Intensity Shuttle USB 3.0 修复 Win 8 64
这些文章暗示某些设备插入此端口时会出现问题,而连接到 USB 2 端口时则不会出现这些问题,就像您的情况一样。
问题根源可能是硬件或驱动程序。虽然可以更换驱动程序,但不能更换硬件。
答案4
人们常说暴力解决不了任何问题,但在我撬开笔记本电脑,用力猛击 USB 端口并大喊“工作,你这个蠢货!”之后,奇迹发生了:
Mar 8 20:48:56 Deltique kernel: [ 712.368555] usb 3-2: new full-speed USB device number 62 using xhci_hcd
Mar 8 20:48:56 Deltique kernel: [ 712.498967] usb 3-2: New USB device found, idVendor=062a, idProduct=4101
Mar 8 20:48:56 Deltique kernel: [ 712.498972] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 8 20:48:56 Deltique kernel: [ 712.498974] usb 3-2: Product: 2.4G Keyboard Mouse
Mar 8 20:48:56 Deltique kernel: [ 712.498976] usb 3-2: Manufacturer: MOSART Semi.
Mar 8 20:48:56 Deltique kernel: [ 712.499161] usb 3-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
Mar 8 20:48:56 Deltique kernel: [ 712.500538] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:062A:4101.000F/input/input25
Mar 8 20:48:56 Deltique kernel: [ 712.500728] hid-generic 0003:062A:4101.000F: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-0000:00:14.0-2/input0
Mar 8 20:48:56 Deltique kernel: [ 712.502617] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/0003:062A:4101.0010/input/input26
Mar 8 20:48:56 Deltique kernel: [ 712.502908] hid-generic 0003:062A:4101.0010: input,hiddev0,hidraw1: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-0000:00:14.0-2/input1
Mar 8 20:48:56 Deltique mtp-probe: checking bus 3, device 62: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Mar 8 20:48:56 Deltique mtp-probe: bus: 3, device: 62 was not an MTP device
说真的,鼠标无法使用的原因是 USB 端口的硬件问题。原因未知,但我可能被过去连接到该端口的 USB 设备绊倒了。