Banana Moderator


Joined: 21 May 2004 Posts: 1966 Location: Germany
|
Posted: Sun Dec 18, 2022 7:00 pm Post subject: Problems with ThinkPad Thunderbolt 3 Dock [solved] |
|
|
After getting my laptop up and running (https://forums.gentoo.org/viewtopic-t-1159183-highlight-.html) I now have a problem with a Lenovo ThinkPad Thunderbolt 3 Dock.
The following devices are attachted: Keyboard, mouse (both usb), monitor (DP) and network. Everything attached and connected to the thunderbolt/usb-c connection and booted: USB and monitor works with any problems. Network does not.
Doing a unplug of the thunderbolt connection the laptop detects it and switches the display to laptop only. Good so far. But reconnect the thunderbolt connection does only result a working monitor and nothing more. No USB or network. Only a reboot does solve this situation.
Things I've tried so far:
- Using boltctl to authorized the dock and switched to policy auto
- Using 6.1 kernel
- Enabled thunderbolt and UBS4 configs in kernel
- Enabled acpi hotplug
- Switching USB ports after a reconnect
boltctl
Code: | ● Lenovo ThinkPad Thunderbolt 3 Dock
├─ type: peripheral
├─ name: ThinkPad Thunderbolt 3 Dock
├─ vendor: Lenovo
├─ uuid: 0026905d-f3af-0801-ffff-ffffffffffff
├─ generation: Thunderbolt 3
├─ status: authorized
│ ├─ domain: 91f5ebaf-4c97-8780-ffff-ffffffffffff
│ ├─ rx speed: 40 Gb/s = 2 lanes * 20 Gb/s
│ ├─ tx speed: 40 Gb/s = 2 lanes * 20 Gb/s
│ └─ authflags: none
├─ authorized: Sun 18 Dec 2022 06:40:46 PM UTC
├─ connected: Sun 18 Dec 2022 06:40:46 PM UTC
└─ stored: Sun 18 Dec 2022 04:56:30 PM UTC
├─ policy: auto
└─ key: no |
dmesg Disconnection event
Code: |
....
[ 37.811039] thunderbolt 1-1: device disconnected
[ 37.862994] thinkpad_acpi: undocked from hotplug port replicator
[ 39.587160] xhci_hcd 0000:52:00.0: xHCI host controller not responding, assume dead
[ 39.587173] xhci_hcd 0000:52:00.0: HC died; cleaning up
[ 39.587206] usb 5-2: USB disconnect, device number 2
[ 39.587209] usb 5-2.1: USB disconnect, device number 3
[ 39.587210] usb 5-2.1.1: USB disconnect, device number 6
[ 39.587211] usb 5-2.1.1.2: USB disconnect, device number 8
[ 39.587290] usb 5-2.5: Failed to suspend device, error -110
[ 39.587292] usb 6-2: USB disconnect, device number 2
[ 39.587293] usb 6-2.1: USB disconnect, device number 3
[ 39.587294] usb 6-2.1.2: USB disconnect, device number 4
[ 39.587296] usb 6-2.1.2: Failed to disable LTM before suspend
[ 39.587298] usb 6-2.1.2: Failed to suspend device, error -12
[ 39.612517] usb 5-2.3: USB disconnect, device number 4
[ 39.657320] usb 5-2.4: USB disconnect, device number 5
[ 39.707295] usb 5-2.5: USB disconnect, device number 7
[ 42.891616] notification-da[5780]: segfault at 968 ip 00007f952ac977a0 sp 00007fff259acf20 error 4 in libX11.so.6.4.0[7f952ac85000+8a000]
[ 42.891639] Code: 54 49 89 f4 55 48 89 fd 48 83 ec 50 64 48 8b 04 25 28 00 00 00 48 89 44 24 48 31 c0 48 8d 05 3f 8a 08 00 48 85 f6 4c 0f 44 e0 <48> 8b 87 68 09 00 00 48 85 c0 74 02 ff 10 48 8d 4c 24 18 4c 8d 4c
[ 55.866878] thinkpad_acpi: undocked from hotplug port replicator
[ 58.698356] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 62.770303] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 62.770483] usb usb2-port3: attempt power cycle
[ 63.830769] thunderbolt 1-1: new device found, vendor=0x108 device=0x1720
[ 63.830772] thunderbolt 1-1: Lenovo ThinkPad Thunderbolt 3 Dock
[ 67.154360] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 71.226314] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 71.226476] usb usb2-port3: unable to enumerate USB device
|
Complete dmesg: https://delta-labs.org/sp/HtI
lspci -kk : https://delta-labs.org/sp/DC0
Update
I'm really not sure what was it but it works now. I've rebooted with an fedora live usb stick and tried it there. It worked out of the box. Then I compared lspci and found the missing usb network driver. But then I did some more stuff in the kernel config and I can not remember which one was the corrent one which made it work.
Here is the diff of the old and current kernel config.
Code: | diff config-6.1.0-gentoo.old config-6.1.0-gentoo
530a531
> # CONFIG_ACPI_EXTLOG is not set
1309c1310
< # CONFIG_HOTPLUG_PCI_PCIE is not set
---
> CONFIG_HOTPLUG_PCI_PCIE=y
1879c1880,1889
< # CONFIG_USB_NET_DRIVERS is not set
---
> CONFIG_USB_NET_DRIVERS=y
> # CONFIG_USB_CATC is not set
> # CONFIG_USB_KAWETH is not set
> # CONFIG_USB_PEGASUS is not set
> # CONFIG_USB_RTL8150 is not set
> CONFIG_USB_RTL8152=y
> # CONFIG_USB_LAN78XX is not set
> # CONFIG_USB_USBNET is not set
> # CONFIG_USB_HSO is not set
> # CONFIG_USB_IPHETH is not set
1987,2000c1997
< CONFIG_MOUSE_PS2=y
< CONFIG_MOUSE_PS2_ALPS=y
< CONFIG_MOUSE_PS2_BYD=y
< CONFIG_MOUSE_PS2_LOGIPS2PP=y
< CONFIG_MOUSE_PS2_SYNAPTICS=y
< CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y
< CONFIG_MOUSE_PS2_CYPRESS=y
< CONFIG_MOUSE_PS2_LIFEBOOK=y
< CONFIG_MOUSE_PS2_TRACKPOINT=y
< # CONFIG_MOUSE_PS2_ELANTECH is not set
< # CONFIG_MOUSE_PS2_SENTELIC is not set
< # CONFIG_MOUSE_PS2_TOUCHKIT is not set
< CONFIG_MOUSE_PS2_FOCALTECH=y
< CONFIG_MOUSE_PS2_SMBUS=y
---
> # CONFIG_MOUSE_PS2 is not set
2012,2037c2009
< CONFIG_INPUT_MISC=y
< # CONFIG_INPUT_AD714X is not set
< # CONFIG_INPUT_BMA150 is not set
< # CONFIG_INPUT_E3X0_BUTTON is not set
< # CONFIG_INPUT_PCSPKR is not set
< # CONFIG_INPUT_MMA8450 is not set
< # CONFIG_INPUT_APANEL is not set
< # CONFIG_INPUT_ATLAS_BTNS is not set
< # CONFIG_INPUT_ATI_REMOTE2 is not set
< # CONFIG_INPUT_KEYSPAN_REMOTE is not set
< # CONFIG_INPUT_KXTJ9 is not set
< # CONFIG_INPUT_POWERMATE is not set
< # CONFIG_INPUT_YEALINK is not set
< # CONFIG_INPUT_CM109 is not set
< # CONFIG_INPUT_UINPUT is not set
< # CONFIG_INPUT_PCF8574 is not set
< # CONFIG_INPUT_DA7280_HAPTICS is not set
< # CONFIG_INPUT_ADXL34X is not set
< # CONFIG_INPUT_IMS_PCU is not set
< # CONFIG_INPUT_IQS269A is not set
< # CONFIG_INPUT_IQS626A is not set
< # CONFIG_INPUT_IQS7222 is not set
< # CONFIG_INPUT_CMA3000 is not set
< # CONFIG_INPUT_IDEAPAD_SLIDEBAR is not set
< # CONFIG_INPUT_DRV2665_HAPTICS is not set
< # CONFIG_INPUT_DRV2667_HAPTICS is not set
---
> # CONFIG_INPUT_MISC is not set
2931c2903,2906
< # CONFIG_LOGO is not set
---
> CONFIG_LOGO=y
> CONFIG_LOGO_LINUX_MONO=y
> CONFIG_LOGO_LINUX_VGA16=y
> CONFIG_LOGO_LINUX_CLUT224=y
3102c3077
< CONFIG_HID_A4TECH=y
---
> # CONFIG_HID_A4TECH is not set
3105c3080
< CONFIG_HID_APPLE=y
---
> # CONFIG_HID_APPLE is not set
3120c3095
< CONFIG_HID_CYPRESS=y
---
> # CONFIG_HID_CYPRESS is not set
3126c3101
< CONFIG_HID_EZKEY=y
---
> # CONFIG_HID_EZKEY is not set
3141c3116
< CONFIG_HID_GYRATION=y
---
> # CONFIG_HID_GYRATION is not set
3144c3119
< # CONFIG_HID_JABRA is not set
---
> CONFIG_HID_JABRA=y
3146c3121
< CONFIG_HID_KENSINGTON=y
---
> # CONFIG_HID_KENSINGTON is not set
3162c3137
< CONFIG_HID_REDRAGON=y
---
> # CONFIG_HID_REDRAGON is not set
3164c3139
< CONFIG_HID_MONTEREY=y
---
> # CONFIG_HID_MONTEREY is not set
3168c3143
< CONFIG_HID_NTRIG=y
---
> # CONFIG_HID_NTRIG is not set
3170,3171c3145
< CONFIG_HID_PANTHERLORD=y
< CONFIG_PANTHERLORD_FF=y
---
> # CONFIG_HID_PANTHERLORD is not set
3173c3147
< CONFIG_HID_PETALYNX=y
---
> # CONFIG_HID_PETALYNX is not set
3183c3157
< CONFIG_HID_SAMSUNG=y
---
> # CONFIG_HID_SAMSUNG is not set
3186,3187c3160
< CONFIG_HID_SONY=y
< # CONFIG_SONY_FF is not set
---
> # CONFIG_HID_SONY is not set
3191c3164
< CONFIG_HID_SUNPLUS=y
---
> # CONFIG_HID_SUNPLUS is not set
3196c3169
< CONFIG_HID_TOPSEED=y
---
> # CONFIG_HID_TOPSEED is not set
3269c3242
< # CONFIG_USB_XHCI_PLATFORM is not set
---
> CONFIG_USB_XHCI_PLATFORM=y
3275c3248
< # CONFIG_USB_EHCI_HCD_PLATFORM is not set
---
> CONFIG_USB_EHCI_HCD_PLATFORM=y
3291c3264
< CONFIG_USB_PRINTER=y
---
> # CONFIG_USB_PRINTER is not set
3377c3350,3352
< # CONFIG_TYPEC_TCPCI is not set
---
> CONFIG_TYPEC_TCPCI=y
> # CONFIG_TYPEC_RT1711H is not set
> # CONFIG_TYPEC_TCPCI_MAXIM is not set
3486a3462,3482
> CONFIG_EDAC=y
> CONFIG_EDAC_LEGACY_SYSFS=y
> # CONFIG_EDAC_DEBUG is not set
> CONFIG_EDAC_DECODE_MCE=y
> # CONFIG_EDAC_AMD64 is not set
> # CONFIG_EDAC_E752X is not set
> # CONFIG_EDAC_I82975X is not set
> # CONFIG_EDAC_I3000 is not set
> # CONFIG_EDAC_I3200 is not set
> # CONFIG_EDAC_IE31200 is not set
> # CONFIG_EDAC_X38 is not set
> # CONFIG_EDAC_I5400 is not set
> # CONFIG_EDAC_I7CORE is not set
> # CONFIG_EDAC_I5000 is not set
> # CONFIG_EDAC_I5100 is not set
> # CONFIG_EDAC_I7300 is not set
> # CONFIG_EDAC_SBRIDGE is not set
> # CONFIG_EDAC_SKX is not set
> # CONFIG_EDAC_I10NM is not set
> # CONFIG_EDAC_PND2 is not set
> CONFIG_EDAC_IGEN6=y
3891c3887
< # CONFIG_RAS is not set
---
> CONFIG_RAS=y |
The CONFIG_HOTPLUG_PCI_PCIE=y is what is odd. I'm really sure I've changed this already... |
|