Linux Picking Up A Driver For Checking If Thunderbolt/USB4 Ports Are Functional

Written by Michael Larabel in Intel on 9 November 2020 at 12:09 AM EST. 2 Comments
Intel is contributing a new driver to the Linux kernel for determining whether Thunderbolt / USB4 ports are functional.

The DMA Traffic Test Driver does just that and is used for sending and receiving a specified number of packets on a loopback connection to see whether a port is functioning, primarily for testing purposes during hardware manufacturing.

Besides needing this new Thunderbolt/USB4 driver, a Thunderbolt/USB4 cable needs to be connected back to the host router port or making use of a special loopback dongle where the RX and TX lines are crossed.

The USB4_DMA_TEST driver (thunderbolt_dma_test kernel module) exposes its send/receive tunables via DebugFS and for initiating the test and reading back the status.

More details on this pending Intel Linux driver for USB4/Thunderbolt port testing via dma-test on Thunderbolt.git that will then likely be mainlined for Linux 5.11 if wanting to verify working functionality for a given port.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week