Ability to connect WSL to remote USB interfaces with Digi Anywhere USB
Problem: need to test embedded devices located in a lab, while using WSL2. The lab has Digi's AnywhereUSB devices.
- cannot use USBIPD (it does not recognize the remote hub as a usb hub)
- cannot use Digi's debian package on WSL
- cannot export serial ports directly from Windows11 to WSL
Describe the solution you'd like A standard way to be able to use kernel drivers and, hopefully, some of the well-known drivers available as modules. and/or A way to fix USBIPD to recognize remote hubs or at least remote ports or remote devices.
Describe alternatives you've considered Tried to "make" Digi's AnywhereUSB RealPort debian package, it fails on WSL Tried connecting the usb port from windows to WSL, usbipd fails. Tried mapping a serial port directly, it fails (the remote device is an FTDI cable and it cannot map the serial port to one that WSL sees directly).
Additional context Win11, WSL2, Ubuntu - attempting to use a remote usb-to-serial FTDI cable connected to a Digi AnywhereUSB remote USB hub. Port connects fine to the win11 host, just not to Linux.
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
The script will output the path of the log file once done.
If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here
Once completed please upload the output files to this Github issue.
Click here for more info on logging If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
/feature
Diagnostic information
Found '/feature', adding tag 'feature'