WSL Connect USB Devices

This is a guide to help connect USB devices to your remote WSL setup (all of this is copied from the original documentation):

Install the USBIPD-WIN project (only need to do this the first time):

Support for connecting USB devices is not natively available in WSL, so you will need to install the open-source usbipd-win project.

  1. Go to the latest release page for the usbipd-win project.
  2. Select the .msi file, which will download the installer. (You may get a warning asking you to confirm that you trust this download).
  3. Run the downloaded usbipd-win_x.msi installer file.

In PowerShell administrator: 

  1. usbipd list
  2. usbipd bind --busid <busid>
    1. put the bus id (ex. 4-4) for <busid>
  3. usbipd attach --wsl --busid <busid>

In Ubuntu terminal:

  1. lsusb
    1. confirm it is connected to remote setup because you will see it listed