External displays through usb-c dock don’t work anymore

I have a HP Probook x360 8 with an i-tec Dual Display USB-C Hub. Since a day or so i’m not able to see the Displayports of the USB-C Hub anymore. (I have 2 different workplaces where i have the same usb-c hub, on both the Displayports are not visible anymore)
Has someone an idea what i could try or what i did wrong?

❯ xrandr -q
Screen 0: minimum 320 x 200, current 5760 x 2160, maximum 16384 x 16384
eDP connected 1920x1080+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
   1920x1080     60.03*+  40.02  
   1680x1050     60.03  
   1280x1024     60.03  
   1440x900      60.03  
   1280x800      60.03  
   1280x720      60.03  
   1024x768      60.03  
   800x600       60.03  
   640x480       60.03  
HDMI-A-0 connected primary 3840x2160+1920+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00 +  50.00    59.94    30.00*   30.00    25.00    24.00    29.97    23.98  
   2560x1440     59.95  
   1920x1080     60.00    60.00    59.94    30.00    24.00    29.97    23.98  
   1600x900      60.00  
   1280x1024     60.02  
   1280x800      59.91  
   1280x720      60.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)

Normaly the USB-C Hub Ports would be visible as DisplayPort-2 and DisplayPort-3, plus on one of these there is a screen connected.

Maybe these outputs help something:

❯ lsusb -tv  
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 3: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
        ID 04f2:b6af Chicony Electronics Co., Ltd 
    |__ Port 3: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
        ID 04f2:b6af Chicony Electronics Co., Ltd 
    |__ Port 3: Dev 2, If 2, Class=Video, Driver=uvcvideo, 480M
        ID 04f2:b6af Chicony Electronics Co., Ltd 
    |__ Port 3: Dev 2, If 3, Class=Video, Driver=uvcvideo, 480M
        ID 04f2:b6af Chicony Electronics Co., Ltd 
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
        ID 1058:2620 Western Digital Technologies, Inc. 
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 2109:2822 VIA Labs, Inc. 
        |__ Port 3: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
            ID 1a40:0101 Terminus Technology Inc. Hub
            |__ Port 3: Dev 8, If 0, Class=, Driver=, 480M
                ID 2109:0102 VIA Labs, Inc. 
            |__ Port 4: Dev 9, If 2, Class=Audio, Driver=snd-usb-audio, 12M
                ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
            |__ Port 4: Dev 9, If 0, Class=Audio, Driver=snd-usb-audio, 12M
                ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
            |__ Port 4: Dev 9, If 3, Class=Human Interface Device, Driver=usbhid, 12M
                ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
            |__ Port 4: Dev 9, If 1, Class=Audio, Driver=snd-usb-audio, 12M
                ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
        |__ Port 2: Dev 11, If 0, Class=Hub, Driver=hub/4p, 480M
            ID 2109:2817 VIA Labs, Inc. 
            |__ Port 3: Dev 13, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
                ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
    |__ Port 3: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
        ID 8087:0029 Intel Corp. AX200 Bluetooth
    |__ Port 3: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
        ID 8087:0029 Intel Corp. AX200 Bluetooth
    |__ Port 4: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 12M
        ID 06cb:00f0 Synaptics, Inc. 
❯ sudo lshw -c video
  *-display                 
       description: amdgpudrmfb
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: /dev/fb0
       version: c1
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix bus_master cap_list fb
       configuration: depth=32 driver=amdgpu latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
       resources: iomemory:100-ff iomemory:100-ff irq:58 memory:1060000000-106fffffff memory:1070000000-10701fffff ioport:1000(size=256) memory:fb400000-fb47ffff

Thanks, Fabian

I get the feeling that my usb-c port is only used with High-Speed (480MBit) instead of SuperSpeed (10GBit).

output of dmesg when i plug in the hub:


[ 4429.510280] usb 1-1: new high-speed USB device number 40 using xhci_hcd
[ 4429.832371] usb 1-1: device descriptor read/64, error -71
[ 4430.071206] usb 1-1: New USB device found, idVendor=2109, idProduct=2822, bcdDevice= 6.54
[ 4430.071209] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4430.071229] usb 1-1: Product: USB2.0 Hub             
[ 4430.071230] usb 1-1: Manufacturer: VIA Labs, Inc.         
[ 4430.071230] usb 1-1: SerialNumber: 000000001
[ 4430.107397] hub 1-1:1.0: USB hub found
[ 4430.107686] hub 1-1:1.0: 4 ports detected
[ 4430.741696] hp_wmi: Unknown event_id - 131073 - 0x0
[ 4430.864254] usb 1-1.2: new high-speed USB device number 41 using xhci_hcd
[ 4431.008610] usb 1-1.2: New USB device found, idVendor=2109, idProduct=2817, bcdDevice=90.14
[ 4431.008641] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4431.008663] usb 1-1.2: Product: USB2.0 Hub             
[ 4431.008670] usb 1-1.2: Manufacturer: VIA Labs, Inc.         
[ 4431.008676] usb 1-1.2: SerialNumber: 000000000
[ 4431.067136] hub 1-1.2:1.0: USB hub found
[ 4431.067564] hub 1-1.2:1.0: 4 ports detected
[ 4431.410960] [drm] DP Alt mode state on HPD: 0
[ 4431.612230] [drm] Alt mode has timed out after 201 ms
[ 4431.694267] usb 1-1.3: new high-speed USB device number 42 using xhci_hcd
[ 4431.833962] usb 1-1.3: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[ 4431.833964] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 4431.833965] usb 1-1.3: Product: USB 2.0 Hub
[ 4431.867145] hub 1-1.3:1.0: USB hub found
[ 4431.867432] hub 1-1.3:1.0: 4 ports detected
[ 4432.155282] usb 1-1.2.3: new high-speed USB device number 43 using xhci_hcd
[ 4432.298693] usb 1-1.2.3: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
[ 4432.298697] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 4432.298698] usb 1-1.2.3: Product: USB 10/100/1000 LAN
[ 4432.298699] usb 1-1.2.3: Manufacturer: Realtek
[ 4432.298700] usb 1-1.2.3: SerialNumber: 000001
[ 4432.460258] usb 1-1.3.3: new high-speed USB device number 44 using xhci_hcd
[ 4432.677061] usb 1-1.3.3: New USB device found, idVendor=2109, idProduct=0102, bcdDevice= 5.af
[ 4432.677063] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4432.677064] usb 1-1.3.3: Product: USB 2.0 BILLBOARD             
[ 4432.677064] usb 1-1.3.3: Manufacturer: VIA Technologies Inc.         
[ 4432.677065] usb 1-1.3.3: SerialNumber: 0000000000000001
[ 4432.795098] usb 1-1.2.3: reset high-speed USB device number 43 using xhci_hcd
[ 4433.050561] r8152 1-1.2.3:1.0: load rtl8153a-4 v2 02/07/20 successfully
[ 4433.090916] r8152 1-1.2.3:1.0 eth0: v1.11.11
[ 4433.116257] usb 1-1.3.4: new full-speed USB device number 45 using xhci_hcd
[ 4433.328957] usb 1-1.3.4: New USB device found, idVendor=0d8c, idProduct=0014, bcdDevice= 1.00
[ 4433.328960] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4433.328962] usb 1-1.3.4: Product: USB Audio Device
[ 4433.328962] usb 1-1.3.4: Manufacturer: C-Media Electronics Inc.
[ 4433.607086] input: C-Media Electronics Inc. USB Audio Device as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.3/0003:0D8C:0014.0020/input/input72
[ 4433.658409] hid-generic 0003:0D8C:0014.0020: input,hidraw2: USB HID v1.00 Device [C-Media Electronics Inc. USB Audio Device] on usb-0000:04:00.3-1.3.4/input3
[ 4433.680652] r8152 1-1.2.3:1.0 enp4s0f3u1u2u3: renamed from eth0

Send the whole dmesg and get the same info from a older generation

Now it works again :man_shrugging:
In the lats days i updated the system several times, went back to older generation and at some point the usb-c hub suddendly worked again. I can’t say what was the fixed the problem, sorry.

As a reference the dmesg output now as it is working:

[42369.448192] usb 1-1: new high-speed USB device number 47 using xhci_hcd                                                              
[42369.580696] usb 1-1: New USB device found, idVendor=2109, idProduct=2822, bcdDevice= 6.54                                            
[42369.580701] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3                                                        
[42369.580703] usb 1-1: Product: USB2.0 Hub                                                                                             
[42369.580705] usb 1-1: Manufacturer: VIA Labs, Inc.                                                                                    
[42369.580706] usb 1-1: SerialNumber: 000000001                                                                                         
[42369.627365] hub 1-1:1.0: USB hub found                                                                                               
[42369.627860] hub 1-1:1.0: 4 ports detected                                                                                            
[42369.691975] usb 2-1: new SuperSpeedPlus Gen 2 USB device number 18 using xhci_hcd                                                    
[42369.743319] usb 1-1: USB disconnect, device number 47                                                                                
[42369.947419] usb 2-1: New USB device found, idVendor=2109, idProduct=0822, bcdDevice= 6.54                                            
[42369.947423] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3                                                        
[42369.947426] usb 2-1: Product: USB3.1 Hub                                                                                             
[42369.947427] usb 2-1: Manufacturer: VIA Labs, Inc.                                                                                    
[42369.947429] usb 2-1: SerialNumber: 000000001                                                                                         
[42369.979028] hub 2-1:1.0: USB hub found                                                                                               
[42369.979167] hub 2-1:1.0: 4 ports detected                                                                                            
[42370.057922] usb 1-1: new high-speed USB device number 48 using xhci_hcd                                                              
[42370.212379] usb 1-1: New USB device found, idVendor=2109, idProduct=2822, bcdDevice= 6.54                                            
[42370.212384] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3                                                        
[42370.212386] usb 1-1: Product: USB2.0 Hub                                                                                             
[42370.212388] usb 1-1: Manufacturer: VIA Labs, Inc.                                                                                    
[42370.212389] usb 1-1: SerialNumber: 000000001                                                                                         
[42370.267352] hub 1-1:1.0: USB hub found                                                                                               
[42370.267738] hub 1-1:1.0: 4 ports detected                                                                                            
[42370.624366] usb 2-1.2: new SuperSpeed Gen 1 USB device number 19 using xhci_hcd                                                      
[42370.665013] usb 2-1.2: New USB device found, idVendor=2109, idProduct=0817, bcdDevice=90.14                                          
[42370.665018] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3                                                      
[42370.665021] usb 2-1.2: Product: USB3.0 Hub                                                                                           
[42370.665023] usb 2-1.2: Manufacturer: VIA Labs, Inc.                                                                                  
[42370.665024] usb 2-1.2: SerialNumber: 000000000                                                                                       
[42370.682785] hub 2-1.2:1.0: USB hub found                                                                                             
[42370.682912] hub 2-1.2:1.0: 4 ports detected                                                                                          
[42370.974627] hp_wmi: Unknown event_id - 131073 - 0x0                                                                                  
[42371.039016] usb 1-1.2: new high-speed USB device number 49 using xhci_hcd                                                            
[42371.182223] usb 1-1.2: New USB device found, idVendor=2109, idProduct=2817, bcdDevice=90.14                                          
[42371.182239] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3                                                      
[42371.182250] usb 1-1.2: Product: USB2.0 Hub                                                                                           
[42371.182256] usb 1-1.2: Manufacturer: VIA Labs, Inc.                                                                                  
[42371.182259] usb 1-1.2: SerialNumber: 000000000                                                                                       
[42371.227096] hub 1-1.2:1.0: USB hub found                                                                                             
[42371.227522] hub 1-1.2:1.0: 4 ports detected                                                                                          
[42371.854140] usb 1-1.3: new high-speed USB device number 50 using xhci_hcd                                                            
[42371.996394] usb 1-1.3: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11                                          
[42371.996397] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0                                                      
[42371.996397] usb 1-1.3: Product: USB 2.0 Hub                                                                                          
[42372.058537] hub 1-1.3:1.0: USB hub found                                                                                             
[42372.058861] hub 1-1.3:1.0: 4 ports detected                                                                                          
[42372.061074] usb 2-1.2.3: new SuperSpeed Gen 1 USB device number 20 using xhci_hcd                                                    
[42372.073413] usb 2-1.2.3: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00                                        
[42372.073416] usb 2-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=6                                                    
[42372.073418] usb 2-1.2.3: Product: USB 10/100/1000 LAN                                                                                
[42372.073419] usb 2-1.2.3: Manufacturer: Realtek                                                                                       
[42372.073419] usb 2-1.2.3: SerialNumber: 000001                                                                                        
[42372.218738] usb 2-1.2.3: reset SuperSpeed Gen 1 USB device number 20 using xhci_hcd                                                  
[42372.256571] r8152 2-1.2.3:1.0: load rtl8153a-4 v2 02/07/20 successfully                                                              
[42372.279491] r8152 2-1.2.3:1.0 eth0: v1.11.11                                                                                         
[42372.445945] usb 1-1.3.3: new high-speed USB device number 51 using xhci_hcd                                                          
[42372.663754] usb 1-1.3.3: New USB device found, idVendor=2109, idProduct=0102, bcdDevice= 5.af                                        
[42372.663758] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3                                                    
[42372.663761] usb 1-1.3.3: Product: USB 2.0 BILLBOARD                                                                                  
[42372.663763] usb 1-1.3.3: Manufacturer: VIA Technologies Inc.                                                                         
[42372.663764] usb 1-1.3.3: SerialNumber: 0000000000000001                                                                              
[42372.854135] usb 1-1.3.4: new full-speed USB device number 52 using xhci_hcd                                                          
[42373.066353] usb 1-1.3.4: New USB device found, idVendor=0d8c, idProduct=0014, bcdDevice= 1.00                                        
[42373.066356] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0                                                    
[42373.066358] usb 1-1.3.4: Product: USB Audio Device                                                                                   
[42373.066359] usb 1-1.3.4: Manufacturer: C-Media Electronics Inc.                                                                      
[42373.359786] input: C-Media Electronics Inc. USB Audio Device as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.3/0003:0D8C:0014.0025/input/input71                                                                                           
[42373.411166] hid-generic 0003:0D8C:0014.0025: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc. USB Audio Device] on usb-0000:04:00.3-1.3.4/input3                                                                                                                
[42373.433199] r8152 2-1.2.3:1.0 enp4s0f3u1u2u3: renamed from eth0                                                                      

Salut
could you be please a bit more precise. How did you manage to work your external displays?
What did you do, to show the display in xrandr oder any other tool.
Allso be so kind and tell us, whch kernel version you are using !

Pleas give me a little help to get my configuration to run.

Thank you!

Salut

Sorry, i would like to give you more information but basically i can’t say anything helpful.

At some point the hub just started working, it worked with the last several stable kernels and i didn’t do any config.

Some observations:

  • the usb-c hub can easily overheat and will work very strangely, so don’t put other stuff on top of it.
  • I need to regulary (at least once a day) completely remove the power supply of the hub or it behaves strangely
  • For me powersaving things didn’t work well. (i tried to improve my battery run time withn TLP or PowerTop, with both i wasn’t succesfull)

I hope that i could help you a little.

Salut @fabian

any help is welcome! Lucky i am, my MST Dock (DeLock 87772) gets warm but not hot and it is running 10h a day. Do you have a model number or a manufacteur of your MST dock ?.

And yes, your experience is important. I would like to know, how you manage to run your MST Dock?
What happened, when you firstly connect your MST dock physically with your notebook?
Did you see immediately your monitors in the settings-menu?

My problem: I am not familiar with the process of successfully establishing of an MST connection under Linux from the user’s point of view. So i can not image, what is not working in my configuration!

I have a i-tec USB-C Dual Display Docking Station with Power Delivery 100 W

My tips are:

  • have dmesg --follow open in a console when you connect the hub and check if you get some errors.
  • look at the output of lsusb -tv before and after connecting the hub
  • look at the output of xrandr -q before and after connecting the hub

But basically at some point it just worked… :man_shrugging:

Salut Fabian,

i already made some checks using theses tools you mentioned.
This has been documented already in some bug issues.
(see 2028365 – Ryzen9 (5000 series) Notebook fails to initialize USB-C DP (v1.4) ports (no MST possible))
I know how to grep into linux.

I just want wo know, how you got it working. It is ok when you say:

I started my notebook with the aatached Alt-DP Hub and the external monitors woirked out of the box.

I do not know how it could work, i need ths information fr further analysis

At some point i just started and xrandr found the monitor…

… at some point means at the beginning or did you had a workout with udev before ?

I tried stuff but was never successfull, then i looked again after some days and it just workde… :man_shrugging: