Spy'ing characters sent to serial port.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

We have a machine connected to a modem using the serial port, and from
time to time, the modem complains the machine sent him a full 2K buffer
(in fact, 2047 bytes) which were already sent.

We've been investigating at the application level, using strace to 
monitor what is sent to the serial port, and at no time such a buffer is
sent.

This problem is occuring on a random basis, and attempts to reproduce
it in a test environment failed to date.

Is it possible to '(log|copy|...)' the chars that are sent on the
serial port to some other place (without altering too much the performance
of the machine, we are running the port a 9600bps), at the lowest level ?

Or is there a known issue of the serial port (or tty) buffer being 
resent on the line in some weird conditions ? Any change done on 
->head and ->tail handling that could fix that ?

This problem is with Linux 2.4.27 (I know 2.4.31 is out, but nothing 
related to that is present in the Changelog)

Regards,
Paul

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux