Comment 15 for bug 416126

Revision history for this message
Eugene Crosser (crosser) wrote :

You need this patch.
This does not fix the problem, which is wrong overall design of the "chatter" in the modem-manager. But it makes it work.

The problem is that the program tries to get responses from the modem, which is technically a serial device, by bulk reads, and hopes that one read will return one "response". This works sometimes, probably because the line discipline tries to clump consecutive bytes together, and completes the operation when no new bytes arrive for some milliseconds. However, in your case (and mine), PPP frames start to arrive instantly after CONNECT<CR><LF> and are consumed by the chatter as part of the response. So, the connect string is not the last thing in the buffer, and is not "noticed" by the program.