chat wrote "\rAT\r" to the modem, one character at a time, with
usleep(10000) between characters. In 2.0.37pre12 it then read from the modem
"\rAT\r\r\nOK" etc but in 2.2.9 just "\rAT\r" and nothing more.
It started working ok after I doubled the usleep. Why? (The modem did
receive the final \r also in 2.2.9 in case of usleep(10000) because it
echoed it. And in 2.0.X it works ok.)
It's a 486, 100 MHz. 16450, 115200 b/s to a USR Sportster Flash (V.90).
--- ppp-2.3.7/chat/chat.c.orig Wed Mar 31 15:27:14 1999
+++ ppp-2.3.7/chat/chat.c Tue May 25 00:43:32 1999
@@ -1149,7 +1149,7 @@
int status;
char ch = c;
- usleep(10000); /* inter-character typing delay (?) */
+ usleep(20000); /* inter-character typing delay (?) */
status = write(1, &ch, 1);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/