WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Communication with FTDI COM port

Open moisejbraver opened this issue 9 years ago • 2 comments

I am running WSL on Microsoft Windows [Version 10.0.16299.64].

I am trying to communicate with an FTDI COM port. It is mapped to COM4 on Windows, so I assume it corresponds to ttyS4. After setting the correct port settings

stty -F /dev/ttyS4 speed 2000000

I start listening to it

cat < /dev/ttyS4

and then write to the port

echo '??' > /dev/ttyS4

This is supposed to print "help" info of the devise, but no response is received.

On a real Linux system the device is mapped to ttyUSB0 (which is not present in WSL) and I am able to successfully establish the connection and communicate with the device. Am I doing something wrong, or is FTDI still not fully supported in WSL?

moisejbraver avatar Nov 27 '17 14:11 moisejbraver

I'm having the identical problem - FTDI COM Port on COM4 device works in windows and native ubuntu but not WSL. Is there a solution for this?

rj-cooper avatar Aug 15 '18 23:08 rj-cooper

Interestingly this was reported recently. Duping forward (entirely arbitrarily) to the newer one. #3422

therealkenc avatar Aug 16 '18 00:08 therealkenc