Date:   Thu, 6 Jan 2000 14:27:26 +0100 (CET)
   From: Gerald Emig <[EMAIL PROTECTED]>

   I had a similar problem with SuSE 6.2 when I ported a serial communication
   program which runs very stable under SuSE 5.3.
   What happend: from time to time the serial receiver was locked, that means
   no more characters could be received. 

   The program talks to a SIEMENS S5 plc over its programming device
   connector. Sometimes the SIMATIC sends a BREAK, and then the receiver
   locks!

   Checking your hint, Jean-Marie, I initialized the port manually; but no
   success.

   It semms to be a bug in the serial driver.

Do you have more proof that it's a bug in the serial driver?  It's not
clear to me what the dongle is doing, and I certainly don't have a
prayer of investigating and perhaps fixing a problem (if it exists)
given how much information you've given.

If you really think it's a serial driver problem, find the line

#undef SERIAL_DEBUG_INTR

and change the "#undeF" to a "#define" and then recompile and install
the serial driver.  

Do this for both an old kernel and a new kernel, and send me the traces
for both.  Oh, and send me a full set of the termios settings for the
port as well.

   The workaround which I did in my software was closing the port and open it
   again.

Hmm.... is the CLOCAL flag turned off, per chance, and the carrier
detect line dropping, forcing the a hangup condition?  That's what it
sounds like.  Why don't you enable SERIAL_DEBUG_HANGUP while you're at
it.

                                        - Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to