Windows Subsystem for Linux now supports USB devices

Windows Subsystem for Linux
(Image credit: Microsoft)

The Windows Subsystem for Linux (WSL) compatibility layer on Windows 11 now supports several developer-oriented USB scenarios, enabling developers to use WSL to interact with devices connected via USB. 

The WSL compatibility layer is designed for developers to enable them to use Linux binaries without leaving the comfort of their Windows workstations.

Microsoft explains that the new USB functionality takes advantage of the USB/IP protocol to forward USB traffic over the virtual network interface between Windows and WSL. While the Linux kernel has supported USB/IP since 2009, several recent changes have made it easier to use it in WSL.

Smoke and mirrors

Explaining the development, Ben McMorran, Senior Software Engineer, in the C++ Team at Microsoft wrote that building tooling for Visual Studio and Visual Studio Code to support C++ embedded device development required them to connect devices over USB. 

However, they couldn’t test their tools on WSL, since USB devices weren’t supported by WSL.

“While this functionality is still not natively available in WSL, I’m excited to announce that our summer intern, Nelson Daniel Troncoso Aldas, contributed changes to the open-source usbipd-win project to enable common developer USB scenarios like flashing an Arduino or accessing a smartcard reader,” shared McMorran. 

McMorran hasn’t said whether the existing solution can be extended to enable USB passthrough for general users. However, as McMorran notes, the ability to use USB devices via WSL is a highly requested feature, so it shouldn’t be long before the functionality lands in WSL. 

Want to code? Check out our roundup of the best laptops for programming

TOPICS
Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.

Read more
Xbox Wireless Controller
Microsoft is adding a powerful new feature for using Xbox controllers with Windows 11
a person's hands holding a black PC gaming handheld
Microsoft is finally fighting back against the rise of SteamOS by overhauling Windows 11 to be better on handhelds
Parallels Desktop 20.2
This software may finally kill Windows on desktops for good, and I think Apple should buy it now
Red wine being poured into glass
World's most popular Windows emulator finally supports OpenGL, ARM64EC and high-DPI displays
Windows 11 Start menu layout choices: Grid view
Windows 11 vs Linux for business: which operating system should you embrace?
iPhone 16 Pro in hand
Windows 11 users with iPhones: if you’re jealous of Android’s Start menu integration, here’s some good news – Apple phones are now getting it
Latest in Software & Services
TinEye website
I like this reverse image search service the most
A person in a wheelchair working at a computer.
Here’s a free way to find long lost relatives and friends
A white woman with long brown hair in a ponytail looks down at her computer in a distressed manner. She is holding her forehead with one hand and a credit card with the other
This people search finder covers all the bases, but it's not perfect
That's Them home page
Is That's Them worth it? My honest review
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Latest in News
Nikon Z5
The Nikon Z5 II could land soon – here's what to expect from Nikon's rumored entry-level full-frame camera
Google Pixel Watch 3
Google Pixel Watches hit with delayed notifications, crashing, and performance issues following Wear OS 5.1 update
Zendesk Relate 2025
Zendesk Relate 2025 - everything you need to know as the event unfolds
Disney Plus logo with popcorn
You can finally tell Disney+ to stop bugging you about that terrible Marvel show you regret starting
Google Gemini AI
Gemini can now see your screen and judge your tabs
Girl wearing Meta Quest 3 headset interacting with a jungle playset
Latest Meta Quest 3 software beta teases a major design overhaul and VR screen sharing – and I need these updates now