
Microsoft has also contributed a command line interface to the project to both enable a USB device for sharing on Windows and seamlessly attach it from within WSL. Since WSL kernel version 5.10.60.1, the required parameters are configured out of the box, so no manual recompilation is needed.

However, the official WSL2 Linux kernel used to lack support for the USB/IP protocol, requiring users to build the kernel themselves. The usbipd-win project is all about creating a solution for sharing locally connected USB devices to other machines, including Hyper-V guests and WSL2. It means end users can perform tasks like flashing Android devices under Windows Subsystem for Linux, which are otherwise not supported by the Linux subsystem. Thanks to Microsoft's contributions to the open-source usbipd-win project, you can now enjoy USB pass-through access in WSL.


If you're an active Windows Subsystem for Linux user and want to access USB devices right from the Linux instance running under WSL, then you’ll be happy to know that there has been significant progress on this front.
