Skip to content

Instantly share code, notes, and snippets.

@mozram
Created May 1, 2021 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mozram/2e8a930d391aa4242588c3917839d218 to your computer and use it in GitHub Desktop.
Save mozram/2e8a930d391aa4242588c3917839d218 to your computer and use it in GitHub Desktop.
WSL2 USB IP Setup

USB Support for WSL2

WSL2 does not support USB natively. However, USP IP implementation allow us to enable USB support for WSL2.

Reference

  1. https://github.com/cezanne/usbip-win
  2. https://github.com/rpasek/usbip-wsl2-instructions

Assumption

  1. WSL2 installed and running (mine running Ubuntu)

Setup Step For Windows

  1. Download Windows version of USB IP: https://github.com/Medstar117/cnc3-origin-mod-installer/releases
  2. Extract anywhere you like
  3. Install driver and cert. Refer reference #1
  4. Compile new WSL2 Kernel. I'm using release tag 5.10. Refer https://github.com/rpasek/usbip-wsl2-instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment