public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: linux-usb@vger.kernel.org
Subject: How to check the highest speed and supported alt-mode for a usb-host?
Date: Sat, 14 Jun 2025 14:55:31 +0930	[thread overview]
Message-ID: <36908687-b1b9-4cbe-aa89-e9035001070e@gmx.com> (raw)

Hi,

With more and more usb-c hosts (and their alt-modes) found in 
laptops/pcs, I'm wondering what's the most accurate way inside linux to 
check the highest speed and hopefully alt modes.

There is `lsusb -tv`, but the speed only shows upto 10Gbps, meanwhile my 
usb host supports USB4, thus I think it should be much higher:

/:  Bus 006.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 
10000M <<<
     ID 1d6b:0003 Linux Foundation 3.0 root hub
     |__ Port 001: Dev 002, If 0, Class=Imaging, Driver=[none], 5000M
         ID 18d1:4ee1 Google Inc. Nexus/Pixel Device (MTP)



Another thing is related to alt-mode, which I understand is very hard to 
check because the controller may support alt-mode but has no DP input 
connected etc.

But if there is some interface reporting the supported alt-modes of a 
host controller, it will be very helpful.

Thanks,
Qu

                 reply	other threads:[~2025-06-14  5:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=36908687-b1b9-4cbe-aa89-e9035001070e@gmx.com \
    --to=quwenruo.btrfs@gmx.com \
    --cc=linux-usb@vger.kernel.org \
    /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