You are not logged in.

#1 2018-11-14 16:21:09

pc-jedi
Member
Registered: 2018-11-14
Posts: 4

[solved] T480 docking station usb not detected

Hello,

I have a Lenovo T480 and the Lenovo Pro Dock (USB-C) Model 40AH.
Sadly with Arch the USB ports of the docking station do not work.
I tested them with a different Lenovo Laptop and Windows 10 to make sure they are functional and not affected by are hardware failure.

I'm using the following Kernel: 4.19.1-arch1-1-ARCH

Here some output of lsusb -t before connecting the dock:

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 3: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 6: Dev 18, If 2, Class=Communications, Driver=cdc_acm, 480M
    |__ Port 6: Dev 18, If 0, Class=Communications, Driver=cdc_mbim, 480M
    |__ Port 6: Dev 18, If 3, Class=CDC Data, Driver=cdc_acm, 480M
    |__ Port 6: Dev 18, If 1, Class=CDC Data, Driver=cdc_mbim, 480M
    |__ Port 7: Dev 9, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 9, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 10, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 8: Dev 10, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 9: Dev 11, If 0, Class=Vendor Specific Class, Driver=, 12M

After connection the dock:

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/1p, 5000M
/:  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/6p, 5000M
    |__ Port 3: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 4: Dev 27, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 4: Dev 27, If 0, Class=, Driver=, 12M
    |__ Port 6: Dev 18, If 2, Class=Communications, Driver=cdc_acm, 480M
    |__ Port 6: Dev 18, If 0, Class=Communications, Driver=cdc_mbim, 480M
    |__ Port 6: Dev 18, If 3, Class=CDC Data, Driver=cdc_acm, 480M
    |__ Port 6: Dev 18, If 1, Class=CDC Data, Driver=cdc_mbim, 480M
    |__ Port 7: Dev 9, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 9, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 10, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 8: Dev 10, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 9: Dev 11, If 0, Class=Vendor Specific Class, Driver=, 12M

Output of dmesg -w:

[12447.767991] thinkpad_acpi: docked into hotplug port replicator
[12447.932856] usb 1-4: new full-speed USB device number 27 using xhci_hcd
[12448.079586] usb 1-4: New USB device found, idVendor=17ef, idProduct=3076, bcdDevice= 0.00
[12448.079593] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12448.079598] usb 1-4: Product: USB Billboard
[12448.079602] usb 1-4: Manufacturer: Cypress Semiconductor
[12448.079606] usb 1-4: SerialNumber: 11AD1D00E82248021A300B00
[12448.085755] hid-generic 0003:17EF:3076.0011: hiddev1,hidraw0: USB HID v1.11 Device [Cypress Semiconductor USB Billboard] on usb-0000:00:14.0-4/input1
[12448.320119] pci 0000:04:00.0: [8086:15c0] type 01 class 0x060400
[12448.320176] pci 0000:04:00.0: enabling Extended Tags
[12448.320259] pci 0000:04:00.0: supports D1 D2
[12448.320260] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[12448.320501] pci 0000:05:00.0: [8086:15c0] type 01 class 0x060400
[12448.320563] pci 0000:05:00.0: enabling Extended Tags
[12448.320650] pci 0000:05:00.0: supports D1 D2
[12448.320651] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[12448.320774] pci 0000:05:01.0: [8086:15c0] type 01 class 0x060400
[12448.320836] pci 0000:05:01.0: enabling Extended Tags
[12448.320921] pci 0000:05:01.0: supports D1 D2
[12448.320922] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[12448.321038] pci 0000:05:02.0: [8086:15c0] type 01 class 0x060400
[12448.321101] pci 0000:05:02.0: enabling Extended Tags
[12448.321182] pci 0000:05:02.0: supports D1 D2
[12448.321183] pci 0000:05:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[12448.321310] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[12448.321320] pci 0000:04:00.0:   bridge window [mem 0xc4000000-0xda0fffff]
[12448.321327] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[12448.321381] pci 0000:05:00.0: PCI bridge to [bus 06]
[12448.321391] pci 0000:05:00.0:   bridge window [mem 0xda000000-0xda0fffff]
[12448.321449] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
[12448.321458] pci 0000:05:01.0:   bridge window [mem 0xc4000000-0xd9efffff]
[12448.321471] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[12448.321568] pci 0000:3c:00.0: [8086:15c1] type 00 class 0x0c0330
[12448.321606] pci 0000:3c:00.0: reg 0x10: [mem 0xd9f00000-0xd9f0ffff]
[12448.321684] pci 0000:3c:00.0: enabling Extended Tags
[12448.321781] pci 0000:3c:00.0: supports D1 D2
[12448.321783] pci 0000:3c:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[12448.321844] pci 0000:3c:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x4 link at 0000:05:02.0 (capable of 31.504 Gb/s with 8 GT/s x4 link)
[12448.321961] pci 0000:05:02.0: PCI bridge to [bus 3c]
[12448.321970] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-0xd9ffffff]
[12448.321999] pci_bus 0000:05: Allocating resources
[12448.322028] pci 0000:05:01.0: bridge window [io  0x1000-0x0fff] to [bus 07-3b] add_size 1000
[12448.322037] pci 0000:05:02.0: bridge window [io  0x1000-0x0fff] to [bus 3c] add_size 1000
[12448.322039] pci 0000:05:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3c] add_size 200000 add_align 100000
[12448.322048] pci 0000:04:00.0: bridge window [io  0x1000-0x0fff] to [bus 05-3c] add_size 2000
[12448.322051] pci 0000:04:00.0: BAR 13: no space for [io  size 0x2000]
[12448.322052] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x2000]
[12448.322053] pci 0000:04:00.0: BAR 13: no space for [io  size 0x2000]
[12448.322054] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x2000]
[12448.322058] pci 0000:05:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[12448.322059] pci 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[12448.322061] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
[12448.322062] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
[12448.322063] pci 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[12448.322064] pci 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[12448.322066] pci 0000:05:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[12448.322068] pci 0000:05:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[12448.322069] pci 0000:05:02.0: BAR 13: no space for [io  size 0x1000]
[12448.322070] pci 0000:05:02.0: BAR 13: failed to assign [io  size 0x1000]
[12448.322071] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000]
[12448.322072] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x1000]
[12448.322074] pci 0000:05:00.0: PCI bridge to [bus 06]
[12448.322079] pci 0000:05:00.0:   bridge window [mem 0xda000000-0xda0fffff]
[12448.322087] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
[12448.322092] pci 0000:05:01.0:   bridge window [mem 0xc4000000-0xd9efffff]
[12448.322096] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[12448.322102] pci 0000:05:02.0: PCI bridge to [bus 3c]
[12448.322106] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-0xd9ffffff]
[12448.322115] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[12448.322119] pci 0000:04:00.0:   bridge window [mem 0xc4000000-0xda0fffff]
[12448.322123] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[12448.323034] xhci_hcd 0000:3c:00.0: xHCI Host Controller
[12448.323039] xhci_hcd 0000:3c:00.0: new USB bus registered, assigned bus number 3
[12448.324168] xhci_hcd 0000:3c:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000000009810
[12448.324393] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[12448.324396] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[12448.324398] usb usb3: Product: xHCI Host Controller
[12448.324400] usb usb3: Manufacturer: Linux 4.19.1-arch1-1-ARCH xhci-hcd
[12448.324402] usb usb3: SerialNumber: 0000:3c:00.0
[12448.324555] hub 3-0:1.0: USB hub found
[12448.324565] hub 3-0:1.0: 2 ports detected
[12448.325265] xhci_hcd 0000:3c:00.0: xHCI Host Controller
[12448.325269] xhci_hcd 0000:3c:00.0: new USB bus registered, assigned bus number 4
[12448.325273] xhci_hcd 0000:3c:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[12448.325315] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[12448.325317] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[12448.325319] usb usb4: Product: xHCI Host Controller
[12448.325320] usb usb4: Manufacturer: Linux 4.19.1-arch1-1-ARCH xhci-hcd
[12448.325322] usb usb4: SerialNumber: 0000:3c:00.0
[12448.325533] hub 4-0:1.0: USB hub found
[12448.325545] hub 4-0:1.0: 2 ports detected
[12449.489158] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[12449.612640] usb 4-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[12449.631306] usb 4-1: New USB device found, idVendor=17ef, idProduct=3072, bcdDevice=50.23
[12449.631313] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[12449.631317] usb 4-1: Product: USB3.0 Hub             
[12449.631321] usb 4-1: Manufacturer: VIA Labs, Inc.         
[12449.636392] hub 4-1:1.0: USB hub found
[12449.636580] hub 4-1:1.0: 4 ports detected
[12450.589114] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[12450.589202] usb usb3-port1: attempt power cycle
[12450.702700] usb 4-1.4: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[12450.801355] usb 4-1.4: New USB device found, idVendor=17ef, idProduct=3072, bcdDevice=50.33
[12450.801363] usb 4-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[12450.801368] usb 4-1.4: Product: USB3.0 Hub             
[12450.801372] usb 4-1.4: Manufacturer: VIA Labs, Inc.         
[12450.814214] hub 4-1.4:1.0: USB hub found
[12450.814856] hub 4-1.4:1.0: 1 port detected
[12451.862827] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[12452.822798] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[12452.822842] usb usb3-port1: unable to enumerate USB device

Thanks in advance! :-)

Last edited by pc-jedi (2018-12-02 15:15:52)

Offline

#2 2018-11-19 19:16:54

pc-jedi
Member
Registered: 2018-11-14
Posts: 4

Re: [solved] T480 docking station usb not detected

BUMP

Still the same error with 4.19.2

Offline

#3 2018-11-28 11:05:51

JBecker
Member
Registered: 2013-09-19
Posts: 12

Re: [solved] T480 docking station usb not detected

In my case (Lenovo T840, ThinkPad CS18 Basic Dock), it helped to change the USB autosuspend settings:
In

/etc/default/grub

add

usbcore.autosuspend=-1

to

GRUB_CMDLINE_LINUX :

and run

# grub-mkconfig -o /boot/grub/grub.cfg

, after a reboot everything should be fine.

Offline

#4 2018-11-28 18:45:58

pc-jedi
Member
Registered: 2018-11-14
Posts: 4

Re: [solved] T480 docking station usb not detected

Adding

usbcore.autosuspend=-1

does not mad any changes :-/

EDIT:
But

cat /sys/module/usbcore/parameters/autosuspend

also still returns 2 and not -1.

Last edited by pc-jedi (2018-11-28 18:49:43)

Offline

#5 2018-12-02 15:15:30

pc-jedi
Member
Registered: 2018-11-14
Posts: 4

Re: [solved] T480 docking station usb not detected

Ok, I don't know why, but reinstalling the Kernel fixed the issue.

Offline

#6 Yesterday 11:18:24

JBecker
Member
Registered: 2013-09-19
Posts: 12

Re: [solved] T480 docking station usb not detected

In my case, setting config > thunderbolt 3 > Support in pre boot environment > Enabled in the BIOS seems to have solved the issue permanently.

Offline

Board footer

Powered by FluxBB