3 ms·
You can work around the serial port issue using something like Comm Tunnel: https://www.serialporttool.com/GK/comm-tunnel/ https://www.serialporttool.com/GK/co
by _xerces_ 5y ago
You can work around the serial port issue using something like Comm Tunnel:
https://www.serialporttool.com/GK/comm-tunnel/ https://www.serialporttool.com/GK/comm-tunnel/
Open Comm Tunnel and setup for your com port (from device manager) and port 2101
Then in WSL2 use socat to connect:
socat -d -d tcp-connect:172.18.96.1:2101 pty,raw,echo=0
It will output something like:
>socat[18786] N PTY is /dev/pts/2
Then from within WSL2 you know to use '/dev/pts/2' as the COM port for serial and it will connect to the COM port.
It works most of the time for me, but Comm Port seems lag if the throughput gets too much for it to handle.