Windows WSL (Windows-Subsystem for Linux)

Windows WSL provides you with an native linux environment within windows. If you already set-up windows WSL, you can go to the description on how to bridge the USB-devices to it.

Installing WSL

Open a power shell as administrator and enter following commands:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Restart your machine. Open again a power shell as administrator, and execute:

wsl --install

Bridging the GECKO5Education/Modular to the WSL

In normal circumstances, your GECKO5Education/Modular will not show up in the WSL-environment. To be able to use uspipd-win. Detailed install instructions can be found here. After uspipd-win is installed, you have to reboot your computer.

Installing the required tools

Open a WSL shell and follow the instructions for linux.

Using the GECKO5Education/Modular in the WSL

To be able to use the GECKO5Education/Modular in the WSL environment, following steps are required:

  1. Plug the GECKO5Education/Modular into your computer.

  2. Open a WSL shell.

  3. Open a power shell as administrator.

  4. Execute in the power shell:

    usbpid list
    
  5. In the output, look for the BUSID for the device:

    0403:6010 USB Serial Converter A, USB Serial Converter B

  6. in the power shell type (where you replace BUSID by the info found in the previous step):

    usbipd bind --force --busid BUSID
    usbipd attach --wsl --busid BUSID
    
  7. In your WSL shell you should now be able to see the GECKO5Education/Modular by executing:

    lsusb
    

Important

  1. Never close the power shell, as the connection to the WSL will be disconnected.

  2. Each time you disconnect your GECKO5Education/Modular from you computer, you have to follow points 1)..7) again.