我有一个 Apple 键盘,最近插入其正常 USB 端口时停止工作。但是,插入笔记本电脑的第二个 USB 端口时,它工作正常。第一个 USB 端口仍可与其他设备(如鼠标)配合使用。但是,拔下并重新插入第一个端口时,键盘偶尔会再次开始工作。这是怎么回事?
键盘不工作时的 dmesg 日志:
[ 7198.061251] usb 1-1: new high-speed USB device number 15 using xhci_hcd
[ 7198.210261] usb 1-1: New USB device found, idVendor=05ac, idProduct=1006
[ 7198.210266] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7198.210270] usb 1-1: Product: Keyboard Hub
[ 7198.210272] usb 1-1: Manufacturer: Apple, Inc.
[ 7198.210275] usb 1-1: SerialNumber: 000000000000
[ 7198.210966] hub 1-1:1.0: USB hub found
[ 7198.211002] hub 1-1:1.0: 3 ports detected
[ 7198.215986] usb 1-1: USB disconnect, device number 15
键盘输入时的 dmesg 日志做工作(同一 USB 端口)
[ 7463.912999] usb 1-1: new high-speed USB device number 17 using xhci_hcd
[ 7464.061992] usb 1-1: New USB device found, idVendor=05ac, idProduct=1006
[ 7464.061997] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7464.062000] usb 1-1: Product: Keyboard Hub
[ 7464.062003] usb 1-1: Manufacturer: Apple, Inc.
[ 7464.062006] usb 1-1: SerialNumber: 000000000000
[ 7464.062659] hub 1-1:1.0: USB hub found
[ 7464.062705] hub 1-1:1.0: 3 ports detected
[ 7464.349064] usb 1-1.2: new low-speed USB device number 18 using xhci_hcd
[ 7464.456083] usb 1-1.2: New USB device found, idVendor=05ac, idProduct=024f
[ 7464.456087] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7464.456091] usb 1-1.2: Product: Apple Keyboard
[ 7464.456093] usb 1-1.2: Manufacturer: Apple Inc.
[ 7464.460757] input: Apple Inc. Apple Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:05AC:024F.0005/input/input40
[ 7464.517834] apple 0003:05AC:024F.0005: input,hidraw1: USB HID v1.11 Keyboard [Apple Inc. Apple Keyboard] on usb-0000:00:14.0-1.2/input0
[ 7464.520509] input: Apple Inc. Apple Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:05AC:024F.0006/input/input41
[ 7464.577574] apple 0003:05AC:024F.0006: input,hidraw2: USB HID v1.11 Device [Apple Inc. Apple Keyboard] on usb-0000:00:14.0-1.2/input1
有时即使我只插入了一个键盘,也会检测并记录 6-7 个“键盘集线器”。
我认为键盘有时会在插入电源后立即断开连接,我该如何解决这个问题?
操作系统:Ubuntu 17.10
笔记本电脑:戴尔 Precision 5520