Index: src/termios.c =================================================================== RCS file: /usr/local/cvsroot/rxtx-devel/src/termios.c,v retrieving revision 1.9.2.56 diff -u -r1.9.2.56 termios.c --- src/termios.c 16 Jan 2006 02:50:32 -0000 1.9.2.56 +++ src/termios.c 17 Mar 2006 12:43:45 -0000 @@ -551,7 +551,7 @@ report( "GetCommState\n" ); return( -1 ); } - dcb->BaudRate = CBR_9600 ; + dcb->BaudRate = CBR_14400 ; dcb->ByteSize = 8; dcb->Parity = NOPARITY; dcb->StopBits = ONESTOPBIT; @@ -770,7 +770,7 @@ if ( !ttyset ) return FALSE; memset( ttyset, 0, sizeof( struct termios ) ); - cfsetospeed( ttyset, B9600 ); + cfsetospeed( ttyset, CBR_14400 ); cfmakeraw( ttyset ); ttyset->c_cc[VINTR] = 0x03; /* 0: C-c */ ttyset->c_cc[VQUIT] = 0x1c; /* 1: C-\ */ @@ -1872,7 +1872,7 @@ void DCB_to_termios( DCB *dcb, struct termios *s_termios ) { ENTER( "DCB_to_termios" ); - s_termios->c_ispeed = CBR_to_B( dcb->BaudRate ); + s_termios->c_ispeed = CBR_14400; //CBR_to_B( dcb->BaudRate ); s_termios->c_ospeed = s_termios->c_ispeed; s_termios->c_cflag |= s_termios->c_ispeed & CBAUD; LEAVE( "DCB_to_termios" ); @@ -2345,6 +2345,8 @@ dcb.EvtChar = '\n'; else dcb.EvtChar = '\0'; + + dcb.BaudRate = CBR_14400; if ( !SetCommState( index->hComm, &dcb ) ) {