https://bugs.winehq.org/show_bug.cgi?id=49752
--- Comment #12 from amad4wine2020@gmail.com --- Well, I have tried this patch:
diff -Naru wine-6.0-rc6.orig/dlls/ntdll/unix/serial.c wine-6.0-rc6/dlls/ntdll/unix/serial.c --- wine-6.0-rc6.orig/dlls/ntdll/unix/serial.c 2021-01-08 23:03:21.000000000 +0100 +++ wine-6.0-rc6/dlls/ntdll/unix/serial.c 2021-01-12 03:55:14.352020992 +0100 @@ -598,9 +598,9 @@ { struct termios port;
- if ((shf->FlowReplace & (SERIAL_RTS_CONTROL | SERIAL_RTS_HANDSHAKE)) == - (SERIAL_RTS_CONTROL | SERIAL_RTS_HANDSHAKE)) - return STATUS_NOT_SUPPORTED; +// if ((shf->FlowReplace & (SERIAL_RTS_CONTROL | SERIAL_RTS_HANDSHAKE)) == +// (SERIAL_RTS_CONTROL | SERIAL_RTS_HANDSHAKE)) +// return STATUS_NOT_SUPPORTED;
if (tcgetattr(fd, &port) == -1) {
Now the program shows 'Device not responding' instead of 'Selected serial port not exist', even when a device is connected.