Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2024 02:05:44 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        freebsd-usb@freebsd.org
Subject:   [CFT] USB xHCI DbC console on amd64
Message-ID:  <20240810.020544.1793914533481406393.hrs@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
----Security_Multipart(Sat_Aug_10_02_05_44_2024_524)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I would like more people to test the xHCI debug console driver since I
finally confirmed that it worked stably on most machines with Type-A
USB 3.0 ports. While the patchset is not commit-ready yet due to some
rough edges, you can use bootable USB memory images or temporarily
replace the kernel and loader on your environment to test console
access on the UEFI loader, kernel after boot, and via a tty device
from the userland.

Test instructions can be found at

   https://wiki.freebsd.org/HirokiSato/xhci

and the URLs for bootable images (based on stable/14 at this moment)
are available on the same page.  As described there, my patchset can
also be found in my Github repo.  If it worked (or did not work),
please report it to the freebsd-usb@ mailing list for now.  I will
update the repo and bootable images if there is any progress.

Note that you need at least a USB3 A-to-A cross cable for testing. I
am not sure how well compatible cables are available in the market,
but I have distributed confirmed cables at conferences.  If you are
interested in it, please catch me somewhere.  I will be at EuroBSDcon
in September at the earliest.

Also note that machines with only Type-C ports (especially on and
after 12th-gen Intel processors) are likely not to recognize the
A-to-A cable even if using an A-to-C adapter at this moment, while the
xHCI controller supports the debug feature itself.  It seems that the
OS needs to control the role of a Type-C USB port because Type-C ports
on a machine are usually configured to work as a USB host, not a USB
device.  I am investigating drivers of Intel UCSI, PMC Mux, xDCI, and
DWC3 found at legacy Intel processors.

-- Hiroki

----Security_Multipart(Sat_Aug_10_02_05_44_2024_524)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iMkEABMKAC4WIQRsDSNTJ8+Ax5Ae/dLbsH3Gbx9zfwUCZrZMaBAcaHJzQGZyZWVi
c2Qub3JnAAoJENuwfcZvH3N/BVICCQFGQK3gcgEhJLfJt242LnKVmstn3sr7oIkW
vy4ACvHBAC8/ByKXTq4coXhUA4PYt2hdpBJfUiw/rEIgiJ5wBcZJhAIIv1iEPTTf
CSqDquS8aLbGZg/Easj/eIfquqbARxNwYTevJzE1hAcypnEwf6UgcfnPuetJXJo/
gNsFcSQDTqJAX1g=
=O5IP
-----END PGP SIGNATURE-----

----Security_Multipart(Sat_Aug_10_02_05_44_2024_524)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240810.020544.1793914533481406393.hrs>