Ubuntu 18.04에서 USB-C 디스플레이 및 USB 장치가 손실됨

Ubuntu 18.04에서 USB-C 디스플레이 및 USB 장치가 손실됨

그래서 저는 USB-C/Thunderbolt 3 포트를 통해 연결된 2개의 Dell U2719DC 디스플레이(첫 번째 디스플레이는 디스플레이 포트/MST를 통해 다른 디스플레이에 공급)가 있는 Alienware m15 R3를 설정했습니다. 첫 번째 디스플레이(다른 디스플레이에 전원을 공급하고 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 장치가 아니기 때문에 괜찮다고 가정합니다.

비활성 상태인 경우 Thunderbolt 포트가 절전 모드로 전환된다는 언급이 있었습니다. 따라서 디스플레이의 반대쪽 끝에 있는 USB 허브가 해당 포트를 활성 상태로 유지해야 하는지 이해할 수 없습니까? 이 문제는 실제로 Android 에뮬레이터를 사용해야 하기 때문에 매우 짜증나는 일이지만, 이를 실행하면 컴퓨터를 사용할 수 없게 됩니다. 조언이나 제안이 있으신가요? 기타 필요한 정보를 제공할 수 있습니다.

이것이 문제와 관련이 있는지는 확실하지 않지만 Ubuntu 소프트웨어 설정에 알 수 없는 장치가 있습니다(Wi-Fi가 작동하더라도 Killer Wireless 카드라고 가정합니다).알 수 없는 인텔 장치

실제로 이러한 오류의 단일 블록이 있음을 확인했습니다.

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

관련 정보