Problem with USB-C dock

Hello,

I have a serious problem with this USB-C dock:

https://i-tec.cz/en/produkt/c31minidock4kpd-2/

Actually two problems.
First is that the USB-A ports (I can’t really test that type-C port since I don’t have anything that uses USB-C besides my laptop [Thinkpad E580] and its charger), ethernet, power delivery and HDMI are working fine. Log from dmesg:
[ 1136.239017] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 1136.352850] usb 2-2: New USB device found, idVendor=2109, idProduct=0813, bcdDevice=90.11
[ 1136.352858] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1136.352862] usb 2-2: Product: USB3.0 Hub
[ 1136.352866] usb 2-2: Manufacturer: VIA Labs, Inc.
[ 1136.356023] hub 2-2:1.0: USB hub found
[ 1136.356216] hub 2-2:1.0: 4 ports detected
[ 1136.517542] usb 1-2: new high-speed USB device number 13 using xhci_hcd
[ 1136.677515] usb 1-2: device descriptor read/64, error -71
[ 1136.947575] usb 1-2: device descriptor read/64, error -71
[ 1137.067606] usb usb1-port2: attempt power cycle
[ 1137.209143] usb 2-2.4: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 1137.332913] usb 2-2.4: New USB device found, idVendor=2109, idProduct=0813, bcdDevice=90.11
[ 1137.332919] usb 2-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1137.332922] usb 2-2.4: Product: USB3.0 Hub
[ 1137.332925] usb 2-2.4: Manufacturer: VIA Labs, Inc.
[ 1137.336503] hub 2-2.4:1.0: USB hub found
[ 1137.336710] hub 2-2.4:1.0: 4 ports detected
[ 1137.777581] usb 1-2: new high-speed USB device number 14 using xhci_hcd
[ 1137.777697] usb 1-2: Device not responding to setup address.
[ 1138.007665] usb 1-2: Device not responding to setup address.
[ 1138.227533] usb 1-2: device not accepting address 14, error -71
[ 1138.327584] usb 2-2.4.4: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[ 1138.358581] usb 2-2.4.4: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00
[ 1138.358586] usb 2-2.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 1138.358589] usb 2-2.4.4: Product: USB 10/100/1000 LAN
[ 1138.358592] usb 2-2.4.4: Manufacturer: CMI
[ 1138.358594] usb 2-2.4.4: SerialNumber: 001000001
[ 1138.517556] usb 1-2: new high-speed USB device number 15 using xhci_hcd
[ 1138.517681] usb 1-2: Device not responding to setup address.
[ 1138.747601] usb 1-2: Device not responding to setup address.
[ 1138.967534] usb 1-2: device not accepting address 15, error -71
[ 1138.967627] usb usb1-port2: unable to enumerate USB device
[ 1139.031649] usbcore: registered new interface driver r8152
[ 1139.042434] usbcore: registered new interface driver cdc_ether
[ 1139.137880] usb 2-2.4.4: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[ 1139.219157] r8152 2-2.4.4:1.0 eth0: v1.09.9

Second problem is much less obvious, after using this dock for a few minutes fan in mentioned laptop started ramping up, turns out ksoftirqd was using 100% of one core and some proceses became unresponsive.

/proc/interrupts

                CPU0       CPU1       CPU2       CPU3       CPU4       CPU5       CPU6       CPU7       
   0:          8          0          0          0          0          0          0          0  IR-IO-APIC    2-edge      timer
   1:          0          0         17          0          0          0          0          0  IR-IO-APIC    1-edge      i8042
   8:          0          0          0          0          0          0          0          1  IR-IO-APIC    8-edge      rtc0
   9:          0       8094          0          0          0          0          0          0  IR-IO-APIC    9-fasteoi   acpi
  12:          0        188          0          0          0          0          0          0  IR-IO-APIC   12-edge      i8042
  16:          0          0          0          0          0          0          0        206  IR-IO-APIC   16-fasteoi   i801_smbus
 120:          0          0          0          0          0          0          0          0  DMAR-MSI    0-edge      dmar0
 121:          0          0          0          0          0          0          0          0  DMAR-MSI    1-edge      dmar1
 122:          0          0          0          0          0          0          0          0  IR-PCI-MSI 458752-edge      PCIe PME, pciehp
 123:          0          0          0          0          0          0          0          0  IR-PCI-MSI 466944-edge      PCIe PME, aerdrv
 124:          0          0          0          0          0          0          0          0  IR-PCI-MSI 475136-edge      PCIe PME, aerdrv
 125:          0          0          0          0          0          0          0          0  IR-PCI-MSI 479232-edge      PCIe PME, aerdrv
 126:          0          0          0          0          0          0          0          0  IR-PCI-MSI 481280-edge      PCIe PME, aerdrv
 127:          0          0          0          0          0          0          0         23  IR-PCI-MSI 2097152-edge      nvme0q0
 128:      15207          0          0          0          0          0          0          0  IR-PCI-MSI 2097153-edge      nvme0q1
 129:          0      16848          0          0          0          0          0          0  IR-PCI-MSI 2097154-edge      nvme0q2
 130:          0          0      15587          0          0          0          0          0  IR-PCI-MSI 2097155-edge      nvme0q3
 131:          0          0          0      14915          0          0          0          0  IR-PCI-MSI 2097156-edge      nvme0q4
 132:          0          0          0          0      16999          0          0          0  IR-PCI-MSI 2097157-edge      nvme0q5
 133:          0          0          0          0          0      20457          0          0  IR-PCI-MSI 2097158-edge      nvme0q6
 134:          0          0          0          0          0          0      15836          0  IR-PCI-MSI 2097159-edge      nvme0q7
 135:          0          0          0          0          0          0          0      17443  IR-PCI-MSI 2097160-edge      nvme0q8
 136:          0          0          0    4910695          0          0          0          0  IR-PCI-MSI 327680-edge      xhci_hcd
 137:          0          0          0          0          0          0          0          0  IR-PCI-MSI 3145728-edge      mmc0
 138:          0          0          0          0          0          0          0          0  IR-PCI-MSI 376832-edge      ahci[0000:00:17.0]
 139:          0          0          0          0          0          0         39          0  IR-PCI-MSI 360448-edge      mei_me
 140:          0          0          0          0          0          0          0          0  IR-PCI-MSI 1572864-edge      enp3s0
 141:          0    1736570          0          0          0          0          0          0  IR-PCI-MSI 32768-edge      i915
 142:          0          0      37625          0          0          0          0          0  IR-PCI-MSI 2621440-edge      r8822be
 143:          0          0          0          0          0          0          0         16     dummy   44  rmi4_smbus
 144:          0          0          0          0          0          0          0          0      rmi4    0  rmi4-00.fn34
 145:          0          0          0          0          0          0          0          0      rmi4    1  rmi4-00.fn01
 146:          0          0          0          0          0          0         16          0      rmi4    2  rmi4-00.fn03
 147:          0          0          0          0          0          0          0          0      rmi4    3  rmi4-00.fn11
 148:          0          0          0          0          0          0          0          0      rmi4    4  rmi4-00.fn11
 149:          0          0          0          0          0          0          0          0      rmi4    5  rmi4-00.fn30
 150:          0          0          0        587          0          0          0          0  IR-PCI-MSI 514048-edge      snd_hda_intel:card0
 NMI:          0          0          0          0          0          0          0          0   Non-maskable interrupts
 LOC:     513087     734789     515662     532569     520357     495818     527954     521802   Local timer interrupts
 SPU:          0          0          0          0          0          0          0          0   Spurious interrupts
 PMI:          0          0          0          0          0          0          0          0   Performance monitoring interrupts
 IWI:          9      87271         16         17         65         10         11         11   IRQ work interrupts
 RTR:          0          0          0          0          0          0          0          0   APIC ICR read retries
 RES:      78649      78742      54895      70677      73676      33334      34711      31229   Rescheduling interrupts
 CAL:      95216      62115      91503      79876      57095      65125      68973      72245   Function call interrupts
 TLB:      24745      25333      25816      29211      23285      22411      20816      34383   TLB shootdowns
 TRM:          0          0          0          0          0          0          0          0   Thermal event interrupts
 THR:          0          0          0          0          0          0          0          0   Threshold APIC interrupts
 DFR:          0          0          0          0          0          0          0          0   Deferred Error APIC interrupts
 MCE:          0          0          0          0          0          0          0          0   Machine check exceptions
 MCP:         11         12         12         12         12         12         12         12   Machine check polls
 HYP:          0          0          0          0          0          0          0          0   Hypervisor callback interrupts
 HRE:          0          0          0          0          0          0          0          0   Hyper-V reenlightenment interrupts
 HVS:          0          0          0          0          0          0          0          0   Hyper-V stimer0 interrupts
 ERR:          0
 MIS:          0
 PIN:          0          0          0          0          0          0          0          0   Posted-interrupt notification event
 NPI:          0          0          0          0          0          0          0          0   Nested posted-interrupt event
 PIW:          0          0          0          0          0          0          0          0   Posted-interrupt wakeup event

Number in this line:

 136:          0          0          0    4910695          0          0          0          0  IR-PCI-MSI 327680-edge      xhci_hcd

was going up pretty fast, I also wasn’t able to shut down the system even after unplugging this dock.

OS: ArchLinux
Kernel: 4.19.86-1-lts [on the non-lts the problems were the same]

Bump?

Imma say update your kernel.

the non-lts kernel is 5.3.13-arch1-1

I mean, ok. I’m still gunna say its a kernel bug.

Or a bad dock sending bad data to the host?

I found the reason.

This dock comes with a cable attached to it, and since I glued this dock to the back of my monitor that cable was too short, so i also bought femC -> maleC USB cable… and it was this cable that caused issues.

I still dont uderstand why because according to the manufacturer it’s USB-C 3.1 cable… problem solved I guess.

wat

1 Like