Hello,

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.

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

I believe we should upgrade to a more stable kernel...

On Mon, 3 Jan 2000, Jean-Marie Bussat wrote:

> 
> Hello Carlo,
> 
> I had a similar problem with SuSE 6.1. I had programs that were
> using the serial port and were working fine with 5.2 and not after
> the upgrade to 6.1.
> 
> It seems (this was a little bit hard to find and I'm not sure
> this is the real reason) that the serial port isn't initialized
> properly.
> 
> I found that running setserial by hand after being logged as
> root solves the problem (I'm using ttyS0 and I grabed the 
> corresponding line from /etc/init.d/serial). T tried to find a
> way to do that automatically a boot time but I didn't succeed.
> While I'm writing this e-mail, I'm wondering about something
> that could be done with Yast - as far as I remember, it seems
> that there is a menu used to configure serial port (Hmm, not
> sure...).
> 
> Try to run setserial by hand to check if it is the same problem
> as me.
> 
> Hope this helps.
> Regards,
>       Jean-Marie
> 

to the serial dongle of Carlo's machine I suppose that only the
manufacturer of the dongled software can help him (if there comes no
bugfix of the serial driver).

In the german computer magazine "c't" I read an interview with Alan Cox
where he noted a bug in the basic serial drivers which has been fix; but I
have no idea if that solves this problem.


Regards,
        Gerald Emig
        [EMAIL PROTECTED]


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

Reply via email to