Ubuntu 18.04 丢失 USB-C 显示器和 USB 设备

Ubuntu 18.04 丢失 USB-C 显示器和 USB 设备

因此,我有以下设置 - Alienware m15 R3 配备两个 Dell U2719DC 显示器(第一个显示器通过显示端口/MST 为另一个显示器供电),通过 USB-C/Thunderbolt 3 端口连接。第一个显示器(为另一个显示器供电并通过 USB-C 连接到笔记本电脑)有两个设备连接到内置的 USB 集线器 - 一个键盘和一个鼠标。发生了什么事,在随机时间(或由于触发?)显示器开始关闭,如果我重新插入它们,它们会在几秒钟内关闭,甚至根本不会出现。我注意到该过程有时在启动 Android 模拟器时启动(启动严重的开/关循环),lspci/lswh触发单个开/关循环,有时在随机点。我尝试tail -f /var/log/{messages,kernel,dmesg,syslog}在这种开/关疯狂期间收集日志。我一直看到(很多这样的):

Feb  3 20:11:27 rudolfs-Alienware-m15-R3 kernel: [ 5918.379945] pcieport 0000:00:1b.0: Intel SPT PCH root port ACS workaround enabled
Feb  3 20:11:28 rudolfs-Alienware-m15-R3 kernel: [ 5919.648785] usb usb3: root hub lost power or was reset
Feb  3 20:11:28 rudolfs-Alienware-m15-R3 kernel: [ 5919.648790] usb usb4: root hub lost power or was reset

其中一些(约 70%)之后我收到有关 USB 设备断开连接的通知:

Feb  3 20:12:24 rudolfs-Alienware-m15-R3 kernel: [ 5975.820361] usb 1-11: USB disconnect, device number 10
Feb  3 20:12:24 rudolfs-Alienware-m15-R3 kernel: [ 5975.820362] usb 1-11.1: USB disconnect, device number 11

当一切再次出现时,似乎这些设备是显示器中的 USB 集线器、键盘和鼠标(分别1-11.11-11.2):

 3 20:12:06 rudolfs-Alienware-m15-R3 kernel: [ 5957.323800] usb 1-11: new high-speed USB device number 10 using xhci_hcd
Feb  3 20:12:06 rudolfs-Alienware-m15-R3 kernel: [ 5957.748121] usb 1-11: New USB device found, idVendor=0451, idProduct=8442, bcdDevice= 1.00
Feb  3 20:12:06 rudolfs-Alienware-m15-R3 kernel: [ 5957.748127] usb 1-11: New USB device strings: Mfr=0, Product=0, SerialNumber=1
Feb  3 20:12:06 rudolfs-Alienware-m15-R3 kernel: [ 5957.748131] usb 1-11: SerialNumber: E4010869A2EA
Feb  3 20:12:06 rudolfs-Alienware-m15-R3 kernel: [ 5957.749738] hub 1-11:1.0: USB hub found
Feb  3 20:12:06 rudolfs-Alienware-m15-R3 kernel: [ 5957.749786] hub 1-11:1.0: 6 ports detected
Feb  3 20:12:07 rudolfs-Alienware-m15-R3 kernel: [ 5958.039762] usb 1-11.1: new full-speed USB device number 11 using xhci_hcd
Feb  3 20:12:07 rudolfs-Alienware-m15-R3 kernel: [ 5958.141685] usb 1-11.1: New USB device found, idVendor=1532, idProduct=005c, bcdDevice= 2.00
Feb  3 20:12:07 rudolfs-Alienware-m15-R3 kernel: [ 5958.141691] usb 1-11.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb  3 20:12:07 rudolfs-Alienware-m15-R3 kernel: [ 5958.141694] usb 1-11.1: Product: Razer DeathAdder Elite
Feb  3 20:12:07 rudolfs-Alienware-m15-R3 kernel: [ 5958.141697] usb 1-11.1: Manufacturer: Razer
Feb  3 20:12:07 rudolfs-Alienware-m15-R3 kernel: [ 5958.462582] usb 1-11.2: New USB device found, idVendor=046d, idProduct=c339, bcdDevice=13.00
Feb  3 20:12:07 rudolfs-Alienware-m15-R3 kernel: [ 5958.462583] usb 1-11.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb  3 20:12:07 rudolfs-Alienware-m15-R3 kernel: [ 5958.462584] usb 1-11.2: Product: Pro Gaming Keyboard
Feb  3 20:12:07 rudolfs-Alienware-m15-R3 kernel: [ 5958.462585] usb 1-11.2: Manufacturer: Logitech
Feb  3 20:12:07 rudolfs-Alienware-m15-R3 kernel: [ 5958.462586] usb 1-11.2: SerialNumber: 086B367A3231

当一切运行时,输出为lspci -tv

rudolfs@rudolfs-Alienware-m15-R3:~$ lspci -tv
-[0000:00]-+-00.0  Intel Corporation Device 9b54
           +-01.0-[01-03]----00.0-[02-03]----00.0-[03]--+-00.0  Advanced Micro Devices, Inc. [AMD/ATI] Device 7340
           |                                            \-00.1  Advanced Micro Devices, Inc. [AMD/ATI] Device ab38
           +-01.1-[04]--
           +-02.0  Intel Corporation Device 9bc4
           +-04.0  Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
           +-12.0  Intel Corporation Device 06f9
           +-13.0  Intel Corporation Device 06fc
           +-14.0  Intel Corporation Device 06ed
           +-14.2  Intel Corporation Device 06ef
           +-15.0  Intel Corporation Device 06e8
           +-16.0  Intel Corporation Device 06e0
           +-1b.0-[05-3d]----00.0-[06-3d]--+-00.0-[07]----00.0  Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018]
           |                               +-01.0-[08-3c]--
           |                               \-02.0-[3d]----00.0  Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018]
           +-1b.4-[3e]----00.0  Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
           +-1d.0-[3f]----00.0  Samsung Electronics Co Ltd NVMe SSD Controller SM951/PM951
           +-1d.4-[40]----00.0  SK hynix Device 1339
           +-1d.6-[41]----00.0  Realtek Semiconductor Co., Ltd. Device 3000
           +-1d.7-[42]----00.0  Intel Corporation Device 2723
           +-1f.0  Intel Corporation Device 068d
           +-1f.3  Intel Corporation Device 06c8
           +-1f.4  Intel Corporation Device 06a3
           \-1f.5  Intel Corporation Device 06a4

的输出lsusb -tv是:

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 10000M
    |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    |__ Port 4: Dev 3, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 4: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 7: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 7: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 10: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 10: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 11: Dev 15, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 5: Dev 18, If 0, Class=Human Interface Device, Driver=usbhid, 480M
        |__ Port 1: Dev 16, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 1: Dev 16, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 1: Dev 16, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 17, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 17, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 14: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 14: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M

在写这篇文章之前,我进行了大量谷歌搜索,因此我看到提到的相关内容:

  • BIOS 中的 Thunderbolt 安全性已关闭
  • bolt软件包已安装
  • 设备/Thunderbolt 面板中没有显示任何内容,但我认为这没问题,因为所连接的设备(2 个显示器、键盘和鼠标)实际上都不是 Thunderbolt 设备?

有人提到雷电端口在不活动时会进入睡眠状态 - 所以我不明白另一端(在显示器中)的 USB 集线器是否应该保持它们处于活动状态?这个问题非常烦人,因为我实际上需要使用 Android 模拟器,但运行它会使机器无法使用。有什么建议吗?我可以提供任何其他需要的信息。

不确定这是否与问题有关,但我在 Ubuntu 软件设置中有一个未知设备(我认为它是 Killer Wireless 卡,即使 wifi 可以工作)。未知的 Intel 设备

实际上刚刚注意到有这些错误的单个块:

Feb  3 20:12:30 rudolfs-Alienware-m15-R3 kernel: [ 5981.555749] usb 1-11: new high-speed USB device number 14 using xhci_hcd
Feb  3 20:12:30 rudolfs-Alienware-m15-R3 kernel: [ 5981.638519] usb 4-1: Device not responding to setup address.
Feb  3 20:12:30 rudolfs-Alienware-m15-R3 kernel: [ 5981.683827] usb 1-11: Device not responding to setup address.
Feb  3 20:12:31 rudolfs-Alienware-m15-R3 kernel: [ 5981.850723] usb 4-1: Device not responding to setup address.
Feb  3 20:12:31 rudolfs-Alienware-m15-R3 kernel: [ 5981.891708] usb 1-11: Device not responding to setup address.
Feb  3 20:12:31 rudolfs-Alienware-m15-R3 kernel: [ 5982.055666] usb 4-1: device not accepting address 3, error -71
Feb  3 20:12:31 rudolfs-Alienware-m15-R3 kernel: [ 5982.099676] usb 1-11: device not accepting address 14, error -71

和:

Feb  3 20:12:35 rudolfs-Alienware-m15-R3 kernel: [ 5986.151734] usb usb4-port1: Cannot enable. Maybe the USB cable is bad?
Feb  3 20:12:35 rudolfs-Alienware-m15-R3 kernel: [ 5986.151820] usb usb4-port1: attempt power cycle

相关内容