public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: Mathias Nyman <mathias.nyman@linux.intel.com>
To: "Christian Schaubschläger" <christian.schaubschlaeger@gmx.at>,
	"Mika Westerberg" <mika.westerberg@linux.intel.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: USB issue on a TB4 controller?
Date: Thu, 1 Jun 2023 16:54:41 +0300	[thread overview]
Message-ID: <dd62787f-a04c-01ce-6a16-6a116f0f9c3b@linux.intel.com> (raw)
In-Reply-To: <618d9789-fc5a-10b3-6dc9-27be5bbff666@gmx.at>

On 31.5.2023 14.56, Christian Schaubschläger wrote:
> Hi,
> 
>> Attached is a patch that adds more debugging, adds a minimum
>> "power on to power good" delay, (as hub reports 0ms), and checks port link
>> states during hub initialization.
>>
>> Does it help? Could you take logs with that patch applied.
>>
>> Only dmesg with xhci and usbcore dynamic debug are needed.
>> xhci traces won't help as issue seems to be between the hub inthe dock and the NIC
> 
> patch applied, see logs in the attachment. The behaviour is unchanged.
> 
> Thanks,
> Christian

Thanks,

In the failed case the hub in the dock doesn't show any activity
on port4 where the NIC is connected. No changes, link isn't in any
error state. It looks just like any empty port.

I don't have any idea what's going on.

I guess it's not possible to connect a protocol analyzer between the
hub in the dock and the NIC?

ok success case:

[    1.712754] usb 6-2-port1: status 02a0 change 0000
[    1.713070] usb 6-2-port2: status 02a0 change 0000
[    1.713567] usb 6-2-port3: status 0203 change 0010  <- another hub
[    1.714184] usb 6-2-port4: status 0203 change 0010  <- NIC

nok failed case:

[    1.716756] usb 6-2-port1: status 02a0 change 0000
[    1.717036] usb 6-2-port2: status 02a0 change 0000
[    1.717395] usb 6-2-port3: status 0203 change 0010  <- another hub
[    1.717976] usb 6-2-port4: status 02a0 change 0000

Thanks
Mathias

  reply	other threads:[~2023-06-01 14:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-23 11:15 USB issue on a TB4 controller? Christian Schaubschläger
2023-05-26 12:36 ` Mika Westerberg
2023-05-29 10:59   ` Mathias Nyman
2023-05-30 10:13     ` Christian Schaubschläger
2023-05-30 10:50       ` Mika Westerberg
2023-05-30 12:11         ` Christian Schaubschläger
2023-05-30 12:17           ` Mika Westerberg
     [not found]             ` <a22f8874-c2b3-92a5-e858-b877872e5284@gmx.at>
     [not found]               ` <894ba559-9233-4428-69e7-7c0bf5c7556e@gmx.at>
2023-05-31 10:51                 ` Mathias Nyman
2023-05-31 11:56                   ` Christian Schaubschläger
2023-06-01 13:54                     ` Mathias Nyman [this message]
2023-06-07  6:57                       ` Christian Schaubschläger
2023-07-04 13:38                       ` Christian Schaubschläger
2023-07-06 13:35                         ` Mathias Nyman
2023-08-16  7:13                           ` Christian Schaubschläger
2023-09-04  9:31                             ` Christian Schaubschläger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd62787f-a04c-01ce-6a16-6a116f0f9c3b@linux.intel.com \
    --to=mathias.nyman@linux.intel.com \
    --cc=christian.schaubschlaeger@gmx.at \
    --cc=linux-usb@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox