Date: Sun, 31 Dec 2000 10:00:43 -0500 (EST) From: "Stan Brown" <stanb@awod.com> To: freebsd-stable@FreeBSD.ORG (FreeBSD Stable Mailing List) Subject: Character loss on serial port input Message-ID: <20001231150046.15A6537B400@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
I am trying to set up a ssytem to recive characters on it's serial port. The machine in question is a lightly loaded P75 with 4.2 STABLE on it, and this for a UART: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A I have tried both hardware, adn xon/xoff handshaking, and if I stream characters at thie machine from anothe FreeBSD machine, I get major character loss. Originallly I was testing this with a perl script I jave written useing the Device::Serial module, but at this point, I have backed off to suing minixom, to eliminate programing errors on my part. If I place a 1/2 second delay after thetransmission of each line from the transmiting machine, the problem goes away. What's eve stranger, is that, without the delay, slower (ie 2400) baud rates, seem to miss more characters than fast ones! Even assuming that I have a problem in the wiring of my cable, such that hardware handshaking does not work, this should work with xon/xoff handshaking, right? The characters I am streaming are all 7 bit ASCII. Any sugestiosn? -- Stan Brown stanb@awod.com 843-745-3154 Charleston SC. -- Windows 98: n. useless extension to a minor patch release for 32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand for 1 bit of competition. - (c) 2000 Stan Brown. Redistribution via the Microsoft Network is prohibited. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001231150046.15A6537B400>