linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
@ 2025-08-17  8:09 bugzilla-daemon
  2025-08-17 17:18 ` [Bug 220460] " bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-17  8:09 UTC (permalink / raw)
  To: linux-usb

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

            Bug ID: 220460
           Summary: Plugging USB-C adapter into one port results in
                    `Failed to set U2 timeout to 0x3f,error code -110`
           Product: Drivers
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: USB
          Assignee: drivers_usb@kernel-bugs.kernel.org
          Reporter: pmenzel+bugzilla.kernel.org@molgen.mpg.de
        Regression: No

Created attachment 308500
  --> https://bugzilla.kernel.org/attachment.cgi?id=308500&action=edit
Output of `dmesg` (Linux 6.16.1) with dynamic debug of xhci_hcd and usbcore

Attachments for linux-usb list message [Plugging USB-C adapter into one port
results in `Failed to set U2 timeout to 0x3f,error code
-110`](https://lore.kernel.org/linux-usb/97d9420f-1a7f-433c-bdd7-b7bab6c45f00@linux.intel.com/T/#mb4ac7d8ec970fa3a3cfb451d725d28482b2ad0d5)

From Mathias’ answer:

> Could you also take logs and traces with dynamic debug and tracing enabled:
> 
> mount -t debugfs none /sys/kernel/debug
> echo 'module xhci_hcd =p' >/sys/kernel/debug/dynamic_debug/control
> echo 'module usbcore =p' >/sys/kernel/debug/dynamic_debug/control
> echo 81920 > /sys/kernel/debug/tracing/buffer_size_kb
> echo 1 > /sys/kernel/debug/tracing/events/xhci-hcd/enable
> echo 1 > /sys/kernel/debug/tracing/tracing_on
> < Reproduce issue >
> Send output of dmesg
> Send content of /sys/kernel/debug/tracing/trace

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
@ 2025-08-17 17:18 ` bugzilla-daemon
  2025-08-17 22:15 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-17 17:18 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #1 from Artem S. Tashkinov (aros@gmx.com) ---
Is this a regression?

Does it work under Windows?

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
  2025-08-17 17:18 ` [Bug 220460] " bugzilla-daemon
@ 2025-08-17 22:15 ` bugzilla-daemon
  2025-08-18  8:13 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-17 22:15 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #2 from Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) ---
> echo 81920 > /sys/kernel/debug/tracing/buffer_size_kb
> echo 1 > /sys/kernel/debug/tracing/events/xhci-hcd/enable
> echo 1 > /sys/kernel/debug/tracing/tracing_on

I wanted to attach the contents of `/sys/kernel/debug/tracing/trace`, but
Bugzilla (Nginx) aborts with error 413 Request Entity Too Large for the 4 MB
file despite listing 5 MB as limit. So, I uploaded it [1], until Bugzilla setup
is fixed.


[1]:
https://owww.molgen.mpg.de/~pmenzel/20250817--dell-xps-13-9370--linux-6.16.1-messages--tracing-trace.txt

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
  2025-08-17 17:18 ` [Bug 220460] " bugzilla-daemon
  2025-08-17 22:15 ` bugzilla-daemon
@ 2025-08-18  8:13 ` bugzilla-daemon
  2025-08-18  8:26 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-18  8:13 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #3 from Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) ---
Created attachment 308513
  --> https://bugzilla.kernel.org/attachment.cgi?id=308513&action=edit
Content of `/sys/kernel/debug/tracing/trace`

The bugzilla.kernel.org admins fixed the issue, so I attach it here, and
invalidate the URL from the last comment.

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
                   ` (2 preceding siblings ...)
  2025-08-18  8:13 ` bugzilla-daemon
@ 2025-08-18  8:26 ` bugzilla-daemon
  2025-08-21 14:57 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-18  8:26 UTC (permalink / raw)
  To: linux-usb

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

Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #308513|0                           |1
        is obsolete|                            |

--- Comment #4 from Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) ---
Created attachment 308514
  --> https://bugzilla.kernel.org/attachment.cgi?id=308514&action=edit
Content of `/sys/kernel/debug/tracing/trace`

Looks like the file wasn’t fully downloaded to my system. Try again, and
obsolete the other file.

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
                   ` (3 preceding siblings ...)
  2025-08-18  8:26 ` bugzilla-daemon
@ 2025-08-21 14:57 ` bugzilla-daemon
  2025-08-21 15:05 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-21 14:57 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #5 from Mathias Nyman (mathias.nyman@linux.intel.com) ---
Thanks, trace show the link between host and hub goes to an error state
immediately after enabling U1 and U2 link power save states.

Hub driver sends a SetPortFeature U1 timeout 41us to hub port 1.
hub is now allowed to set port 1 link to U1 power save state after 41us
of inactivity:

862.173255: xhci_queue_trb: CTRL: @0x00000000fffc7600 bRequestType 23 bRequest
03 wValue 0017 wIndex 2901 wLength 0 length 8 TD size 0 intr 0 type 'Setup
Stage' flags I:i:c

Tell xHCI host that the new MEL (maximum exit latency) to get link up and
running has changed, set a new value of 747us:

862.173694: xhci_dbg_context_change: Set up evaluate context for LPM MEL
change.
862.173696: xhci_configure_endpoint: RS 00001 super-speed Ctx Entries 3 MEL 747
us Port# 4/0 [TT Slot 0 Port# 0 TTT 0 Intr 0] Addr 0 State enabled/disabled

Hub driver sends a SetPortFeature U2 timeout 16128us to hub port 1.
hub is now allowed to set port 1 link to U1 power save state after 16128us
of inactivity:

862.173771: xhci_queue_trb: CTRL: @0x00000000fffc7620 bRequestType 23 bRequest
03 wValue 0018 wIndex 3f01 wLength 0 length 8 TD size 0 intr 0 type 'Setup
Stage' flags I:i:c

Link suddenly goes to error (Inactive) state, most likely due to failure to 
enter U1/U2. Could also be related to bad U1,U2 MEL or SEL (system exit latecy)
values. 

862.175770: xhci_handle_event: EVENT: @0x00000000ff8facd0 TRB 0000000004000000
status 'Success' len 0 slot 0 ep 0 type 'Port Status Change Event' flags e:c
862.175802: xhci_handle_port_status: port 4-1: 0x004202c0 Powered Not-connected
Disabled Link:Inactive PortSpeed:0 Change: CSC PLC Wake:

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
                   ` (4 preceding siblings ...)
  2025-08-21 14:57 ` bugzilla-daemon
@ 2025-08-21 15:05 ` bugzilla-daemon
  2025-08-21 15:26 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-21 15:05 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #6 from Mathias Nyman (mathias.nyman@linux.intel.com) ---
Could you take the same logs when connecting the dock to the working USB-C
port?

Also output of "lsusb -v" (as root) with working dock could be useful

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
                   ` (5 preceding siblings ...)
  2025-08-21 15:05 ` bugzilla-daemon
@ 2025-08-21 15:26 ` bugzilla-daemon
  2025-08-22 12:12 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-21 15:26 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #7 from Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) ---
Yes, I am going to do so later. Just to avoid misunderstandings:

1.  Even with the error messages, the USB-C hub seems to work. (I just tested
the Ethernet port though.)
2.  Does “working dock“ dock mean, the USB-C port where I get no error
messages?

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
                   ` (6 preceding siblings ...)
  2025-08-21 15:26 ` bugzilla-daemon
@ 2025-08-22 12:12 ` bugzilla-daemon
  2025-08-22 12:14 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-22 12:12 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #8 from Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) ---
Created attachment 308535
  --> https://bugzilla.kernel.org/attachment.cgi?id=308535&action=edit
Output of `sudo lsusb -v` with LMP adapter connected to left USB-C port with no
errors/warnings

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
                   ` (7 preceding siblings ...)
  2025-08-22 12:12 ` bugzilla-daemon
@ 2025-08-22 12:14 ` bugzilla-daemon
  2025-08-22 13:20 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-22 12:14 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #9 from Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) ---
Created attachment 308536
  --> https://bugzilla.kernel.org/attachment.cgi?id=308536&action=edit
Linux 6.16.1 messages (`dmesg`) with LMP adapter connected to left USB-C ports
(first with erros, then second without)

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
                   ` (8 preceding siblings ...)
  2025-08-22 12:14 ` bugzilla-daemon
@ 2025-08-22 13:20 ` bugzilla-daemon
  2025-08-25  9:16 ` bugzilla-daemon
  2025-08-25  9:16 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-22 13:20 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #10 from Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) ---
Created attachment 308537
  --> https://bugzilla.kernel.org/attachment.cgi?id=308537&action=edit
Content of `/sys/kernel/debug/tracing/trace` with LMP plugged first into left
port with errors, and then to other left port without errors

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
                   ` (9 preceding siblings ...)
  2025-08-22 13:20 ` bugzilla-daemon
@ 2025-08-25  9:16 ` bugzilla-daemon
  2025-08-25  9:16 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-25  9:16 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #11 from Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) ---
Created attachment 308545
  --> https://bugzilla.kernel.org/attachment.cgi?id=308545&action=edit
Output of `dmesg` (Linux 6.16.1) with dynamic debug of xhci_hcd and usbcore,
USB-C connector plugged both ways

It turns out, that I am only able to reproduce the issue, when the USB-C
connector is plugged in a certain position. Without wrangling the cable, it can
be described, that it happens with the adapter logo on the top side, and switch
it (and the connector) upside down, it’s not reproducible. Does that make
sense? New logs attached.

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`
  2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
                   ` (10 preceding siblings ...)
  2025-08-25  9:16 ` bugzilla-daemon
@ 2025-08-25  9:16 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2025-08-25  9:16 UTC (permalink / raw)
  To: linux-usb

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

--- Comment #12 from Paul Menzel (pmenzel+bugzilla.kernel.org@molgen.mpg.de) ---
Created attachment 308546
  --> https://bugzilla.kernel.org/attachment.cgi?id=308546&action=edit
Content of `/sys/kernel/debug/tracing/trace`, USB-C connector plugged both ways

-- 
You may reply to this email to add a comment.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-08-25  9:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-17  8:09 [Bug 220460] New: Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110` bugzilla-daemon
2025-08-17 17:18 ` [Bug 220460] " bugzilla-daemon
2025-08-17 22:15 ` bugzilla-daemon
2025-08-18  8:13 ` bugzilla-daemon
2025-08-18  8:26 ` bugzilla-daemon
2025-08-21 14:57 ` bugzilla-daemon
2025-08-21 15:05 ` bugzilla-daemon
2025-08-21 15:26 ` bugzilla-daemon
2025-08-22 12:12 ` bugzilla-daemon
2025-08-22 12:14 ` bugzilla-daemon
2025-08-22 13:20 ` bugzilla-daemon
2025-08-25  9:16 ` bugzilla-daemon
2025-08-25  9:16 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).