http://bugs.winehq.org/show_bug.cgi?id=16828
Summary: Nirvis CDJ: serial port mode not completely clean on FreeBSD (IEXTEN still on) Product: Wine Version: 1.1.11 Platform: PC OS/Version: FreeBSD Status: UNCONFIRMED Severity: minor Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: p-wine-bugs@ziemba.us
Created an attachment (id=18530) --> (http://bugs.winehq.org/attachment.cgi?id=18530) serial ports: turn off IEXTEN when ICANON is turned off
("man termios" for details)
When wine sets the parameters on a serial port (set_line_control()), although it turns off ICANON, it does not disable IEXTEN. On Linux it probably isn't a problem because the tty driver disables IEXTEN behavior when ICANON is off, but on FreeBSD the tty driver still gives special treatment to the input stream when ICANON is off but IEXTEN is on.
Simple fix: where ICANON is turned off, also turn off IEXTEN.
The problem is evident when running the Nirvis CDJ application, which communicates with Sony CD jukeboxes via serial port and a Slink-e controller. Without this fix it mostly works, but there are occasional subtle failures (e.g., identification of some CDs fails).
http://bugs.winehq.org/show_bug.cgi?id=16828
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=16828
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2009-01-09 12:36:56 --- The patch was committed, so this is fixed:
http://www.winehq.org/pipermail/wine-cvs/2009-January/051515.html
http://bugs.winehq.org/show_bug.cgi?id=16828
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2009-01-09 14:11:54 --- Yep.
http://bugs.winehq.org/show_bug.cgi?id=16828
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2009-01-16 10:39:44 --- Closing bugs fixed in 1.1.13.