Skip to contentSkip to conversation

New: "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?" Tiger Lake-LP Thunderbolt 4 [8086:9a13]

Bug 217744 [email protected] 1 participant 7 messages Aug 1, 2023 – Aug 2, 2023 USB

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=217744

            Bug ID: 217744
           Summary: "usb usb2-port3: Cannot enable. Maybe the USB cable is
                    bad?" Tiger Lake-LP Thunderbolt 4 [8086:9a13]
           Product: Drivers
           Version: 2.5
          Hardware: Intel
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: USB
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 304746
--> https://bugzilla.kernel.org/attachment.cgi?id=304746&action=edit
kernel log v6.5-rc4

On resume from suspend, since at least v6.1 and including v6.5-rc4 - an external USB Ethernet device fails to resume due to:

usb usb2-port3: Cannot enable. Maybe the USB cable is bad?

Linux version 6.5.0-rc4+debian+tj (root@linux-builder) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #67 SMP PREEMPT_DYNAMIC Mon Jul 31 22:25:03 BST 2023

DMI: LENOVO 20W6001WUS/20W6001WUS, BIOS N34ET53W (1.53 ) 08/31/2022

The affected owner (nickname 'Chosen_') and myself worked in Matrix Linux room to narrow down the cause by building and testing v6.5-rc4 when the Debian distro v6.1 showed the problem. There is no difference in the symptoms or the kernel messages between the versions.

Attached is the kernel log, lspci -nnk and lsusb -vt. The device is:

/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M

    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 3: Dev 5, If 0, Class=Hub, Driver=hub/4p, 10000M
        ID 17ef:30ab Lenovo 
        |__ Port 1: Dev 6, If 0, Class=Vendor Specific Class, Driver=r8152,
5000M
            ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet
Adapter
        |__ Port 3: Dev 7, If 0, Class=Hub, Driver=hub/4p, 10000M
            ID 17ef:30ad Lenovo 

Which seems to be connected via the host controller on

00:0d.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller [8086:9a13] (rev 01)
Subsystem: Lenovo Tiger Lake-LP Thunderbolt 4 USB Controller
[17aa:22c9]
Kernel driver in use: xhci_hcd

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 217744] "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?" Tiger Lake-LP Thunderbolt 4 [8086:9a13]

https://bugzilla.kernel.org/show_bug.cgi?id=217744

--- Comment #1 from TJ ([email protected]) ---
Created attachment 304747
--> https://bugzilla.kernel.org/attachment.cgi?id=304747&action=edit
lspci -nnk

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 217744] "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?" Tiger Lake-LP Thunderbolt 4 [8086:9a13]

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217744

--- Comment #2 from TJ ([email protected]) ---
Created attachment 304748
--> https://bugzilla.kernel.org/attachment.cgi?id=304748&action=edit
lsusb -vt

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 217744] Resume: "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?" Tiger Lake-LP Thunderbolt 4 [8086:9a13]

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217744

Bagas Sanjaya ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Bagas Sanjaya ([email protected]) --- (In reply to TJ from comment #0)

Quoted 32 lines

Created attachment 304746 [details]
kernel log v6.5-rc4

On resume from suspend, since at least v6.1 and including v6.5-rc4 - an external USB Ethernet device fails to resume due to:

usb usb2-port3: Cannot enable. Maybe the USB cable is bad?

Linux version 6.5.0-rc4+debian+tj (root@linux-builder) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #67 SMP PREEMPT_DYNAMIC Mon Jul 31 22:25:03 BST 2023

DMI: LENOVO 20W6001WUS/20W6001WUS, BIOS N34ET53W (1.53 ) 08/31/2022

The affected owner (nickname 'Chosen_') and myself worked in Matrix Linux room to narrow down the cause by building and testing v6.5-rc4 when the Debian distro v6.1 showed the problem. There is no difference in the symptoms or the kernel messages between the versions.

Attached is the kernel log, lspci -nnk and lsusb -vt. The device is:

/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M

    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 3: Dev 5, If 0, Class=Hub, Driver=hub/4p, 10000M
        ID 17ef:30ab Lenovo 
        |__ Port 1: Dev 6, If 0, Class=Vendor Specific Class, Driver=r8152,
5000M
            ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit
Ethernet Adapter
        |__ Port 3: Dev 7, If 0, Class=Hub, Driver=hub/4p, 10000M
            ID 17ef:30ad Lenovo 
Quoted 7 lines

Which seems to be connected via the host controller on

00:0d.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller [8086:9a13] (rev 01)
Subsystem: Lenovo Tiger Lake-LP Thunderbolt 4 USB Controller
[17aa:22c9]
Kernel driver in use: xhci_hcd

Does v6.0 not have this issue? Or is it hardware issue too?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 217744] Resume: "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?" Tiger Lake-LP Thunderbolt 4 [8086:9a13]

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217744

--- Comment #4 from TJ ([email protected]) ---
(In reply to Bagas Sanjaya from comment #3)

Quoted 1 line

Does v6.0 not have this issue? Or is it hardware issue too?

Cannot say. The system when presented has Debian 12 amd64 which uses v6.1 kernel; Trying latest mainline was to test if the issue has been fixed since.

I've asked the owner to update the PC to the most recent firmware in case there is some issue there but I do not see anything in the firmware changelog to indicate it.

It seems to be the Lenovo Thinkpad USB3.x dock - I have seen other people mention something like this in support chat channels but never focused on those issues myself so no idea if this is a systemic problem.

Hopefully the owner can contribute more precise detail here with the precise make/model/ID of the external dock.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 217744] Resume: "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?" Tiger Lake-LP Thunderbolt 4 [8086:9a13]

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217744

--- Comment #5 from TJ ([email protected]) ---
The owner tells me the USB dock is "lenovo thinkpad universal usb-c dock p/n:
40AY009US"

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 217744] Resume: "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?" Tiger Lake-LP Thunderbolt 4 [8086:9a13]

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217744

Christian Schaubschläger ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |christian.schaubschlaeger@g
                   |                            |mx.at

--- Comment #6 from Christian Schaubschläger ([email protected]) --- Hi,

this sounds a bit like this:

https://www.spinics.net/lists/linux-usb/msg242040.html

I have a very similar issue with this Lenovo dock (and on Dell WD docks, too), although on Dell Laptops. But I do remember that I had this on a Lenovo laptop, too.

However, I observed this not after suspend (never tried), but after a reboot:
when I go into the UFEI firmware menu, I cannot access the external network interface on the dock (for doing a PXE boot over the net). Can you verify that in your case this is the same? (I.e. after power off the net interface is available in the UEFI firmware, but after a reboot it is not).

Regards,
Christian

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.