Overview (link)
- install USBIP on Ubuntu
sudo apt install linux-tools-5.4.0-77-generic hwdata
sudo update-alternatives --install /usr/local/bin/usbip usbip /usr/lib/linux-tools/5.4.0-77-generic/usbip 20
- install USBIP on Windows. Download and install latest .msi from this repo
- start Windows Terminal as Administrator
- list available USB-devices
- attach USB bus to WSL
usbipd wsl attach --busid <busid>
- check USB-devices in Ubuntu
Update WSL
If the terminal wants you to update WSL
- update WSL
- stop WSL
- start your distro
If it still throughs a J-Link Error try to use another USB Port on your Windows Computer.