usbd-serial
usbd-serial copied to clipboard
Cannot open serial port in cygwin environment.
Cygwin requires serial ports to be setup to so to say well known speed upon when it tries to open a port.
This crate usbd-serial is setting default value of data_rate in LineCoding to 8_000 . this is a problem for cygwin.
There is no way to modify data_rate from outside the crate. other than from usb host side. so easy and simple solution will be to just change the default value from 8_000 to 9_600 .