Ian McBride
2003-11-20 11:33:58 UTC
I am sending binary data into a Linux box through a serial port. The data
is received correctly EXCEPT that there are null characters (0's) inserted
into the stream, apparently by the driver, before it is retrieved by the
application. The configuration is no parity, 8 data bits, 1 stop bit, 38400
baud, and the kernel is 2.4.22 on a PIII machine. I know the kernel can
insert nulls prior to parity errors, and probably framing errors too, but I
am not running any parity and the subsequent character is always correct.
Any ideas?
is received correctly EXCEPT that there are null characters (0's) inserted
into the stream, apparently by the driver, before it is retrieved by the
application. The configuration is no parity, 8 data bits, 1 stop bit, 38400
baud, and the kernel is 2.4.22 on a PIII machine. I know the kernel can
insert nulls prior to parity errors, and probably framing errors too, but I
am not running any parity and the subsequent character is always correct.
Any ideas?