https://bugs.winehq.org/show_bug.cgi?id=38690
Bug ID: 38690 Summary: corrupted serial communications Product: Wine Version: 1.7.38 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jpyle490@gmail.com Distribution: ---
Serial communications are corrupted/laggy/ugly. Tested on a Dell Latitude D630 running Linux Mint 17.1 and Wine 1.7.38 from WineHQ PPA, as well as Wine 1.6.2 on the same hardware from the Ubuntu repo. The issue occurs whether it's the hardware 16550 serial port or a USB attached one. (In this Linux system case the USB adapter was Prolific-based.)
I observed the same symptoms on Mac OS X Mavericks, compiling Wine 1.7.43 via Macports, using an FTDI-based USB adapter.
The primary test scenario included Tera Term 4.87 talking to a Cisco router's console port at 9600 N,8,1 without flow control. Data back from the Cisco was incomplete, latent and just generally ugly. Using the same hardware and minicom running natively in either Linux or OS X there were no issues.
Tera Term to a router provided the cleanest environment in which to observe what was happening. I can't get serial communications to work properly regardless of the Windows app or the serially-connected device.
https://bugs.winehq.org/show_bug.cgi?id=38690
Jeff Pyle jpyle490@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jpyle490@gmail.com Version|1.7.38 |1.7.44 Distribution|--- |Ubuntu
--- Comment #1 from Jeff Pyle jpyle490@gmail.com --- Reproduced on 32-bit build from git (wine-1.7.44-117-gb2aa984) on a freshly installed 32-bit version of Linux Mint Rebecca 17.1. Still a Dell Latitude D630 on its real 16550 serial port.
Let me provide a bit more specificity on the symptoms. For comparison, with a Cisco router's console port connected, running minicom running directly, I press the enter key four times and see four clean router prompts:
router> router> router> router>
Doing the same test within Tera Term 4.87 via wine, I see the following:
router>router>r>ro er>r> router>
This took a few seconds to appear after the last enter keypress.
https://bugs.winehq.org/show_bug.cgi?id=38690
--- Comment #2 from Jeff Pyle jpyle490@gmail.com --- Created attachment 51629 --> https://bugs.winehq.org/attachment.cgi?id=51629 +comm trace, abridged
https://bugs.winehq.org/show_bug.cgi?id=38690
--- Comment #3 from Jeff Pyle jpyle490@gmail.com --- Created attachment 51630 --> https://bugs.winehq.org/attachment.cgi?id=51630 +comm trace, full
https://bugs.winehq.org/show_bug.cgi?id=38690
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=38690
Kirill K. Smirnov kirill.k.smirnov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kirill.k.smirnov@gmail.com
--- Comment #4 from Kirill K. Smirnov kirill.k.smirnov@gmail.com --- Confirming this behavior.
The communication is very laggish. My own input is displayed as garbage. After I type command and press Enter, teraterm moves cursor to the new line, hangs for 2-3 seconds, then quickly displays a correct output of correct command and a shell prompt. However, in spite of the text I type is echoed as garbage, it is correctly passed to the device.
Changing serial port settings (speed, flow control) does not affect the quality of communication.
Native minicom works like a charm.
115200 8N1 teraterm 4.90 wine 1.9.3
https://bugs.winehq.org/show_bug.cgi?id=38690
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #5 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-7.0-rc5?
https://bugs.winehq.org/show_bug.cgi?id=38690
Janne janne.kekkonen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |janne.kekkonen@gmail.com
--- Comment #6 from Janne janne.kekkonen@gmail.com --- Problem still occurs.
Tested: wine version 8.5 Teraterm: 4.105
I opened a serial port with teraterm. I have device which is connected to serial port and it is writing data to port with 1 second interval. So teraterm was only listening/reading. When there was traffic on serial line GUI turned very sluggish.
I tested also Windows version of putty 0.78 and it seemed to work. Data sent by the device is seen on putty screen.
Putty is 64bit application and teraterm is 32bit.
https://bugs.winehq.org/show_bug.cgi?id=38690
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |serial
https://bugs.winehq.org/show_bug.cgi?id=38690
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware
https://bugs.winehq.org/show_bug.cgi?id=38690
--- Comment #7 from Janne janne.kekkonen@gmail.com --- Bug-50591 has a patch that seems to work, it might be relevant to this bug also.