[Bug 593] New - Serial port speed 57600 not accepted

wine-bugs at winehq.com wine-bugs at winehq.com
Sat Apr 20 11:44:49 CDT 2002


http://bugs.codeweavers.com/show_bug.cgi?id=593

*** shadow/593	Sat Apr 20 11:44:49 2002
--- shadow/593.tmp.10565	Sat Apr 20 11:44:49 2002
***************
*** 0 ****
--- 1,51 ----
+ +============================================================================+
+ | Serial port speed 57600 not accepted                                       |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 593                         Product: Wine                    |
+ |       Status: UNCONFIRMED                 Version: 20020411                |
+ |   Resolution:                            Platform:                         |
+ |     Severity: normal                   OS/Version: All                     |
+ |     Priority: P1                        Component: wine-kernel             |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: wine-bugs at winehq.com                                         |
+ |  Reported By: wine at gc2.kloepfer.org                                        |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |    Milestone: TargetMilestone: ---                                         |
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Serial port speed 57600 and up are not accepted by Wine under FreeBSD.  The
+ logic for this was only placed into the code for Linux I/O.  The following
+ unified diff will duplicate that code into the non-Linux case as well.
+ (Note: This speed was needed for the Palm Hotsync application)
+ 
+ --- dlls/kernel/comm.c.ORIG     Fri Apr  5 16:53:57 2002
+ +++ dlls/kernel/comm.c  Sat Apr 20 11:28:07 2002
+ @@ -1045,6 +1045,26 @@
+                  case CBR_38400:
+                          port.c_ospeed = B38400;
+                          break;
+ +#ifdef B57600
+ +               case 57600:
+ +                       port.c_ospeed = B57600;
+ +                       break;
+ +#endif
+ +#ifdef B115200
+ +               case 115200:
+ +                       port.c_ospeed = B115200;
+ +                       break;
+ +#endif
+ +#ifdef B230400
+ +               case 230400:
+ +                       port.c_ospeed = B230400;
+ +                       break;
+ +#endif
+ +#ifdef B460800
+ +               case 460800:
+ +                       port.c_ospeed = B460800;
+ +                       break;
+ +#endif
+                  default:
+                          COMM_SetCommError(handle,IE_BAUDRATE);
+                          close( fd );
\ No newline at end of file



More information about the wine-bugs mailing list