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
pgpnfJT5RYu9O.pgp
Description: PGP signature